Update the configuration of an existing phone number
Update the configuration of an existing phone number. This endpoint allows you to:
- Modify the AI agent association
- Update SIP trunk settings for Import Phone Numbers
- Adjust routing rules and call handling preferences
- Update metadata and labels
Path Parameters
Body
A human-readable label for this phone number to help identify its purpose
ID of the AI agent that will handle incoming calls to this number
ID of the AI agent that will be used when making outbound calls from this number
The SIP URI where calls to this Import Phone Number should be terminated
Password for authenticating with the SIP trunk provider
Username for authenticating with the SIP trunk provider
Response
The phone number in E.164 format (e.g., +14155552671)
Unique identifier for this phone number record
A human-readable label for this phone number
ID of the AI agent handling incoming calls
ID of the AI agent used for outbound calls
Indicates this is an Import Phone Number (SIP provider)
sip
The infrastructure region for SIP routing: 'global' or 'bd' (Bangladesh)
global
, bd
The SIP URI where calls are terminated
Password for SIP trunk authentication
Username for SIP trunk authentication