Messages

Mark as read

POST
/messages/seen

The blue ticks: the whole chat, or only the messages in messageIds.

Autorisation

X-Api-Key: wpf_YOUR_KEY

The connection's API key (wpf_...), generated in the dashboard.

Authorization: Bearer wpf_YOUR_KEY

The same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).

Paramètres d'en-tête

Idempotency-Key?string

Optional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.

Corps de la requête

application/json
  1. body
to*string

Recipient: phone number with country code and area code, digits only (5581999999999; +, spaces and dashes are ignored), or the chatId (5581999999999@c.us, ...@lid, or a group ...@g.us). Brazilian phone numbers are checked on WhatsApp before sending.

messageIds?array<string>

Optional: only these messages. Without the list, the whole chat is marked as read.

Élémentsitems <= 100

Corps de la réponse

Marked as read.

application/json
  1. response
data*
curl -X POST 'https://app.wappfy.io/api/v1/messages/seen' \  -H 'X-Api-Key: wpf_YOUR_KEY' \  -H 'Content-Type: application/json' \  -d '{  "to": "5581999999999"}'
{  "data": {    "chat_id": "string"  }}