Built and tested. The public service opens with the platform launch; until then API keys are not issued to customers.
Errors and limits
Errors are JSON with a machine-readable code and a human message:
{ "code": "window_closed", "message": "The 24-hour window is closed. Send an approved template instead." }
Validation errors (422) use the standard shape: { "message": "...", "errors": { "to": ["..."] } }.
Status codes
Status
Meaning
200
OK (also an idempotent replay)
201
Created (order, verification)
202
Accepted: the message was handed to WhatsApp
401
Missing, wrong or revoked key
404
Not found in your workspace
409
Conflict with the current state
410
Expired
422
Invalid input or a missing prerequisite
429
Rate limit, or too many tries
502
Meta (WhatsApp) refused or was unreachable
Error codes
Code
Status
Meaning
api.unauthorized
401
Bad, revoked or missing API key, or inactive workspace
api.scope_missing
403
The key does not have the permission this call needs
api.ip_not_allowed
403
The key has an address list and this address is not on it
api.no_number
422
No connected WhatsApp number
window_closed
409
Free text outside the 24-hour window
idempotency.invalid
422
Bad Idempotency-Key
message.not_found
404
Unknown message id
template.not_found
404
Unknown template id
order.exists
409
order_id already used in this workspace
order.not_found
404
Unknown order id
order.closed
409
Order is cancelled, delivered or returned
order.no_template
422
No confirmation template chosen, or no connected number
pricing.unknown_market
422
Market name not in the price list
verify.no_template
422
No approved authentication template
verify.invalid_code
422
Wrong code (attempts_left in the body)
verify.too_many_attempts
429
Five wrong tries
verify.too_many_requests
429
Too many new codes for this number
verify.expired
410
The code's time ran out
verify.already_used
409
The code was already accepted
verify.not_found
404
Unknown verification id
meta.rejected
502
Meta refused the message (see message)
meta.undeliverable
502
The recipient cannot receive it (for example not on WhatsApp)
meta.rate_limited
502
Meta's own throttle. Retry later with the same Idempotency-Key.
meta.permission
502
The connected number lacks a permission
meta.invalid_token
502
The Meta connection must be renewed in the dashboard
meta.unreachable
502
Meta could not be reached. Retry later.
Rate limits
Scope
Limit
All endpoints
600 requests per minute per IP and key window
POST /v1/messages
120 per minute
POST /v1/verify/start
60 per minute (and 5 new codes per number per 10 minutes)
POST /v1/verify/check
120 per minute
POST /v1/orders
120 per minute
POST /v1/orders/{id}/confirmation
60 per minute
POST /v1/carts
240 per minute
POST /v1/mcp
120 per minute
Over the limit you get 429. Wait and retry; on POST /v1/messages always send an Idempotency-Key so a retry cannot send twice.
Retry advice
5xx and meta.unreachable / meta.rate_limited: retry with growing waits.
4xx (except 429): fix the request; retrying will not help.
# Errors and limits
Errors are JSON with a machine-readable `code` and a human `message`:
```json
{ "code": "window_closed", "message": "The 24-hour window is closed. Send an approved template instead." }
```
Validation errors (`422`) use the standard shape: `{ "message": "...", "errors": { "to": ["..."] } }`.
## Status codes
| Status | Meaning |
|---|---|
| 200 | OK (also an idempotent replay) |
| 201 | Created (order, verification) |
| 202 | Accepted: the message was handed to WhatsApp |
| 401 | Missing, wrong or revoked key |
| 404 | Not found in your workspace |
| 409 | Conflict with the current state |
| 410 | Expired |
| 422 | Invalid input or a missing prerequisite |
| 429 | Rate limit, or too many tries |
| 502 | Meta (WhatsApp) refused or was unreachable |
## Error codes
| Code | Status | Meaning |
|---|---|---|
| `api.unauthorized` | 401 | Bad, revoked or missing API key, or inactive workspace |
| `api.scope_missing` | 403 | The key does not have the permission this call needs |
| `api.ip_not_allowed` | 403 | The key has an address list and this address is not on it |
| `api.no_number` | 422 | No connected WhatsApp number |
| `window_closed` | 409 | Free text outside the 24-hour window |
| `idempotency.invalid` | 422 | Bad `Idempotency-Key` |
| `message.not_found` | 404 | Unknown message id |
| `template.not_found` | 404 | Unknown template id |
| `order.exists` | 409 | `order_id` already used in this workspace |
| `order.not_found` | 404 | Unknown order id |
| `order.closed` | 409 | Order is cancelled, delivered or returned |
| `order.no_template` | 422 | No confirmation template chosen, or no connected number |
| `pricing.unknown_market` | 422 | Market name not in the price list |
| `verify.no_template` | 422 | No approved authentication template |
| `verify.invalid_code` | 422 | Wrong code (`attempts_left` in the body) |
| `verify.too_many_attempts` | 429 | Five wrong tries |
| `verify.too_many_requests` | 429 | Too many new codes for this number |
| `verify.expired` | 410 | The code's time ran out |
| `verify.already_used` | 409 | The code was already accepted |
| `verify.not_found` | 404 | Unknown verification id |
| `meta.rejected` | 502 | Meta refused the message (see `message`) |
| `meta.undeliverable` | 502 | The recipient cannot receive it (for example not on WhatsApp) |
| `meta.rate_limited` | 502 | Meta's own throttle. Retry later with the same `Idempotency-Key`. |
| `meta.permission` | 502 | The connected number lacks a permission |
| `meta.invalid_token` | 502 | The Meta connection must be renewed in the dashboard |
| `meta.unreachable` | 502 | Meta could not be reached. Retry later. |
## Rate limits
| Scope | Limit |
|---|---|
| All endpoints | 600 requests per minute per IP and key window |
| `POST /v1/messages` | 120 per minute |
| `POST /v1/verify/start` | 60 per minute (and 5 new codes per number per 10 minutes) |
| `POST /v1/verify/check` | 120 per minute |
| `POST /v1/orders` | 120 per minute |
| `POST /v1/orders/{id}/confirmation` | 60 per minute |
| `POST /v1/carts` | 240 per minute |
| `POST /v1/mcp` | 120 per minute |
Over the limit you get `429`. Wait and retry; on `POST /v1/messages` always send an `Idempotency-Key` so a retry cannot send twice.
## Retry advice
- `5xx` and `meta.unreachable` / `meta.rate_limited`: retry with growing waits.
- `4xx` (except `429`): fix the request; retrying will not help.