Get a token — Partner API (PAPI)
PAPI tokens are JWTs bound to a dedicated API user, not to a human partner login. Create them from inside Partner.
Create a JWT token in Partner
- Sign in to Partner with your administrator credentials.
- Go to Administration → Users/Groups.
- Click New group, name it (e.g. "Token Group"), and grant it the permission "Can create their own Partner JWT tokens".
- Go to Administration → Users/Groups → API-tokens and create an API user — fill in the description and contact email.
- Assign the API user to both the Admin group and the new token group.
- Copy the JWT immediately. It is shown once and cannot be retrieved again.
Important
- The JWT is shown only once. Store it in your secrets manager before closing the dialog.
- Tokens are tied to the API user, not to a human partner login.
- Treat the token like a password — it grants the API user every permission on the assigned groups.
Use the token
Send the JWT in the Authorization header with a Bearer prefix:
Authorization: Bearer <your-jwt>The PAPI backend strips exactly the literal "Bearer " prefix; any other auth scheme or a too-short value results in a 500. The "Test Request" feature on the reference page auto-prepends Bearer if you paste only the JWT, but real clients (curl, Postman, your code) must include the prefix explicitly.