Get a chat
GET/v1/chats/{chat}
Reads one chat, including its live customer-window state. A chat id that
is not this key’s answers 404 — the same answer an id that does not
exist gets, because a response must never confirm one across accounts.
Get a chat
curl https://whatsapp.messages.api.linqapp.com/v1/chats/$CHAT \
-H "Authorization: Bearer $LINQ_WHATSAPP_API_KEY"{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"customer": "customer",
"customer_window": {
"expires_at": "2019-12-27T18:11:19.117Z",
"state": "state",
"source": "source"
},
"phone_number_id": "phone_number_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"from": "from"
}Returns Examples
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"customer": "customer",
"customer_window": {
"expires_at": "2019-12-27T18:11:19.117Z",
"state": "state",
"source": "source"
},
"phone_number_id": "phone_number_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"from": "from"
}