By using the Pickup webhook, the phone call will be initiated within Upsales but your app will control and decide when the call has been picked up.
In order to tell Upsales that you want to control the pickup flow, add the capability pickupHook to your config json.
"capabilities": {
"pickupHook": true
}
Initiate a manual run of your app to notify Upsales that a phone call has been picked up by the recipient. Add a notification property to the body to trigger the correct event.
{
"notification": {
"event": "phone.pickup",
"data": {}
}
}