Account status
POST
/Documentation Account Status
To receive this type of notification, you must enable the "stateWebhook" setting: "yes" in your personal account or using the SetSettings method
Request
Body Params application/json
typeWebhook
string
required
instanceData
object
required
idInstance
integer
required
wid
string
required
typeInstance
string
required
timestamp
integer
required
stateInstance
string
required
Example
{
"typeWebhook": "stateInstanceChanged",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1705902314,
"stateInstance": "authorized"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 19 days ago