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
Username for authenticating with the SIP trunk provider
Password for authenticating with the SIP trunk provider
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
Username for authenticating with the SIP trunk provider
Password for authenticating with the SIP trunk provider
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
A human-readable label for this phone number to help identify its purpose
The Twilio Account SID for authenticating with Twilio's API
The Twilio Auth Token for authenticating with Twilio's API
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
Response
The phone number in E.164 format, including country code (e.g., +14155552671)
Unique identifier for this phone number record
Indicates this is an Import Phone Number (SIP provider)
"sip"
A human-readable label for this phone number
The SIP URI where calls are terminated
Username for SIP trunk authentication
Password for SIP trunk authentication
ID of the AI agent handling incoming calls
ID of the AI agent used for outbound calls
The infrastructure region for SIP routing: 'global' or 'bd' (Bangladesh)
global
, bd
, bd_link3
The phone number in E.164 format, including country code (e.g., +14155552671)
Unique identifier for this phone number record
Indicates this is an Import Phone Number (SIP provider)
"sip"
A human-readable label for this phone number
The SIP URI where calls are terminated
Username for SIP trunk authentication
Password for SIP trunk authentication
ID of the AI agent handling incoming calls
ID of the AI agent used for outbound calls
The infrastructure region for SIP routing: 'global' or 'bd' (Bangladesh)
global
, bd
, bd_link3
The phone number in E.164 format (e.g., +14155552671)
Unique identifier for this phone number record
Indicates this is a Pia Platform managed phone number
"pia"
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
The phone number in E.164 format, including country code (e.g., +14155552671)
Unique identifier for this phone number record
Indicates this is a direct Twilio integration phone number
"twilio"
A human-readable label for this phone number
The Twilio Account SID used for API authentication
The Twilio Auth Token used for API authentication
ID of the AI agent handling incoming calls
ID of the AI agent used for outbound calls