GET /2023-03-01/management/tokens
curl \
-X GET https://api.affixapi.com/2023-03-01/management/tokens \
-H "Authorization: $API_KEY"
Response examples (200)
[
{
"token": "00000000-00000000-00000000-00000000",
"scopes": [
"/2023-03-01/payroll/employees",
"/2023-03-01/payroll/identity",
"/2023-03-01/payroll/payruns",
"/2023-03-01/payroll/payruns/:payrun_id"
],
"created_at": "2023-08-09T08:09:40.724Z",
"mode": "xhr",
"provider": "sandbox",
"valid": true
}
]
Response examples (400)
{
"message": "string",
"validation_error": "string"
}
Response examples (404)
{
"message": "string",
"id": "string"
}
Response examples (409)
{
"code": "string",
"token": "string",
"error": "conflict"
}
Response examples (429)
# Headers
Retry-After: 42
# Payload
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}