v1
latestSwagger 2.02026-08-0484141342.3 KBAuthentication
# Getting access token for endpoints
OAuth2 protocol is used to authorize Refresh/Access tokens. To obtain the API, you should generate a refresh token and then request an access token using the /v1/auth/token endpoint. The refresh token will be valid for 6 months, whereas the access token will be available for 2 hours. After getting the access token, add Authorization: Bearer {accessToken} to the header to request access to the below endpoints.
post/v1/auth/token
Request body
Example request
{
"refresh_token": "access_token (Getting from Settings / API Token / Generate Token)"
}Response
AuthTokenResponse
Example response
{
"expire_at": 1650875751,
"token": "access_token"
}