cURL
curl --request GET \ --url http://sandbox.mintlify.com/oauth/apps/{clientId}/tokens \ --header 'Authorization: Bearer <token>'
⚠️ SECURITY: Lists all active tokens for an OAuth application. Only OWNERS and ADMINS can view tokens. Useful for auditing and token management.
clientId
curl -X GET http://localhost:3001/api/oauth/apps/app_1234567890abcdef/tokens \ -H "Authorization: Bearer <token>"
[ { "id": "token_1234567890abcdef", "userId": "550e8400-e29b-41d4-a716-446655440000", "scopes": ["read:user", "read:organization"], "expiresAt": "2025-01-27T10:00:00Z", "createdAt": "2025-01-26T10:00:00Z", "lastUsedAt": "2025-01-26T15:30:00Z" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Tokens retrieved successfully. Returns array of tokens with scopes, expiration, and usage info.