Backend questions
# support
d
#1245660177953194066 #1211484481848873020 Should i update an existing assistant and patch in some forwardingphonenumbers or should i create the assistant dynamically in Post
v
@DanielK Creating an assistant dynamically with a POST request can be a good approach if you need to configure it with specific settings or if you're setting up a new system. However, if you already have an existing assistant and just need to update its configuration, using a PATCH request to add forwarding phone numbers might be more efficient and straightforward. If you're looking to update an existing assistant, you can use the PATCH method to modify its configuration. This way, you won't have to recreate the entire assistant from scratch, which can save time and preserve any existing data or settings. On the other hand, if you're setting up a new assistant or if the changes are significant enough to warrant a fresh start, then using a POST request to create a new assistant dynamically would be the better option. Would you like to proceed with updating an existing assistant or creating a new one? Please provide the necessary details so I can assist you further.
You can continue this conversation by mentioning me in the message.
@DanielK Sweet. Have a great day!
@Vapi Sweet. Have a great day!
s
use assistant overrides instead.
d
@Shubham Bajaj I'm not to familiar with assistant overrides but would I use this when adding in my forwardingPhoneNumbers. or how might i achieve this?
s
like you only want to use a dynamic forwarding number then with your existing assistant using assistant Id you can override the forwarding phone number,
For this don't set the assistant for your numbers then vapi will ask your server fort the assistant at that time returning the following. more: https://docs.vapi.ai/server-url/events#retrieving-assistants
Also tranisent assistant can also be used for dynamic forwarding phone numbers.