cURL
curl --request POST \ --url https://app.sphinxhq.com/api/oauth/token/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "client_secret": "<string>", "grant_type": "client_credentials" } '
{ "access_token": "<string>", "token_type": "<string>", "expires_in": 123 }
Exchange client_id + client_secret for a short-lived Bearer access token.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
client_credentials
Was this page helpful?