Mark conversation as read

Mark all messages in a conversation as read.

Mark all messages in a conversation as read. This sends a read receipt to the contact on the underlying network and resets the unread count to 0.

POST/v1/conversations/{id}/read

Path Parameters

idstring

Response Body

fetch("https://api.outstand.so/v1/conversations/string/read", {  method: "POST"})
{
  "success": true,
  "id": "string",
  "unreadCount": 0
}
{
  "success": false,
  "error": "Conversation not found"
}
{
  "success": false,
  "error": "Internal server error"
}