curl "https://app.talkover.ai/api/v1/user/api-tokens" \
-H "Authorization: Bearer your_user_session_token"
{
"data": [
{
"id": "token-uuid-1",
"name": "CI Pipeline",
"abilities": ["*"],
"last_used_at": "2024-01-15T18:00:00Z",
"created_at": "2024-01-01T10:00:00Z"
},
{
"id": "token-uuid-2",
"name": "Local Development",
"abilities": ["read"],
"last_used_at": null,
"created_at": "2024-01-10T09:00:00Z"
}
]
}
Account API
List User API Tokens
List the personal access tokens (PATs) for the current user
GET
/
api
/
v1
/
user
/
api-tokens
curl "https://app.talkover.ai/api/v1/user/api-tokens" \
-H "Authorization: Bearer your_user_session_token"
{
"data": [
{
"id": "token-uuid-1",
"name": "CI Pipeline",
"abilities": ["*"],
"last_used_at": "2024-01-15T18:00:00Z",
"created_at": "2024-01-01T10:00:00Z"
},
{
"id": "token-uuid-2",
"name": "Local Development",
"abilities": ["read"],
"last_used_at": null,
"created_at": "2024-01-10T09:00:00Z"
}
]
}
List User API Tokens
List the personal access tokens (PATs) associated with the current user. PATs are user-scoped, distinct from environment tokens which are scoped to a specific environment.This endpoint is part of the Account API and is authenticated with a user session token, not an environment token.
Endpoint
GET /api/v1/user/api-tokens
Request headers
string
required
User session token. Format:
Bearer <user_session_token>.Examples
curl "https://app.talkover.ai/api/v1/user/api-tokens" \
-H "Authorization: Bearer your_user_session_token"
Response
{
"data": [
{
"id": "token-uuid-1",
"name": "CI Pipeline",
"abilities": ["*"],
"last_used_at": "2024-01-15T18:00:00Z",
"created_at": "2024-01-01T10:00:00Z"
},
{
"id": "token-uuid-2",
"name": "Local Development",
"abilities": ["read"],
"last_used_at": null,
"created_at": "2024-01-10T09:00:00Z"
}
]
}
Notes
- Token values are never returned by this endpoint — only metadata. The full token string is shown only once, when the token is created.
Was this page helpful?