Update an Incoming Phone Number
Allows you to modify the properties of an incoming phone number, including transferring it to another account.
Permissions
The API token must include the following scopes: Numbers.
Path Parameters |
---|
AccountSid uuid — REQUIREDThe unique identifier for the account that is associated with this phone number. |
Sid uuid — REQUIREDThe unique identifier of the phone number. |
Request Body — REQUIRED |
---|
AccountSid uuidThe unique identifier for an account to which the number should be transferred to. |
AddressSid stringThe unique identifier for the address associated with this phone number. |
EmergencyAddressSid stringThe unique identifier of the address associated with E911 for this phone number. |
FriendlyName stringA formatted version of the number. |
IdentitySid stringThe unique identifier for the identity associated with this phone number. |
SmsApplicationSid stringThe unique identifier for the application associated with SMS handling on this phone number. If |
SmsFallbackMethod stringPossible values: [ Whether the request to |
SmsFallbackUrl stringThe URL to request if errors occur when fetching SmsUrl. |
SmsMethod stringPossible values: [ Whether the request to SmsUrl is a |
SmsUrl stringThe URL to request when an incoming SMS is received. |
StatusCallback stringThe URL to request to pass status updates to. |
StatusCallbackMethod stringPossible values: [ Whether the request to StatusCallback is a |
TrunkSid stringThe unique identifier for the Trunk associated with this phone number. |
VoiceApplicationSid stringThe unique identifier for the application associated with call handling on this phone number. If |
VoiceCallerIdLookup booleanWhether or not to look up a caller's name in the database. |
VoiceFallbackMethod stringPossible values: [ Whether the request to VoiceFallbackUrl is a |
VoiceFallbackUrl stringThe URL to request if errors occur when fetching |
VoiceMethod stringPossible values: [ Whether the request to Url is a |
VoiceReceiveMode stringPossible values: [ Whether this number can receive calls or fax. Possible values are voice or fax. Default is voice. |
VoiceUrl stringThe URL to request when an incoming call is received. |
Responses | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 OK
|