v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-06-11720209.3 KB
Chat Controller

Archive Chat

Archive Chat

put/chat/archiveChat/{instance}

Path parameters

instancestring required

ID of the instance to connect

Request body

archiveboolean required

Whether to archive the chat or not

Response

Created

chatIdstring

The ID of the chat.

archivedboolean

Indicates whether the chat is archived.

Example response

{
  "chatId": "553198296801@s.whatsapp.net",
  "archived": true
}