Label

Chats with a label

GET
/labels/{labelId}/chats

Otorisasi

X-Api-Key: wpf_YOUR_KEY

The connection's API key (wpf_...), generated in the dashboard.

Authorization: Bearer wpf_YOUR_KEY

The same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).

Parameter path

labelId*string

The label id, from GET /labels.

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

Body respons

The chats with the label.

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