SendWave API icon

SendWave API

Interactuar con SendWave API

Group → Toggle Ephemeral Messages

AI-generated

Summary

Toggle Ephemeral Messages for a Group

Inputs

  • instanceName (required) — Name of the SendWave instance to use for the request
  • groupJid (required) — Group ID (JID) whose disappearing‑messages setting will be toggled
  • expiration (required) — Expiration time for messages in the group; options: Disabled (0), 24 Hours (86400), 7 Days (604800), 90 Days (7776000) seconds
  • apiKey — Optional API key to override the credentials stored in the node

Output shape

object

Returns the raw response from the SendWave API, typically indicating success or an error message.

Examples

Example 1: Enable disappearing messages that expire after 24 hours

Set Instance Name to your configured instance, Group ID to the target group's JID, Expiration to 24 Hours.

Discussion