Rate limits and error codes

OctaDezx API rate limits: 60 requests a minute per API key, 30 AI turns a minute on the Agent API, messenger limits per IP and business, plus every error code and how to handle it.

Status: available. The OctaDezx API allows 60 requests a minute per API key on every key-authenticated endpoint, and Agent API turns share an extra bucket of 30 AI turns a minute per key. Messenger client endpoints allow 60 requests a minute per IP and 1200 per business. A 429 carries Retry-After in seconds, except usage_limit_reached, which lasts until the plan period resets. Every error body is { error, code } plus context, and errors after a customer message was stored include messageAccepted so you can read the conversation before resending.

Limits

ScopeLimitCode when exceeded
Each API key, every key-authenticated endpoint60 requests per minuterate_limited, Retry-After: 60
AI turns per API key (Agent API)30 per minuterate_limited, Retry-After: 60
Business message allowance (plan)Per billing period, shared with every channelusage_limit_reached, no Retry-After
Messenger client endpoints, per IP60 requests per minuterate_limited, Retry-After: 60
Messenger client endpoints, per business1200 requests per minuterate_limited, Retry-After: 60

Error codes

Back off for the Retry-After seconds. Do not retry a turn rejected for usage_limit_reached until the plan period resets or the plan is upgraded.

CodeHTTPMeaning
invalid_request400A field is missing or malformed.
unauthorized401Missing, invalid or revoked API key, or an unverified user on a client device route.
not_found404No such route, or the conversation belongs to another business.
conversation_user_mismatch409The conversation is bound to a different user. Start a new one.
rate_limited429See the limits above.
usage_limit_reached429The business's plan allowance is used.
server_error500Unexpected.
ai_unavailable503The AI turn failed. The customer message was recorded.
transcript_unavailable503The customer message write could not be confirmed.
service_unavailable503A dependency is unavailable.

Error body

{ "error": "Conversation not found for this business", "code": "not_found" }

Frequently asked questions

Keep reading

OctaDezx home · Pricing · Blog · Start free trial