Request This endpoint expects an object.
PhoneNumber string Required format: "^\+\d{5,17}$"6-18 characters
The phone number to purchase in E.164 format. Must start with + followed by 5-17 digits.
FriendlyName string Optional
A friendly name for the phone number. If not provided, the formatted phone number will be used.
SmsApplicationSid string Optional format: "uuid"
The unique identifier for the application associated with SMS handling on this phone number.
SmsFallbackMethod enum Optional Defaults to POST
Whether the request to SmsFallbackUrl is a GET or a POST. Default is POST.
Allowed values: GET POST
SmsFallbackUrl string Optional format: "uri"
The URL to request if errors occur when fetching SmsUrl.
SmsMethod enum Optional Defaults to POST
Whether the request to SmsUrl is a GET or a POST. Default is POST.
Allowed values: GET POST
SmsUrl string Optional format: "uri"
The URL to request when an incoming SMS is received.
StatusCallback string Optional format: "uri"
StatusCallbackMethod enum Optional Defaults to POST
Whether the request to StatusCallback is a GET or a POST. Default is POST.
Allowed values: GET POST
VoiceApplicationSid string Optional format: "uuid"
The unique identifier for the application associated with call handling on this phone number.
VoiceFallbackMethod enum Optional Defaults to POST
Whether the request to VoiceFallbackUrl is a GET or a POST. Default is POST.
Allowed values: GET POST
VoiceFallbackUrl string Optional format: "uri"
The URL to request if errors occur when fetching VoiceUrl.
VoiceMethod enum Optional Defaults to POST
Whether the request to VoiceUrl is a GET or a POST. Default is POST.
Allowed values: GET POST
VoiceReceiveMode enum Optional Defaults to voice
Whether this number can receive voice calls or faxes. Default is voice.
Allowed values: voice fax
VoiceUrl string Optional format: "uri"
The URL to request when an incoming call is received.
Response Response returned when an incoming phone number is created.
account_id string format: "uuid"
The unique identifier for the account that is associated with this phone number.
account_sid string format: "uuid"
The unique identifier for the account that is associated with this phone number.
address_requirements enum
Whether or not a registered address with SignalWire is required. Always 'none'.
Allowed values: none any local foreign
address_sid string or null
The unique identifier for the address associated with this phone number. Always null.
api_version string
The version of the SignalWire API.
beta boolean
New numbers on SignalWire are marked as beta. Always false.
capabilities object
Whether or not a number can receive calls and messages.
country_code string
The ISO 3166-1 alpha-2 country code for this phone number.
date_created string
The date, in RFC 2822 format, this phone number was created.
date_updated string
The date, in RFC 2822 format, this phone number was updated.
emergency_address_sid string or null
The unique identifier of the address associated with E911 for this phone number, or null if not set.
emergency_status string
Whether the phone route has an active E911 address associated. 'Active' or 'Inactive'.
friendly_name string
A formatted version of the number.
identity_sid string or null
The unique identifier for the identity associated with this phone number. Always null.
origin enum
The origin of the phone number.
Allowed values: signalwire hosted
phone_number string
The incoming number in E.164 format.
sid string
The unique identifier for this phone number.
sms_application_sid string or null
The unique identifier for the application associated with SMS handling on this phone number, or null if not set.
sms_fallback_method string
Whether the request to SmsFallbackUrl is a GET or a POST.
sms_fallback_url string or null
The URL to request if errors occur when fetching SmsUrl, or null if not set.
sms_method string
Whether the request to SmsUrl is a GET or a POST.
sms_url string or null
The URL to request when an incoming SMS is received, or null if not set.
status_callback string or null
The URL to request to pass status updates to, or null if not set.
status_callback_method string
Whether the request to StatusCallback is a GET or a POST.
trunk_sid string or null
The unique identifier for the Trunk associated with this phone number. Always null.
uri string
The URI for this number.
voice_application_sid string or null
The unique identifier for the application associated with call handling on this phone number, or null if not set.
voice_caller_id_lookup boolean or null
Whether or not to look up a caller's name in the database. Always null.
voice_fallback_method string
Whether the request to VoiceFallbackUrl is a GET or a POST.
voice_fallback_url string or null
The URL to request if errors occur when fetching Url, or null if not set.
voice_method string
Whether the request to Url is a GET or a POST.
voice_url string or null
The URL to request when an incoming call is received, or null if not set.
verification_status string
The verification status for toll-free numbers. Only present for toll-free numbers.