v46

latestOpenAPI 3.0.3raw.githubusercontent.com2025-05-151340367.2 KB
Chat Controller

Archive Chat

Archive Chat

post/chat/archiveChat/{instance}

Path parameters

instancestring required

Name of the instance

Request body

archiveboolean required

Whether to archive the chat or not

chatstring required

remoteJid here

Response

Created

chatIdstring

The ID of the chat.

archivedboolean

Indicates whether the chat is archived.

Example response

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