Skip to main content

Create an access token

POST 

/api/auth/token

Exchanges a partner's clientId, clientSecret, and partnerId for a short-lived JWT access token. The returned token must be sent as a Bearer token in the Authorization header of subsequent requests.

Request

Body

required

    clientId stringrequired
    clientSecret stringrequired
    partnerId stringrequired
    scope stringrequired

    Possible values: Value must match regular expression admin|user

Responses

Token issued successfully

Schema

    access_token string
    token_type string
    expires_in int32
    partner_id string
    scope string
Loading...