The integration with Chatwoot happens through the RyzeIntegrations microservice (bridge). RyzeAPI does not talk directly to Chatwoot, all communication goes through the bridge, which creates the inbox in Chatwoot and maintains a persistent WebSocket connection to RyzeAPI.Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
When the server has no
BRIDGE_URL or BRIDGE_TOKEN configured, all module endpoints return 503 with the message integration gateway not configured (set BRIDGE_URL and BRIDGE_TOKEN). In addition, the internal route /ws/chatwoot/:instance is not registered (responds 404).How it works
Management endpoints
Activate
POST /api/chatwoot/set/:instance, provisions the integration (creates inbox + opens WS).Status / Info
GET /api/chatwoot/list/:instance, local read enriched with live data from the bridge.Deactivate
DELETE /api/chatwoot/delete/:instance, removes the integration and deletes the inbox in Chatwoot.Inline activation when creating the instance
The integration can be activated together with instance creation, without a separateset call. Just include the chatwoot* block in the body of POST /api/instance/new:
chatwoot object comes back with status: "error" and error: "<message>". You can then call POST /api/chatwoot/set/:instance to fix the credentials without recreating the instance.
Server environment variables
Whoever operates the platform needs to configure these variables to enable the module:| Variable | Description |
|---|---|
BRIDGE_URL | Base URL of RyzeIntegrations (e.g., https://bridge.example.com). |
BRIDGE_TOKEN | Service-to-service Bearer token. |
BRIDGE_INTERNAL_RYZEAPI_URL | URL the bridge uses to call RyzeAPI (useful in container-to-container deployments). Default: BASE_URL. |
Detect whether the bridge is enabled
Internal route /ws/chatwoot/:instance
Data model
The server persists each integration in thechatwoot_integrations table. The chatwootApiToken is encrypted at rest with AES-256-GCM and is never returned by the API.
| Field | Description |
|---|---|
bridge_integration_id | ID returned by RyzeIntegrations. |
chatwoot_base_url | URL of the Chatwoot installation. |
chatwoot_account_id | Numeric ID of the Chatwoot account. |
chatwoot_inbox_id / chatwoot_inbox_name | Inbox created by the bridge. |
status | active / paused / error. |
last_error | Last error message reported by the bridge. |
Next steps
Activate integration
Provision the integration with
POST /api/chatwoot/set/:instance.Chatwoot errors
Mapping table of HTTP status codes and messages from the bridge.