Delete one saved chat

Owner-only and PERMANENT: remove every saved message, file and saved contact name for one QR chat from WhatSync (nothing is deleted on WhatsApp). stopSaving also skips that person, or unselects that group, so new messages are not saved. Only invoke when the user explicitly asks to delete this chat; confirm the conversation_id first with list_conversations.

post/api/v1/tools/delete_chat

Request

  • Base URL: https://whatsync.app
  • URL: https://whatsync.app/api/v1/tools/delete_chat
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Headers

Idempotency-Keystring

Stable key for a write; body idempotencyKey takes precedence.

Request body

idempotencyKeystring required

Unique key for this intended action. Reuse exactly on retries; use a new key only for a new action.

conversationIdstring required

conversation_id of a QR chat, such as 919876543210@s.whatsapp.net or 1203...@g.us

stopSavingboolean

Response

JSON result. Every response includes X-Request-Id.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.