v51

latestSwagger 2.0AGPL-3.0-or-laterraw.githubusercontent.com2026-08-0116998415.7 KB
api

Get all api tokens of the current user

Returns all api tokens the current user has created.

get/tokens

Query parameters

pageinteger

The page number, used for pagination. If not provided, the first page of results is returned.

per_pageinteger

The maximum number of tokens per page. This parameter is limited by the configured maximum of items per page.

sstring

Search tokens by their title.

Response

The list of all tokens

createdstring

A timestamp when this api key was created. You cannot change this value.

expires_atstring

The date when this key expires.

idinteger

The unique, numeric id of this api key.

owner_idinteger

The user ID of the token owner. When creating a token for a bot user, set this to the bot's ID. If omitted, defaults to the authenticated user.

permissionsModelsAPIPermissions
titlestring

A human-readable name for this token

tokenstring

The actual api key. Only visible after creation.