List API tokens
GET /api-tokens
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Comma-separated list of token IDs to filter by
Comma-separated list of token IDs to filter by
Filter tokens by team ID
Filter tokens by team ID
Comma-separated list of roles to filter by (admin, member, readonly)
Comma-separated list of roles to filter by (admin, member, readonly)
Filter by active status: true for active, false for revoked
Filter by active status: true for active, false for revoked
Page number for pagination (1-indexed)
Page number for pagination (1-indexed)
Number of results per page (1-100, default: 20)
Number of results per page (1-100, default: 20)
Field to sort results by
Field to sort results by
Sort direction: ascending or descending
Sort direction: ascending or descending
Responses
Section titled “ Responses ”API tokens retrieved successfully
object
Array of API tokens matching the query
object
Unique identifier for the API token (nanoid format)
ID of the team this token provides access to
Human-readable name for identifying this token
Prefix of the token for identification (e.g., ‘cat_tok_’)
Last 4 characters of the token for verification
Permission level: ‘admin’ (full access), ‘member’ (standard access), ‘readonly’ (read-only access)
ID of the user who created this token
When the token expires (ISO 8601), or null if no expiration
When the token was last used for an API request (ISO 8601)
Whether the token is active and can be used for authentication
When the token was created (ISO 8601)
When the token was last modified (ISO 8601)
Total number of tokens matching the query (before pagination)
Current page number
Number of results per page
Bad Request - Validation error or invalid input
object
Unauthorized - Authentication required or invalid token
object
Forbidden - Insufficient permissions