Chatwoot
Status / info
Read the current state of the Chatwoot integration
GET
Status / info
Auth:
TokenAccount or TokenInstance • Rate limit: Global (100/min) • Idempotent: yes
Description
Returns the local status of the Chatwoot integration and complements it with the current state (best-effort). This response includes thechatwoot_api_token in plaintext and the behaviour flags (sign_messages, ignore_groups, start_as_pending, reopen_resolved).
Example
Success response
200 OK
The
sign_messages / ignore_groups / start_as_pending / reopen_resolved flags are persisted locally and reflect the last set. They are always returned, including as false.Path parameters
string
required
Instance name (e.g.,
suporte).Headers
string
required
TokenAccount or TokenInstance.Behavior
1
Read local data
Queries the
chatwoot_integrations table. This step is fast and always works.2
Complement with the current state (best-effort)
RyzeAPI tries to fetch the current state of the integration with a 10s timeout. On network failure, it falls back to local data.
3
Overwrite volatile fields
When the current state is available,
status and last_error are replaced with the live values.4
Backfill of inbox_id
If the
inbox_id became available and the local one is still 0, the database is updated (SetInboxID), useful for eventual-consistency cases right after set.Errors
Next
Reactivate / update
Use
POST /api/chatwoot/set/:instance to fix credentials or flags.Deactivate
Remove the integration.