Skip to navigation

Get API tokens

View as Markdown

Retrieves all API tokens that exist in the Unleash instance. Use appName to get only the tokens linked to an application.

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Query parameters

appNamestringOptionalformat: "^IS:.+$"

Filter by the name of the application the tokens are linked to, using supported operators: IS. Everything after IS: is one exact, case-sensitive application name, including any commas or spaces. Percent-encode the value (for example with encodeURIComponent), since a + is read as a space. Only user-created tokens linked to that application are returned, so legacy (v1) and unlinked tokens never match. An unknown application returns an empty list.

Response

apiTokensSchema
tokenslist of objects
A list of Unleash API tokens.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error