Access Token
Request an access token
Changed onObtain a Bearer token using OAuth 2.0 client credentials. Send either (1) JSON body with client_id, client_secret, and grant_type, or (2) application/x-www-form-urlencoded body with grant_type=client_credentials and Basic Auth header (Client ID as username, Client Secret as password). Tokens expire after 24 hours.
post/oauth/token
Request
- Base URL/ (relative, and the document’s source URL is not known)
- URL/oauth/token
- Auth
- none
- or HTTP basic
Request body
(unresolved $ref)
Response
Created
Example response
{
"token_type": "Bearer",
"expires_in": 86400,
"access_token": "2YotnFZFEjr1zCsicMWpAA"
}Changes
- info
endpoint added
- info