Skip to main content
Every RyzeAPI response has a predictable format. Understanding this format is the first step to handling errors robustly in your code.

General response format

All responses begin with the success field, which indicates whether the operation succeeded.
Common fields in success responses:
The error envelope has only success + error.message. There is no numeric code field nor errorType. Programmatic differentiation must be done by the HTTP status combined with the content of error.message.

HTTP codes

Literal messages by category

Fine-grained differentiation between errors is done through the text of error.message. Below are the messages you may encounter.
The root cause coming from Chatwoot is always included after Detail: for diagnosis.
The 503 for Typebot only appears in POST /api/typebot/set/:instance and POST /api/typebot/start/:instance. The list, find, and delete endpoints respond even without the bridge.

Webhooks: delivery errors

Failed webhooks do not return a synchronous error, they are persisted in a queue with:
  • status: pending / delivered / failed
  • attempts, max_attempts (default 5)
  • last_error: full message
  • next_retry_at: timestamp of the next retry
Exponential backoff: After max_attempts, the status becomes failed and the row remains as a Dead Letter Queue (audit/manual replay). Details in Events.

Best practices

Always check success before assuming the content is valid.
HTTP status is the source of truth, different payloads can have the same error.message.
Retry 429 with exponential backoff; respect the global limit of 100/min.
Do not retry 4xx in general (except 408, 429).
For 503 on Chatwoot, recognize that the Chatwoot module is not enabled on the server and stop retrying, log it for the operator.

Schema validation errors

When you send a body with the wrong format (missing required field, incompatible type, etc.), the API returns 400 with a descriptive text:
Do not parse the text finely, validate your body before sending using the schemas documented at each endpoint.

Next

Authentication

Details about tokens and ownership.

Rate limit

Per-minute limits and how to react to 429.