Mark conversation as read
Reset the thread's unreadCount to zero. Marks the thread read in your own inbox only: it does not send a read receipt to the contact.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
conversationIdstringrequired
Responses
200Conversation marked as read.
conversationobjectrequiredAn inbox thread with one contact. A conversation groups every message exchanged with that contact across channels, so a contact who writes on WhatsApp and later by email stays in one thread.
12 properties
idstringrequiredcontactIdstringID of the contact this thread belongs to. Absent on group threads and on threads whose contact has not been resolved yet.
contactIdentifierstringrequiredThe key this thread is filed under: a phone number in E.164, a WhatsApp business-scoped user ID (BSUID), or a numeric chat ID (Telegram/Instagram/Messenger). It is not always a phone number, so do not parse it as one.
emailstringEmail address of the thread, when the contact was reached by email.
channelsstring[]requiredEvery channel this thread has carried messages on.
lastMessageobjectrequiredDenormalized preview of the most recent message, so a thread list needs no extra fetch.
5 properties
idstringrequiredtextstringrequiredText or caption. Empty when the last message carried no text (e.g. media).
channelstringrequiredDelivery channel. Use 'auto' for intelligent routing.
One ofautosmssms_onewaywhatsapptelegramemailinstagrammessengervoicedirectionstringrequiredOne ofinboundoutboundatstring<date-time>required
senderIdstringSender that last handled this thread. Use it as the
Zavu-Senderheader when replying so the answer leaves from the same number the contact knows.messageCountintegerrequiredunreadCountintegerrequiredInbound messages not yet marked read. Reset with POST /v1/conversations/{conversationId}/read.
whatsappobjectWhatsApp identity, present when the contact adopted a username.
2 properties
bsuidstringBusiness-scoped user ID. Can be used as
towhen sending.usernamestring
createdAtstring<date-time>requiredupdatedAtstring<date-time>required
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Conversation not found.
codestringrequiredmessagestringrequireddetailsobject