chat
archive chat
archive chat
post/instances/{id}/client/action/archive-chat
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/archive-chat
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"chatId": "<xxxxx>@c.us"
}Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation.
Example response
{
"data": {
"status": "success",
"data": {
"data": {
"chatArchived": true
}
}
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/archive-chat"
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.