{
"accountId": "<string>",
"chats": [
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"number": "<string>",
"lastMessage": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"fromMe": true,
"timestamp": 123,
"hasMedia": true,
"sender": "<string>",
"senderName": "<string>",
"senderNumber": "<string>",
"ack": 1,
"replyTo": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"number": "<string>",
"unavailable": true
}
},
"unreadCount": 123,
"archived": true
}
],
"hasMore": true,
"nextOffset": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Messages
List selected conversations
Requires chats:read. Only the key’s selected conversations are accessible.
{
"accountId": "<string>",
"chats": [
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"number": "<string>",
"lastMessage": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"fromMe": true,
"timestamp": 123,
"hasMedia": true,
"sender": "<string>",
"senderName": "<string>",
"senderNumber": "<string>",
"ack": 1,
"replyTo": {
"id": "<string>",
"text": "<string>",
"kind": "<string>",
"number": "<string>",
"unavailable": true
}
},
"unreadCount": 123,
"archived": true
}
],
"hasMore": true,
"nextOffset": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}