cURL
curl --request POST \ --url https://api.example.com/oauth/token \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "client_id": "<string>", "client_secret": "<string>" } '
{ "access_token": "<string>", "expires_in": "<string>", "token_type": "<string>" }
Endpoint used for creating of token
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Token created successfully