Errors and limits
Error envelope, common codes, and rate limits.
Error envelope
{
"success": false,
"error": { "code": "VALIDATION_ERROR", "message": "…", "details": {} },
"timestamp": "2026-11-02T00:00:00.000Z"
}details may carry recovery hints such as nextStep or nextRequest. Read them before retrying.
| HTTP | Meaning | What to do |
|---|---|---|
| 400 | Bad request | Fix the body or query parameters. |
| 422 | Validation or recipient lookup failed | For RECIPIENT_LOOKUP_FAILED, check the number with check-exists and send to its chatId. Do not resend automatically. |
| 401 | Missing or invalid credential | Check the token or key. |
| 402 | CHANNEL_SUBSCRIPTION_REQUIRED: free-tier monthly limit hit, or the paid period ended | Upgrade the session in the console. |
| 403 | Not your session, session allowance reached, or a session token used where an account key is needed | Use an owned session; for the allowance, reuse one from error.details.availableSessions or upgrade one in the console. To create sessions, use your account key. |
| 404 | Unknown session or resource | List sessions and use data.name. |
| 409 | Session is in a state that does not allow this | Check status. |
| 429 | Rate limited | Honour Retry-After. |
| 500–504 | API or messaging-service failure | Save the X-Request-Id header. Check delivery before retrying; an error does not prove the message was not sent. |
Rate limits
Each session has a per-minute request limit and, on the free tier, a monthly request allowance. Paid sessions get a higher per-minute limit. Current numbers are on the pricing page.
Short-window limits return 429 with a Retry-After header (seconds). Wait that long, or back off with exponential delay and jitter. Running out of the monthly allowance returns 402 and does not recover by retrying.
Send requests have no idempotency key. After an uncertain send outcome, check delivery (the message.ack webhook or message history) before sending again, so recipients do not get duplicates.
Include the X-Request-Id response header and the timestamp when you contact support.
Every error tells you what to do
Error responses from the API carry three extra fields next to message:
request_id: quote this when you email support; it finds your exact request.hint: the next step in plain English.docs: a link back to this page.
| Situation | What it means | Fix |
|---|---|---|
400 VALIDATION_ERROR | A field in your request was rejected. details.errors names it. | Fix the named field. Phone numbers are digits with the country code, for example 2349012345678. |
422 RECIPIENT_LOOKUP_FAILED | WhatsApp could not find the recipient. | Check the number with GET /v1/contacts/check-exists, then retry once. |
| 409 session not connected | Your channel is not linked to WhatsApp. | Scan the QR code in the dashboard, then retry. |
500 INTERNAL_ERROR | A failure on our side. | Retry once. If it repeats, email support with the request_id. |