API Reference

Clear chat messages

Clears all messages from a specific chat

Log in to see full request history
Path Params
int64
required

Instance ID

Body Params
string

Chat ID <countrycode_short>@c.us or @g.us for groups

Response

Response body
object
data
object
boolean

Indicates if messages were cleared successfully

links
object
string of strings

success error

Language
Credentials