Chat Controller

Archive Chat

post/chat/archiveChat/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/chat/archiveChat/{instance}
  • Auth
    API key in header apikey

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
}

Changes