Contacts

Mark a conversation as seen

POST
/api/contact/message-seen

Clears the isUpdated flag on the specified conversation and asynchronously recomputes the parent contact's isUpdated based on whether any other conversation is still unseen. Emits the contact_updated socket event.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/contact/message-seen" \  -H "Content-Type: application/json" \  -d '{    "conversationId": "64f0a1b2c3d4e5f6a7b8c9e0"  }'
{  "message": "Conversation deleted"}