Skip to main content
POST
/
oauth
/
token
Generate Access Token
curl --request POST \
  --url 'https://{{auth0domain}}/oauth/token' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "audience": "<string>",
  "grant_type": "<string>"
}
'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123
}
Enter your client_id and client_secret to receive a short-lived Bearer token. Tokens are valid for 24 hours — cache and reuse them instead of requesting a new one per API call.
client_id
string
required
The client_id issued when you created your API key.
client_secret
string
required
The client_secret issued when you created your API key.
audience
string
required
The API audience identifier. Use https://api-next.dealroom.co.
grant_type
string
required
Must be client_credentials.
access_token
string
Bearer token to include in the Authorization header of all API requests.
token_type
string
Always Bearer.
expires_in
number
Token lifetime in seconds (typically 86400 — 24 hours).
Copy the access_token from the response and paste it into the Bearer token field in the API Reference playground. It will be applied to all requests automatically.