Get started

Going live

What changes with a live key, and what to check before your first real send.

A live key, starting ghala_live_, sends for real and is charged. The API, the bodies and the answers are the same as in test mode.

Before your first live send

  • Fund the wallet. A live send reserves its cost from your workspace's wallet before anything goes out. When the balance cannot cover it the answer is 402 insufficient_funds and nothing is sent. Owners and admins top up from the dashboard.
  • Use an approved sender ID for SMS, as in test mode.
  • Make a live key for each service, with only the scopes it needs. A key with no scopes can do nothing. Give it an expiry date if it is temporary.
  • Point your webhooks at HTTPS. In production an endpoint must be HTTPS on a public address.
  • Send an Idempotency-Key with every send, so a retry after a timeout never sends twice. See Idempotency.
  • Log X-Request-Id. Every answer carries one. Quote it when you contact us.

Keys in production

  • Keep keys on your servers. A key is never read from a query string, only from the Authorization or X-API-Key header.
  • Revoking a key takes effect at once. Make the new key first, deploy it, then revoke the old one.
  • Keys never manage keys, move money or change webhooks. Those stay with signed-in owners and admins, so a leaked key cannot mint more keys, spend on top-ups or redirect your events.
  • When a workspace is suspended, its keys stop authenticating.

Limits

Your workspace's keys share 600 requests a minute unless we have set another limit for you. Past it the answer is 429 rate_limited with Retry-After. See Rate limits.

On this page