Authorization header on every request:
Where keys live
API keys are issued at the organisation level and scoped to one or more projects. Generate a key in the Spotzee app under Settings → API keys.Key scopes
| Scope | Purpose |
|---|---|
read | Read-only access to contacts, segments, journeys, campaigns |
write | Read + write for the same resources |
secret | Full read + write, including export/import and webhook configuration |
Main API vs Extended API
- The Main API (
apix.spotzee.com/api/client) accepts organisation-scoped API keys. - The Extended API (
app.spotzee.com/api/ext) accepts the same API keys — Spotzee resolves which surface owns the requested resource.
Errors
A missing or invalid token returns401 Unauthorized. A valid token without sufficient scope returns 403 Forbidden. See the per-tab error reference: Main API errors, Extended API errors.
Next
Main API reference
All endpoints, request/response shapes.
Extended API reference
Edge utilities and validation.