Webhook
Below are the parameters included in the masked_phone_call_finished
webhook.
{
"type": 2,
"started_at": "2019-09-27T15:38:25.585Z",
"finished_at": "2019-09-27T15:40:13.585Z",
"task": {
"id": 6293,
"external_id": "6293",
"status": 6
},
"team_id": 16618,
"team_external_id": "16618",
"user": {
"id": 1,
"external_id": "1",
"lat": 0,
"lng": 0
}
}
Output Params
Parameters | Description |
---|---|
type int32 | This refers to the call type. The values are:1 - driver called customer2 - customer called driver |
status int32 | This order's status. Possible values: 0 - created1 - assigned2 - on the way3 - checked in4 - done6 - accepted8 - rejected9 - unacknowledged |