Skip to content
Get started
V2 Reference
Chats

Mark Chat as Read

PUT
/api/partner/v2/chats/{chat_id}/mark_as_read
curl --request PUT \
--url https://api.linqapp.com/api/partner/v2/chats/1/mark_as_read \
--header 'X-LINQ-INTEGRATION-TOKEN: <X-LINQ-INTEGRATION-TOKEN>'

Marks all messages in a chat as read. This endpoint does not require a request body.

chat_id
required
integer

The chat ID

Chat marked as read successfully

Chat not found

Media type application/json

Standard error format used by most endpoints (render_error format)

object
errors
Array<object>
object
status
integer
code
string
title
string
detail
string
Example
{
"errors": [
{
"status": 404,
"code": "not_found",
"title": "Not Found",
"detail": "Chat not found"
}
]
}