WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Chat → Archive

AI-generated

Summary

Archive or unarchive a WhatsApp chat using the WA-AKG API.

Inputs

  • sessionId (required) — The Session ID to use for this request
  • jid (required) — WhatsApp JID of the chat or contact

Output shape

object

Returns the response from the WA-AKG API for the archive operation (typically a success indicator).

Examples

Example 1: Archive a personal chat

Set sessionId to your active session (e.g. 'main'), and jid to the contact's JID (e.g. '1234567890@s.whatsapp.net'). The node will POST to /api/chat///archive.

Links

Discussion