Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Chat → Archive
AI-generatedSummary
Archive a selected WhatsApp chat or restore it to the chat list for a chosen session.
Inputs
- Session Name or ID (required) — Select the session to use, or provide its ID with an expression.
- Chat Name or ID (required) — Choose the chat to archive or restore. The dropdown lists up to 1,000 chats; use an expression for another chat ID, including group IDs ending in @g.us.
- Archive — Defaults to true to archive the chat. Set to false to bring it back to the chat list.
Output shape
A single item containing the API response.
The handler sends the chat ID and archive boolean in a POST request to the session's chat archive route. The exact response fields depend on the API response.