POST
/api/v1/auth/token
Obtain an access token using client credentials.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
client_id | string | Required | Your application client ID |
client_secret | string | Required | Your application client secret |
grant_type | string | Required | Must be "client_credentials" |
Response Fields
| Name | Type | Required | Description |
|---|---|---|---|
access_token | string | Optional | The bearer token to use in subsequent requests |
token_type | string | Optional | Always "Bearer" |
expires_in | integer | Optional | Token lifetime in seconds, default 3600 |
Example Response
{
"access_token": "eyJhbGciOi...",
"token_type": "Bearer",
"expires_in": 3600
}