v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

Archive Chat

The Archive Chat endpoint allows users to archive specific chat sessions within their WhatsApp channel. Archiving a chat moves it out of the active chat list, effectively organizing and decluttering the interface without deleting the chat history. This feature is useful for managing large volumes of chats, keeping the active chat list focused on current conversations while preserving access to historical chats. It is ideal for applications that need to implement chat organization and archival functionality, helping users maintain a clean and manageable chat environment.

post/chat/archive

Query parameters

contact_idstring

The contact ID

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "is_archive": true,
    "contact_id": "6281357541722@c.us"
  }
}