Chargetree API
REST APIs and webhooks for invoicing, contacts, escalations and partner account provisioning.
Chargetree has two external APIs. Which one you want depends on whose invoices you are raising.
Public API
Raise and manage invoices inside a single Chargetree account. This is what most integrations need.
Partner API
Create and manage Chargetree accounts on behalf of your own customers. For platforms embedding Chargetree.
At a glance
| Base URL | https://manage.chargetree.co/api/v1 |
| Format | JSON over HTTPS |
| Authentication | Bearer token in the Authorization header |
| Request quotas | 120 reads and 30 writes per minute, per key |
| Safe retries | Optional Idempotency-Key header on invoice and contact creation |
Two separate key spaces
The two APIs share a URL prefix for tidiness, but they are genuinely separate doors:
- An account key (
ct_live_…) acts inside one Chargetree account. It can raise invoices, manage contacts and read escalations. - A partner key (
ct_partner_…) manages account records. It cannot act inside any account.
Neither key opens the other's endpoints. If you present the wrong one you get a 401, not a partial result.
Server-to-server only
These APIs send no CORS headers, so they cannot be called from a browser. Calls must come from your own backend, where your key stays secret. This is also why the reference pages here show code samples rather than a live "try it" button: we would rather your production key never passed through our documentation site.