GoZAP Anti Delete
AI-generatedSummary
Manage Anti-Delete configuration and recover deleted WhatsApp messages for a connected instance.
Inputs
- instanceToken (required) — Token for the GoZAP instance.
- antiDeleteEnabled — Enable or disable the Anti-Delete feature. Visible when operation is updateConfig.
- antiDeleteStoreRecovered — Store recovered messages in the database. Visible when operation is updateConfig.
- antiDeleteNotifyWebhook — Send notifications to a configured webhook when messages are recovered. Visible when operation is updateConfig.
- antiDeleteIncludeOriginal — Include original message data in the recovered payload. Visible when operation is updateConfig.
- antiDeleteLimit — Maximum number of messages to retrieve. Visible when operation is listRecovered.
- antiDeleteOffset — Pagination offset for listing messages. Visible when operation is listRecovered.
- antiDeleteRecoveredId — Specific message ID to retrieve or delete. Visible when operation is getRecovered or deleteRecovered.
Output shape
Depends on operation: returns configuration object for getConfig/updateConfig; a paginated list of recovered messages for listRecovered; or a single message object for getRecovered/deleteRecovered.
listRecovered supports pagination via Limit and Offset parameters. getRecovered and deleteRecovered require a specific message ID.
Examples
Example 1: Enable Anti-Delete and configure webhook notifications
Operation: updateConfig | Enabled: true | Store Recovered: true | Notify Webhook: true
Example 2: List the first 50 recovered messages
Operation: listRecovered | Limit: 50 | Offset: 0
Example 3: Retrieve details of a specific deleted message
Operation: getRecovered | Recovered Message ID: [messageId]