GET
Get Chat
Get metadata for a single chat.
API endpoint
https://waclient.com/api/get_chatExample:
curl -X GET \
'https://waclient.com/api/get_chat' \
-G \
--data-urlencode 'chat_id=20100981XXXX' \
--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 | Chat JID or phone number |
| instance_id | Your instance ID |
| access_token | Your access token |