Abed Malak
04/26/2024, 7:18 AMVapi Support
04/26/2024, 7:18 AMVapi Support
04/26/2024, 7:18 AMcurl
curl --request POST \
--url https://api.vapi.ai/phone-number/import/twilio \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"twilioPhoneNumber": "<string>",
"twilioAccountSid": "<string>",
"twilioAuthToken": "<string>",
"name": "<string>",
"assistantId": "<string>",
"serverUrl": "<string>",
"serverUrlSecret": "<string>"
}'
Replace placeholders with your actual information, including the authorization token from Vapi, your Twilio phone number, account SID, auth token, and any additional details like a name for the phone number within Vapi, the assistant ID if you have one pre-set, and server URLs for handling calls [(1)]() .
This method allows you to integrate Twilio-based phone numbers from HighLevel's LeadConnector into Vapi, enabling you to leverage Vapi's features with those numbers.Sahil
04/26/2024, 8:32 AM