🔓 PUBLIC ENDPOINT: Generates an OAuth2 access token using client credentials flow. Requires valid client_id and client_secret. Token scopes are validated against application configuration. Rate limit: 10 requests per minute.
| Field | Type | Required | Description |
|---|---|---|---|
clientId | string | Yes | Client ID of the OAuth application |
clientSecret | string | Yes | Client secret of the OAuth application |
scopes | array | Yes | OAuth scopes requested |
userId | string | No | User ID for user-specific tokens |
Client ID of the OAuth application
"app_1234567890abcdef"
Client secret of the OAuth application
"cs_1234567890abcdef"
OAuth scopes requested
["read:organization"]User ID for user-specific tokens
"550e8400-e29b-41d4-a716-446655440000"
Access token generated successfully. Returns token, type (Bearer), expiration time, and granted scopes.