Skip to main content
POST
Archive/unarchive chat

Authorizations

token
string
header
required

Body

application/json
number
string
required

Phone number (E.164 format) or group ID

Example:

"5511999999999"

archive
boolean
required

true to archive, false to unarchive

Example:

true

Response

Chat archived/unarchived successfully

response
string
Example:

"Chat updated successfully"