How can I use my twilio numbers programtically?
# support
t
I have a fastapi endpoint allowing users to buy a phone number. Do I need to import that phone number to vapi or can I set the webhook URL to api.vapi.ai and set it to inbound or outbound call ? Hopefully that's possible so that I can set a backup webhook that can route calls in case of API failure If I can't just set the webhook directly, what's the recommended approach? Buy phone number set a backup webhook -> route calls 2. create post request to import_twilio_call with vapi 3. send patch request to update with assistant id?
@nikhil your guidance here would be awesome 🙏
n
yes import numbers to us