Chats
Get chat
Retrieve a single chat by its id — a phone number in international format (e.g. +14155551234) or a WhatsApp JID (`@c.us`, `@g.us`, or `@newsletter`).
Requires chats:read.
Request
curl -X GET "https://api.blueticks.co/v1/chats/"{
"success": true,
"data": {
"chatId": "string",
"name": "string",
"chatType": "contact",
"pinned": true,
"archived": true,
"lastMessageAt": "2019-08-24T14:15:22Z",
"unreadCount": 0,
"markedUnread": true,
"lastMessageText": "string",
"lastMessageFromMe": true
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"requestId": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
]
}
}Path Parameters
id*string
Response
Response Body
application/json
application/json