*/*

Body

string string

Responses

  • 200 application/json

    OK

  • 401 application/json

    Unauthorized

POST /oauth/token
curl \
 --request POST 'https://api.staging.deliverect.com/oauth/token' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: */*"
Request example
{
  "audience": "https://api.deliverect.com",
  "client_id": "{{clientId}}",
  "grant_type": "token",
  "client_secret": "{{clientSecret}}"
}
Response examples (200)
{
  "scope": "genericPOS provisioning",
  "expires_at": 1620899002,
  "token_type": "Bearer",
  "access_token": "ey**-**-Q"
}
Response examples (401)
{
  "error": "access_denied",
  "error_description": "Unauthorized"
}