Skip to main content
POST
/
v2
/
token
Login For Access Token
curl --request POST \
  --url https://api.loyalty.dog/v2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'username=<string>' \
  --data 'password=<string>' \
  --data 'grant_type=<string>' \
  --data scope= \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{
  "accessToken": "<string>",
  "tokenType": "bearer",
  "mfaPending": false,
  "pendingToken": "<string>"
}

Body

application/x-www-form-urlencoded
username
string
required
password
string<password>
required
grant_type
string | null
Pattern: ^password$
scope
string
default:""
client_id
string | null
client_secret
string<password>

Response

Successful Response

accessToken
string | null
tokenType
string
default:bearer
mfaPending
boolean
default:false
pendingToken
string | null