dl_amit
01/07/2025, 5:50 PMVapi
01/07/2025, 5:52 PMVapi
01/07/2025, 5:52 PMdl_amit
01/07/2025, 5:52 PMVapi
01/07/2025, 5:52 PMdl_amit
01/07/2025, 5:53 PMVapi
01/07/2025, 5:53 PMVapi
01/07/2025, 5:53 PMShubham Bajaj
01/07/2025, 7:37 PMcurl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"customer": {
"number": "customer-number",
"extension": "cust-ext"
}
}'
For "**voice agent should pickup based on IVR message**" can you please explain more with complete example of the call flow.dl_amit
01/08/2025, 7:44 AMdl_amit
01/09/2025, 1:32 PMShubham Bajaj
01/09/2025, 3:34 PMTransfer Destination Request event
2. During a live call, when you get the extension via transcript then using your prompting logic, initiate a call transfer
3. Vapi will send a Transfer Destination Request to your server
4. Your server can then respond with the dynamic destination including the extension
5. The call will be forwarded to the specified destination
For more details, see the documentation on ServerMessageTransferDestinationRequest and ServerMessageResponseTransferDestinationRequest from here https://api.vapi.ai/api-json#