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