SendWave API icon

SendWave API

Interactuar con SendWave API

Chat → Manage Archive

AI-generated

Summary

Archive or unarchive a chat conversation using the SendWave API.

Inputs

  • instanceName (required) — The SendWave instance name to use.
  • chat (required) — Contact number (JID) of the chat to archive or unarchive.
  • messageId (required) — ID of the latest message in the chat.
  • fromMe (required) — Whether the latest message was sent by the instance (true) or received (false).
  • archive (required) — Choose whether to archive (true) or unarchive (false) the conversation.
  • apiKey — Optional API key override; if not provided, the node's credential API key is used.

Output shape

object

Returns the raw response from the SendWave API archive/unarchive endpoint.

Examples

Example 1: Archive a chat

Set archive=true, provide instanceName, chat (contact number), messageId, and fromMe flag.

Example 2: Unarchive a chat

Set archive=false with the same required fields.

Discussion