channel field in theinclude_lid: 1 to include them; theirnumber and phone are null and you reach them with their WhatsApp IDjid).data[] item: number, jid, phone, lid, username, name,unread, timestamp. The response has a meta object with count anddevice (name, phone).get-contacts.curl --location '/api/whatsapp/chats' \
--header 'Content-Type: application/json' \
--data '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}"
}'{
"success": true,
"data": [
{
"number": "966501234567",
"jid": "966501234567@s.whatsapp.net",
"phone": "966501234567",
"lid": null,
"username": null,
"name": "Ahmed",
"unread": 2,
"timestamp": 1700000000
},
{
"number": null,
"jid": "123456789012345@lid",
"phone": null,
"lid": "123456789012345",
"username": "ahmed.shop",
"name": null,
"unread": 0,
"timestamp": 0
}
],
"meta": {
"count": 2,
"device": {
"name": "My device",
"phone": "966500000000"
}
}
}