v1

latestOpenAPI 3.0.32026-07-26870417.2 KB
chats

Mark chat as read

This endpoint marks a unread chat as read.

post/chats/{chat_id}/read

Path parameters

chat_idstring required
  • The unique id of the chat
  • For individual chats, this would be the country_code + number (e.g., 918527184400), followed by @c.us
  • For groups, this would end with @g.us
Example:120363392071406466@g.us

Headers

x-phonestring
Example:{{orgPhone}}

Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header

Response

204

object required

204 No Content