Skip to main content
POST
/
api
/
partners
/
v2.0
/
auth
/
token
Token
curl --request POST \
  --url https://api.example.com/api/partners/v2.0/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "grant_type": "password",
  "username": "<string>",
  "password": "<string>",
  "refresh_token": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_in": 123,
  "token_type": "<string>",
  "scope": "<string>",
  "refresh_token": "<string>"
}

Body

application/json
grant_type
enum<string> | null
required
Available options:
password,
refresh_token
username
string | null
password
string | null
refresh_token
string | null

Response

200 - application/json

OK

access_token
string
required
expires_in
integer
required
token_type
string
required
scope
string
required
refresh_token
string
required