Skip to main content
POST
/
api
/
oauth
/
api-token
Create Api Token
curl --request POST \
  --url https://api.example.com/api/oauth/api-token \
  --header 'Authorization: Bearer <token>'
{
  "api_token": "<string>",
  "token_type": "bearer",
  "expires_in": 3600
}

Authorizations

Authorization
string
header
required

base64(client_id:secret_key)

Response

OK

Response of Api Token

api_token
string
token_type
string
default:bearer
expires_in
integer
default:3600

expires_in in seconds