chat
[BETA] get disappearing messages
Return the current disappearing-messages timer for a chat. Note: This endpoint is currently in beta and may change without notice.
post/instances/{id}/client/action/get-disappearing-messages
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/get-disappearing-messages
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"chatId": "50664083362@c.us"
}Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation. Payload: Disappearing messages timer retrieved successfully.
Example response
{
"data": {
"status": "success",
"data": {
"disappearingMessages": {
"duration": 604800
}
}
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.