GET
Get Chat
Get metadata for a single chat.
API endpoint
https://api.waclient.com/get_chatExample:
curl -X GET \
'https://api.waclient.com/get_chat' \
-G \
--data-urlencode '[email protected]' \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX'Response
{
"status": "success",
"message": "Success",
"data": {
"id": "[email protected]",
"name": "Mohamed",
"unreadCount": 0
}
}| Parameter | Description |
|---|---|
| chat_id | JID with @ — Phone: [email protected]. Group: 120363…@g.us. Channel: 120363…@newsletter. |
| instance_id | Your instance ID |
| access_token | Your access token |