Skip to main content

Obtain an access token

Obtain a new OAuth 2.0 access token using an OAuth 2.0 client ID/secret pair.

Request Body
    oneOf

  • scope string

    List of OAuth2 scopes, delimited with spaces.

  • grant_type string required

    Possible values: [client_credentials, authorization_code, refresh_token]

Responses

OK


Schema
    oneOf

  • access_token string
  • expires_in integer

    Number of seconds until the token expires.

  • scope string

    List of OAuth2 scopes, delimited with spaces.

  • token_type string

    Possible values: [bearer]