ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Inbox (painel) → Mensagens Temporárias

AI-generated

Summary

Set or disable disappearing messages for a WhatsApp chat through the ZapGate instance API.

Inputs

  • Número (chat) (required) — Phone number with country code, digits only (for example, 5511999999999); for a group, use its JID.
  • Segundos (0=off) — Disappearing-message duration in seconds; defaults to 0, which disables the setting.

Output shape

A single JSON response object from the ZapGate API for each input item.

Uses the instance credentials and sends a POST request. API or credential errors are thrown, unless Continue On Fail is enabled, in which case the item contains an error field.

Examples

Example 1: Enable temporary messages for a chat

Set Número to the chat number or group JID and Segundos to the desired duration in seconds.

Example 2: Disable temporary messages

Set Número to the chat number or group JID and leave Segundos at 0.

Links

Discussion