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 → Archive Chat

AI-generated

Summary

Archive a chat for a specific WhatsApp 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 element containing the API response

The response is whatever the Z‑API returns for the archive request; may be empty or a status object.

Examples

Example 1: Archive a chat for a contact

Resource=Chat, Operation=Archive Chat, Phone=5544999999999

Links

Discussion