Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Message → Mark Read

AI-generated

Summary

Marks the supplied WhatsApp message keys as read by posting them to the wa-instance API. Add one or more keys, each with its Remote JID and Message ID; Participant and From Me are optional.

Inputs

  • Keys (required) — A list of message keys. For each key, provide Remote JID and Message ID. Participant is optional; From Me defaults to false and is only sent when enabled.

Output shape

A single item containing the API response as JSON.

The request posts the keys to /messages/read. Empty optional key fields are omitted; if no keys are configured, an empty keys array is sent. API errors fail the node unless Continue On Fail is enabled.

Links

Discussion