Skip to content
Quarters Developers
esc
  • Type an endpoint, an object or a word from a guide.

Object

TokenRequest

The form posted to the token endpoint. HTTP Basic with client_id:client_secret is accepted in place of the two fields, and so is the same form as a JSON object.

Fields

FieldTypeDescription
grant_type required"client_credentials"Always client_credentials.
client_id requiredstringThe client ID from Settings › Integrations, e.g. qc_…
client_secret requiredstringThe secret shown once when the credentials were created, e.g. qs_…

Used by

Example

{
  "grant_type": "client_credentials",
  "client_id": "qc_YOUR_CLIENT_ID",
  "client_secret": "qs_YOUR_CLIENT_SECRET"
}