Skip to main content

List download tokens

Returns the download tokens of the apps the requester may edit. Token values are never returned — only a non-secret prefix to identify them.

Endpoint

GET /download-tokens/list

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Requires permission to edit apps. A team user sees only tokens of the apps in their allowed list.

Example Request

curl --location 'http://localhost:9000/download-tokens/list' \
--header 'Authorization: Bearer <jwt_token>'

Response

Success Response (200 OK)

{
"download_tokens": [
{
"id": "68cc0a1e9b5f2d0f4c1a7b21",
"app_id": "66ae13fe5b663c058367f893",
"app_name": "secondapp",
"channel_id": "66fea051c57c81dff9a0f38d",
"channel_name": "stable",
"token_prefix": "fnd_3f9c2a7e",
"updated_at": "2026-09-18T14:39:16.233Z"
}
]
}

Response Fields

FieldTypeDescription
download_tokensarrayToken objects, most recently updated first

Token Object Fields

FieldTypeDescription
idstringToken identifier
app_idstringApp the token is scoped to
app_namestringName of that app
channel_idstringChannel the token is scoped to
channel_namestringName of that channel; omitted for a token without a channel
token_prefixstringNon-secret prefix for identification
updated_atstringWhen the token was created or last rotated

Notes