Chatwoot Integration

View Chatwoot Config

Returns the current Chatwoot integration configuration, including connection status.

GEThttps://api.zapzapapi.com/api/v1/{instanceId}/chatwoot/config

Authentication with the x-api-key and x-api-secret headers.

Parameters

This endpoint takes no parameters.

Request example

curl

curl -X GET "https://api.zapzapapi.com/api/v1/{instanceId}/chatwoot/config" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-api-secret: YOUR_API_SECRET"

Node.js

const res = await fetch("https://api.zapzapapi.com/api/v1/{instanceId}/chatwoot/config", {
  method: "GET",
  headers: {
    "x-api-key": "YOUR_API_KEY",
    "x-api-secret": "YOUR_API_SECRET",
  },
});
console.log(await res.json());

Python

import requests

res = requests.get(
    "https://api.zapzapapi.com/api/v1/{instanceId}/chatwoot/config",
    headers={"x-api-key": "YOUR_API_KEY", "x-api-secret": "YOUR_API_SECRET"},
)
print(res.json())

Response example

JSON

{
  "chatwoot_enabled": false,
  "chatwoot_url": "",
  "chatwoot_account_id": 0,
  "chatwoot_inbox_id": 0,
  "chatwoot_inbox_name": "minha-instancia",
  "chatwoot_access_token": "",
  "chatwoot_ignore_groups": false,
  "chatwoot_sign_messages": false,
  "chatwoot_create_new_conversation": false,
  "integration_status": {
    "status": "disabled",
    "message": "Integracao Chatwoot nao esta habilitada",
    "connection_ok": false,
    "credentials_ok": false,
    "inbox_exists": false
  }
}

Values are illustrative; the fields follow the real response format.

Other endpoints in this category

See the full reference

Get your API keys

Create your account, connect a number in minutes and start using the API. R$15 per active number/month, with a welcome credit when you create the account, subject to the current campaign.