Page cover

๐Ÿ”ฅToken

This API uses OAuth 2.0 as the first access to get an API response. OAuth 2.0 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service.

This documentation assumes you are already familiar with OAuth2. If you do not know anything about OAuth2, consider familiarizing yourself with the general terminology and features of OAuth2.

Access Token

POST /oauth/token

This /oauth/token route will return a JSON response containing access_token, refresh_token, and expires_in attributes. The expires_in attribute contains the number of seconds until the access token expires.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

grant_type

string

default : "client_credentials"

client_id

string

client id will be send separately

client_secret

string

client secret will be send separately

Response

{
    "grant_type" : "client_credentials",
    "client_id" : "",
    "client_secret" : ""
}

The access_token mandatory to used in the request header in every request that is called.

Last updated