Get Bearer Token

Exchange credentials for an bearer token.

Request
Request Body schema: application/json
required
client_id
required
string
client_secret
required
string
grant_type
required
string (AccessGrantType)
Value: "client_credentials"
scope
Array of strings (AccessScopes)
Items Enum: "service-provider:read" "service-provider:write" "crb:read" "point-of-sale:read" "point-of-sale:write" "trace" "admin"
Responses
200

Ok

401

Unauthorized

403

Forbidden

404

Not Found

422

Validation Failed

post/auth/token
Request samples
application/json
{
  • "client_id": "string",
  • "client_secret": "string",
  • "grant_type": "client_credentials",
  • "scope": [
    ]
}
Response samples
application/json
{
  • "access_token": "string",
  • "token_type": "Bearer",
  • "scope": [
    ],
  • "expires_at": 0,
  • "client_id": "string",
  • "issued_at": 0
}