Skip to main content

Get My Tokens

GET /v2/auth/api-token/my

Retrieves a list of authorization tokens associated with the authenticated user. This endpoint is typically used to review existing active tokens or API credentials for the user’s session. Each token includes identifying metadata, expiration status, and creation timestamps.

Response Example

{
"data": [
{
"_id": "token-db-id-1",
"name": "Example Token",
"hash": "<hashed-token-placeholder>",
"expiration": null,
"userId": "user-id-1",
"tenant": "tenant-id-1",
"isExpirable": false,
"created": "2025-10-20T10:38:32.101Z",
"updated": "2025-10-20T10:38:32.101Z",
"__v": 0,
"id": "token-db-id-1"
}
],
"meta": {
"total": 1
}
}