Update Phone Number
Authentication
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the Vapi Dashboard and send it in the Authorization header as Bearer <token>. Keep private API keys out of client-side code and public repositories.
Path parameters
Request
Fields used to update a bring-your-own phone number, including its credential, number, routing, hooks, and server settings.
Fields used to update a Vapi-managed phone number or SIP URI, including its authentication, routing, hooks, and server settings.
Response
A phone number connected to Vapi through a bring-your-own telephony provider, including its credential, routing, hooks, server settings, and lifecycle metadata.
A Vapi-managed phone number or SIP URI, including its authentication, routing, hooks, server settings, and lifecycle metadata.