Skip to main content
POST
Archive or unarchive a chat

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatId
string
required

Body

application/json
archived
boolean

Whether the chat is archived.

Response

Successful response

The response is of type object.