HappHapp Docs
Chats

Mark chat as unread

POST
/api/chats/{id}/unread

Rewinds lastReadAt to the latest outgoing message and recomputes the unread counter based on incoming messages after that point.

Authorization

access-token
X-Access-Token<token>

Enter your Access Token (format: happ_...)

In: header

Response Body

curl -X POST "https://example.com/api/chats/{id}/unread"
Empty
Empty
Empty