rare-sapphire
rare-sapphire16mo ago

Using Caller ID's on the Api request

Is there a way to have vapi use a twillio verified caller id in the api request ?
11 Replies
Ask Inkeep
Ask Inkeep16mo ago
Hi @A. Salem, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Get Call * List Calls * Phone Calling * Import Twilio Number -----------------------------
Ask Inkeep
Ask Inkeep16mo ago
Answer Yes, you can use a Twilio verified caller ID in the API request by importing your Twilio number to Vapi. You can achieve this through the /phone-numbers/import endpoint. Here is an example of how to do it:
curl --request POST \
--url https://api.vapi.ai/phone-numbers/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"twilioPhoneNumber": "<your-twilio-phone-number>",
"twilioAccountSid": "<your-twilio-account-sid>",
"twilioAuthToken": "<your-twilio-auth-token>",
"name": "Your Number Name",
"assistantId": "Your Assistant ID",
"serverUrl": "Your Server URL",
"serverUrlSecret": "Your Server URL Secret"
}'
curl --request POST \
--url https://api.vapi.ai/phone-numbers/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"twilioPhoneNumber": "<your-twilio-phone-number>",
"twilioAccountSid": "<your-twilio-account-sid>",
"twilioAuthToken": "<your-twilio-auth-token>",
"name": "Your Number Name",
"assistantId": "Your Assistant ID",
"serverUrl": "Your Server URL",
"serverUrlSecret": "Your Server URL Secret"
}'
(1) , (2)
adverse-sapphire
adverse-sapphire16mo ago
Right now, no. But it is on our to do list.
rare-sapphire
rare-sapphireOP16mo ago
Is there a way to connect it with another crm to use the phone numbers there? Say connecting it with readymode api
deep-jade
deep-jade16mo ago
Also for the second part you still have to use twillio. Espically for something like HL. It can't be LC
adverse-sapphire
adverse-sapphire16mo ago
Not that I am aware of You can ask this question on today’s OH
rare-sapphire
rare-sapphireOP16mo ago
Alright cool
ambitious-aqua
ambitious-aqua16mo ago
This would be a very nice feature. Currently blocked because of not being able to use caller id
adverse-sapphire
adverse-sapphire16mo ago
Set custom caller ID on outbound call | Feature Requests | Vapi
Twilio allows you to set the caller ID on outbound calls to a number you have verified that you own. We use this to set caller ID to office phone line for
deep-jade
deep-jade16mo ago
Sahil I am not sure if you saw what Ip osted in general but are you for sure that will solve the problem? A2P reigns over all of that.
adverse-sapphire
adverse-sapphire16mo ago
I don’t know about A2P can you send me some good articles where I can read about it? So, that I can answer your question properly

Did you find this page helpful?