Masked Call Finished

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

ParametersDescription
type
int32
This refers to the call type. The values are:
1 - driver called customer
2 - customer called driver
status
int32
This order's status.
Possible values:
0 - created
1 - assigned
2 - on the way
3 - checked in
4 - done
6 - accepted
8 - rejected
9 - unacknowledged