Getting an API key
API keys are managed in your ClassQuill organisation settings:- Log in to ClassQuill as an org owner or admin
- Go to Settings → Developers
- Click Create new key, give it a name (e.g. “Xero integration”), and optionally set an expiry date
- Copy the key — it is shown only once and cannot be retrieved again
Using your API key
Include the key in theAuthorization header of every request:
Example request
Example response
Key format
All ClassQuill API keys start withei_live_ followed by 64 hex characters:
Scopes & permissions
Every key is granted one or more scopes when you create it, which control what it can do:
New keys are read-only by default — grant a write scope only when an integration needs to change data. A request to a write endpoint with a read-only key returns
403.
Key security
- Keys are stored as SHA-256 hashes — even ClassQuill cannot retrieve the raw key after creation
- Keys are scoped to your organisation — they cannot access another org’s data
- If a key is compromised, revoke it immediately in Settings → Developers
Key rotation
To rotate a key without downtime:- Create a new key in settings
- Update your integration to use the new key
- Verify the integration is working with the new key
- Revoke the old key