Retrieve Access Token

This endpoint allows users to retrieve an access token using their OAuth client id and client secret. While it is recommended to authenticate by directly specifying the client id and client secret in the API call itself, this endpoint is designed primarily to test the token retrieval process or as an alternative if the preferred authentication method does not work.

Important Notes:

  • Protect your API keys; avoid exposing them in publicly accessible areas like client-side code or repositories.
  • All API calls must be made over HTTPS; calls over plain HTTP will not succeed.
  • Once obtained, the access token must be included in the Authorization header of subsequent API requests in the format: Bearer <access_token>.
Form Data
string
required
Defaults to client_credentials

Grant type for OAuth authentication. Must be set to 'client_credentials'.

string
required

Your OAuth client ID.

string
required

Your OAuth client secret.

Responses

400

Invalid request.

401

Unauthorized. Invalid client credentials.

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json