Authentication
List the API tokens of a workspace.
Changed onReturns the workspace's own keys plus any legacy keys that were created before keys were bound to a workspace (those still work everywhere, so hiding them would leave the user unable to find and revoke them).
get/api/external/v1/get-api-tokens
Request
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
workspace_idinteger required
The workspace to list keys for.
Example:55
Response
Example response
{
"tokens": [
{
"id": "9f1c...",
"name": "Zapier production",
"created_at": "2026-08-16T10:00:00.000000Z",
"last_used_at": "2026-08-25T09:12:00.000000Z",
"created_by": "Jane Doe"
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
added the new required
queryrequest parameterworkspace_id - breaking
removed the request body
- info
api operation id
getApiExternalV1GetApiTokensremoved and replaced withlistTheAPITokensOfAWorkspace - info
api tag
Authenticationadded - info
api tag
Endpointsremoved - info
added the non-success response with the status
- info
added the success response with the status
- breaking