Skip to main content
POST
Generate OAuth access token

Body

application/json
clientId
string
required

Client ID of the OAuth application

Example:

"app_1234567890abcdef"

clientSecret
string
required

Client secret of the OAuth application

Example:

"cs_1234567890abcdef"

scopes
array[]
required

OAuth scopes requested

Example:
userId
string

User ID for user-specific tokens

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Access token generated successfully. Returns token, type (Bearer), expiration time, and granted scopes.