PUT
/
chat
/
archiveChat
/
{instance}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
archive
boolean
required

Whether to archive the chat or not

lastMessage
object
required

Messages to be mark as read

Response

201 - application/json
archived
boolean

Indicates whether the chat is archived.

chatId
string

The ID of the chat.