Unknown#general-english Should i update an existing assistant and patch in some forwardingphonenumbers or should i create the assistant dynamically in Post
Vapi helps developers build, test, and deploy voice agents at scale. We enable everything in between the raw models and production, including telephony, test suites, and real-time analytics.
@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.
@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?
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,