Skip to main content
POST
Archive Chat

Authorizations

apikey
string
header
required

API Key for authentication (global or instance-specific)

Path Parameters

instanceName
string
required

WhatsApp instance name

Example:

"my-instance"

Body

application/json
number
string
required
archive
boolean
required

Response

Chat archived/unarchived

success
boolean
Example:

true

message
string
Example:

"Chat archived/unarchived successfully"