sacred-roseS

How can I use my twilio numbers programtically?

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
  1. create post request to import_twilio_call with vapi
  2. send patch request to update with assistant id?
Was this page helpful?