Skip to main content
Version: v0.23.1

Archive or unarchive a chat

POST 

/api/sessions/:sessionId/chats/archive

Archive or unarchive a chat

Request

Responses

Returns { success }. false means the engine declined to act — on the Baileys engine a chat with no known history cannot be archived, since the change is keyed to its last message.