Retrieves a list of all chats (conversations) that are currently tagged with a specific label. This allows you to find all customers in a certain category (e.g., "get all chats labeled 'Pending Payment'").Developer Tips:
**Response Format: **The endpoint returns an array of objects, where each object contains the id of a chat.
Chat IDs: These IDs can be standard phone-based JIDs (e.g., 1234567890@c.us) or, in some business API contexts, LID-based JIDs (e.g., 10932...@lid), as seen in your example. Both function as valid Chat IDs for other API calls (like sending messages).
Request
Path Params
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://wawp.net/wp-json/awp/v1/labels//chats?instance_id=YOUR_INSTANCE&access_token=YOUR_TOKEN'