Skip to main content
GET
/
chatwoot
/
config
Obter configuração do Chatwoot
curl --request GET \
  --url https://api.wppfy.com/chatwoot/config \
  --header 'token: <api-key>'
{
  "chatwoot_enabled": true,
  "chatwoot_url": "https://app.chatwoot.com",
  "chatwoot_account_id": 1,
  "chatwoot_inbox_id": 5,
  "chatwoot_access_token": "pXXGHHHyJPYHYgWHJHYHgJjj",
  "chatwoot_ignore_groups": false,
  "chatwoot_sign_messages": true,
  "chatwoot_create_new_conversation": false
}

Authorizations

token
string
header
required

Response

Configuração obtida com sucesso

chatwoot_enabled
boolean

Se a integração com Chatwoot está habilitada

Example:

true

chatwoot_url
string

URL base da instância Chatwoot

Example:

"https://app.chatwoot.com"

chatwoot_account_id
integer<int64>

ID da conta no Chatwoot

Example:

1

chatwoot_inbox_id
integer<int64>

ID da inbox no Chatwoot

Example:

5

chatwoot_access_token
string

Token de acesso da API Chatwoot

Example:

"pXXGHHHyJPYHYgWHJHYHgJjj"

chatwoot_ignore_groups
boolean

Se deve ignorar mensagens de grupos na sincronização

Example:

false

chatwoot_sign_messages
boolean

Se deve assinar mensagens enviadas para o WhatsApp

Example:

true

chatwoot_create_new_conversation
boolean

Sempre criar nova conversa ao invés de reutilizar conversas existentes

Example:

false