Actions31
Phone Number → Update
AI-generatedSummary
Update the settings and configuration of an existing Vapi phone number by specifying its ID and desired new values.
Inputs
- Phone Number ID (required) — The unique identifier of the Vapi phone number to update.
- Update Fields — Fields to update including Assistant ID, Fallback Destination, Hooks, Name, Provider, Server Headers, Server Secret, Server Timeout Seconds, Server URL, Squad ID, Workflow ID, and an Advanced Raw Body JSON for additional or overriding properties.
Output shape
a single JSON object representing the updated phone number resource.
This operation returns the updated phone number details as a JSON object. The raw JSON fields allow for sending fields not explicitly defined in the UI, merged after structured fields, with top-level keys overriding structured values.
Examples
Example 1: Update a phone number's assistant and webhook server URL
Set 'Phone Number ID' to the target id, provide 'Assistant ID' and 'Server URL' in 'Update Fields' to change routing and webhook settings.