Errors and limits
Status codes
| Status | Meaning |
|---|---|
| 200, 201 | Success. |
| 400 | The request is missing a field or has an invalid value. |
| 401 | The API key is missing, wrong or revoked. |
| 403 | The API is not part of your plan, or the channel you asked for is not. |
| 404 | The agent, contact or ticket does not exist in your organization. |
| 409 | The action is not possible right now, for example a closed messaging window. |
| 413 | The message is too long. |
| 429 | Too many requests. Slow down and retry. |
Errors have the shape { "error": "message" }, and some add a code you can match on.
Rate limits
- 120 requests per minute per organization.
- 30 emails per hour per organization through the send endpoint.
- 60 messages per hour per organization on WhatsApp, Instagram and Messenger.
Keys
Keys belong to your organization, not to a person. Revoke a key in Settings > API and create a new one. Revoked keys stop working immediately.