Documentation
All pages
.md
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

StatusMeaning
200OK (also an idempotent replay)
201Created (order, verification)
202Accepted: the message was handed to WhatsApp
401Missing, wrong or revoked key
404Not found in your workspace
409Conflict with the current state
410Expired
422Invalid input or a missing prerequisite
429Rate limit, or too many tries
502Meta (WhatsApp) refused or was unreachable

Error codes

CodeStatusMeaning
api.unauthorized401Bad, revoked or missing API key, or inactive workspace
api.scope_missing403The key does not have the permission this call needs
api.ip_not_allowed403The key has an address list and this address is not on it
api.no_number422No connected WhatsApp number
window_closed409Free text outside the 24-hour window
idempotency.invalid422Bad Idempotency-Key
message.not_found404Unknown message id
template.not_found404Unknown template id
order.exists409order_id already used in this workspace
order.not_found404Unknown order id
order.closed409Order is cancelled, delivered or returned
order.no_template422No confirmation template chosen, or no connected number
pricing.unknown_market422Market name not in the price list
verify.no_template422No approved authentication template
verify.invalid_code422Wrong code (attempts_left in the body)
verify.too_many_attempts429Five wrong tries
verify.too_many_requests429Too many new codes for this number
verify.expired410The code's time ran out
verify.already_used409The code was already accepted
verify.not_found404Unknown verification id
meta.rejected502Meta refused the message (see message)
meta.undeliverable502The recipient cannot receive it (for example not on WhatsApp)
meta.rate_limited502Meta's own throttle. Retry later with the same Idempotency-Key.
meta.permission502The connected number lacks a permission
meta.invalid_token502The Meta connection must be renewed in the dashboard
meta.unreachable502Meta could not be reached. Retry later.

Rate limits

ScopeLimit
All endpoints600 requests per minute per IP and key window
POST /v1/messages120 per minute
POST /v1/verify/start60 per minute (and 5 new codes per number per 10 minutes)
POST /v1/verify/check120 per minute
POST /v1/orders120 per minute
POST /v1/orders/{id}/confirmation60 per minute
POST /v1/carts240 per minute
POST /v1/mcp120 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.