Inbound Processing Region API - PhoneNumber
In the context of the Inbound Processing Region API, a PhoneNumber
resource represents the routing configuration for a particular IncomingPhoneNumber.
By adjusting the value of the voice_region
property, you can control which Twilio Region will process and store data related to inbound calls for the phone number.
Changes to this resource may take up to 5 minutes to take effect.
PhoneNumber properties
Resource Properties in REST API format | |
---|---|
phone_number
|
The phone number in E.164 format |
url
|
The absolute URL of the resource. |
sid
|
A 34 character string that uniquely identifies the Inbound Processing Region assignments for this phone number. |
account_sid
|
The unique SID identifier of the Account. |
friendly_name
|
A human readable description of the Inbound Processing Region assignments for this phone number, up to 64 characters. |
voice_region
|
The Inbound Processing Region used for this phone number for voice. |
date_created
|
The date that this phone number was assigned an Inbound Processing Region, given in ISO 8601 format. |
date_updated
|
The date that the Inbound Processing Region was updated for this phone number, given in ISO 8601 format. |
Fetch a PhoneNumber's current Inbound Processing Region configuration
https://routes.twilio.com/v2/PhoneNumbers/{PhoneNumber}
Parameters
Parameters in REST API format | |
---|---|
phone_number
Path
|
The phone number in E.164 format |
Example 1
Update a PhoneNumber's Inbound Processing Region configuration
https://routes.twilio.com/v2/PhoneNumbers/{PhoneNumber}
Parameters
Parameters in REST API format | |
---|---|
phone_number
Path
|
The phone number in E.164 format |
voice_region
Optional
|
The Inbound Processing Region used for this phone number for voice |
friendly_name
Optional
|
A human readable description of this resource, up to 64 characters. |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.