Z-API WhatsApp icon

Z-API WhatsApp

Integration with Z-API (WhatsApp) organized by resources (messages, groups, chats, contacts, products, queue, instance, status, etc.).

Chat → Delete Chat

AI-generated

Summary

Delete a WhatsApp chat for a specified contact

Inputs

  • phone (required) — Phone number of the contact whose chat will be modified, in international format (digits only). Example: 5544999999999.

Output shape

Array with a single object containing a json property that holds the API response

The API may return HTTP 204 (no content) or a JSON payload; the json field may be empty or contain response data.

Examples

Example 1: Delete a chat for a specific contact

resource = Chat, operation = Delete Chat, phone = 5544999999999

Links

Discussion