Get OAuth2 token
Get an OAuth2 access token via Client Credentials flow
Body·
required
application/json
What the client sends (V1 shape).
- Type: stringclient
_id required - Type: stringclient
_secret required - Type: stringgrant
_type
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/oauth/token
curl /oauth/token \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"client_id": "",
"client_secret": "",
"grant_type": "client_credentials"
}'
{
"access_token": "...",
"expires_in": 31536000,
"token_type": "Bearer"
}