Creates an access token

To generate an access token, make a request to one of the following:

  • Production Environment: https://oauth2.sikoia.com
  • Staging Environment: https://oauth2-staging.sikoia.com

Ensure that the following parameters are provided:

  • client_id: See our Guides section for more information on how to obtain your client_id.
  • client_secret: See our Guides section for more information on how to obtain your client_secret.
  • grant_type: Set this parameter to client_credentials.
  • scope: Set this parameter to:
    • Production Environment: https://api.sikoia.com/.default
    • Staging Environment: https://api-staging.sikoia.com/.default

The endpoint will return the access token in JSON Web Token (JWT) format, along with metadata indicating its expiry and validity.

Form Data

Token request

string
required

The type of Oauth 2.0 grant. Must be set to client_credentials

string
required

The scope of the token. Must be set to https://api.sikoia.com/.default for production and https://api-staging.sikoia.com/.default for staging

uuid
required

The client ID of your application

string
required

The client secret that you created for your application

Responses

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