orvachat

Chats

Mark Chat as Unread

POST/api/v1/chat/unread

Mark a chat as unread, or clear the unread mark.

Parameters

  • ChatstringRequired

    The chat id: a person (…@s.whatsapp.net or …@lid) or a group (…@g.us).

  • UnreadbooleanRequired

    true to mark as unread, false to clear the mark.

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/chat/unread" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "Chat": "[email protected]",
  "Unread": true
}'