Getting started
Authentication
Every request is authenticated with an API key from your dashboard.
Send the key
Put the key in the X-API-Key header, or send it as Authorization: Bearer <key>.
X-API-Key: YOUR_API_KEY Content-Type: application/json
Test and live keys
- • Test keys are free and have lower rate limits: use them while you build.
- • Live keys spend credits: use them in production.
- • Create, rotate and revoke keys in Dashboard → API keys.
Keep the key secret
Call the API from your server only. Websites and mobile apps should call your own backend, which then calls us: browsers on other sites are blocked (CORS), so a key in front-end code would not work and would leak. Keys are stored hashed and shown only once.
Rotate a key
Rotating issues a new key while the old one keeps working for a short grace period, so you can switch your servers without downtime. Revoking stops a key immediately.