ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Informações → Marcar como Lida

AI-generated

Summary

Marks a WhatsApp chat as read by sending a POST request to the ZapGate chat read endpoint. Provide the chat number or group JID and the ID of the message to mark as read; for group chats, you can also provide the sender’s number.

Inputs

  • Número (required) — Chat phone number with country code and digits only, or a group JID.
  • Número do remetente (grupos) — For group chats, the sender’s number; leave empty for direct chats.
  • ID da mensagem (required) — ID of the message to mark as read.

Output shape

A list of items, each containing the ZapGate API response as JSON.

Processes each input item separately and pairs each output with its input item. Requires ZapGate credentials with an Instance ID and an Admin API Key or Instance Token.

Examples

Example 1: Mark a message in a direct chat as read

Set Número to a phone number with country code and digits only, and ID da mensagem to the message ID. Leave Número do remetente (grupos) empty.

Example 2: Mark a message in a group as read

Set Número to the group JID, ID da mensagem to the message ID, and Número do remetente (grupos) to the sender’s number.

Links

Discussion