Skip to main content
POST
/
conversations
/
mark-messages-read
Mark Messages as Read
curl --request POST \
  --url http://localhost:3000/api/conversations/mark-messages-read \
  --header 'Content-Type: application/json' \
  --data '
{
  "conversationId": "<string>",
  "messageIds": [
    "<string>"
  ]
}
'
{
  "success": true
}

Body

application/json
conversationId
string
required

ID of the conversation

messageIds
string[]
required

Array of message IDs to mark as read

Response

Messages marked as read successfully

success
boolean
required

Whether the operation was successful