Authorization header on every request:
Key types
Spotzee issues three API key types, each with a different prefix and scope.Choosing a key
- Server backend
- Browser or mobile app
- Cross-project automation
Use a
sk_ project key. It can call every endpoint in the project surface and is the primary integration path for sync, automation, and admin scripts.Surfaces
Each key type maps to a base URL.
Sending a key to the wrong surface returns
401 authentication_required.
Rotate a key
1
Mint the replacement
Generate a new key in Settings → API keys.
2
Roll the new key out
Update your integration to use the new key. Both keys are valid during the cutover window.
3
Revoke the old key
Confirm traffic on the new key, then revoke the old one. Revoked keys return
401 authentication_required immediately.Errors
Next steps
Versioning
Pin a date-based release.
Rate limits
Per-key budgets and headers.
Idempotency
Make retries safe.
Errors
Status codes and the
code catalogue.