doc
12/07/2024, 9:16 PMVapi
12/07/2024, 9:19 PMVapi
12/07/2024, 9:19 PMVapi
12/07/2024, 9:19 PMShubham Bajaj
12/09/2024, 9:48 PMShubham Bajaj
12/09/2024, 9:48 PMdoc
12/09/2024, 10:02 PMShubham Bajaj
12/11/2024, 6:49 PMcurl -X POST https://api.vapi.ai/tool \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"type": "transferCall",
"destinations": [
{
"type": "number",
"number": "destination-number-here",
"callerId": "set-the-caller-id-here",
"description": "descriptiion-to-be-used-by-AI-for-funtions-calling",
"message": "message-to-be-spoken"
}
],
"function": {
"name": "customTransferCall"
}
}'
Ref: https://docs.vapi.ai/api-reference/tools/create?playground=%2Fapi-reference%2Ftools%2Fcreate
2. Go through this doc for more details https://docs.vapi.ai/call-forwarding
3. Create the custom transfer call tool, attach it to the assistant under functions section.Shubham Bajaj
12/11/2024, 6:49 PMdoc
12/13/2024, 9:41 PMdoc
12/13/2024, 9:48 PMShubham Bajaj
12/14/2024, 4:43 AM