Wacap icon

Wacap

Interact with WhatsApp using Wacap Docker API

Message → Mark as Read

AI-generated

Summary

Marks specified messages as read in a WhatsApp session via the Wacap API.

Inputs

  • sessionId (required) — Session ID/name identifying the WhatsApp session. Defaults to 'default' if omitted.
  • to (required) — Phone number without + or spaces, or group ID where the messages reside.
  • messageIds (required) — Comma-separated list of message IDs to mark as read.

Output shape

array

Each element corresponds to an input item and contains the JSON response from the Wacap API. On error with continue-on-fail enabled, each element includes {error, details}; otherwise the node throws.

Discussion