Messages

Delete conversation

Changed on

Permanently deletes Zernio's stored copy of one conversation and every message in it, in one transaction, and unlinks the contact channel that pointed at it. Nothing is deleted on the platform (the thread stays in WhatsApp, Messenger or Instagram), and the contact record is kept: call DELETE /v1/contacts/{contactId} to erase the person's name and number as well. A platform re-sync can import the thread again: WhatsApp coexistence numbers receive their messaging history from Meta repeatedly, and a Facebook or Instagram account whose DM history walk has not finished imports it on that walk. Inbound media copies Zernio stored are removed on a best-effort basis.

delete/v1/inbox/conversations/{conversationId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/inbox/conversations/{conversationId}
  • Auth: HTTP bearer

Path parameters

conversationIdstring required

Opaque conversation identifier, accepted verbatim from the list endpoint or from the conversationId on inbox webhooks. Format not to be assumed.

Query parameters

accountIdstring required

Account ID

Response

Conversation deleted

successboolean

Changes