Skip to main content

OAuth 2 Bearer Token

POST 

/api/token

OAuth 2 Bearer Token.

Request

Header Parameters

    Authorization stringrequired

    Basic authorization header containing client_id and client_secret encoded in base64

Body

required
    grant_type stringrequired

    Possible values: [client_credentials]

    OAuth2 grant type

    scope stringrequired

    The requested scopes for the token

Responses

Successfully generated token

Schema
    access_token string

    The generated access token

    expires_in integer

    Time in seconds until the token expires

    token_type string

    Type of the token, usually 'bearer'

    scope string

    Scopes associated with the token

Loading...