Lists the caller's scoped automation tokens, newest first, with label, scopes, last use, expiry and revoked flag. Token values are never returned, and legacy tokens are not listed.
GET
/auth/tokens
curl \
--request GET 'http://api.example.com/auth/tokens' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"label": "Intake automation",
"scopes": [
"cases:create",
"codes:create"
],
"lastUsed": "2026-01-15T14:30:00.000Z",
"validTill": "2027-01-15T14:30:00.000Z",
"isRevoked": false
}
],
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}