Etiquetas

Conversas de uma etiqueta

GET
/labels/{labelId}/chats

Autorização

X-Api-Key: wpf_SUA_CHAVE

A chave de API da conexão (wpf_...), gerada no painel.

Authorization: Bearer wpf_SUA_CHAVE

A mesma chave em Authorization: Bearer wpf_... (o que n8n, Make e bibliotecas HTTP oferecem pronto).

Parâmetros de caminho

labelId*string

O id da etiqueta, de GET /labels.

Corresponde a^[A-Za-z0-9_-]{1,64}$

Corpo da resposta

As conversas com a etiqueta.

application/json
  1. response
data*array<>
curl -X GET 'https://app.wappfy.io/api/v1/labels/7/chats' \  -H 'X-Api-Key: wpf_SUA_CHAVE'
{  "data": [    {      "chat_id": "string",      "phone": "string",      "is_group": true    }  ]}