Skip to main content
PATCH
/
api
/
v1
/
chat
/
threads
/
{thread_id}
/
read
Mark as Read
curl --request PATCH \
  --url https://api.example.com/api/v1/chat/threads/{thread_id}/read

Mark Thread as Read

Reset the unread count for the authenticated user in this thread.

Authentication

Requires a valid user JWT token.

Path Parameters

thread_id
string
required
UUID of the thread.

Example

curl -X PATCH https://api.ama2.me/api/v1/chat/threads/{thread_id}/read \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "status": "ok"
}