import_number
import_number
Import an external phone number into the account.
Path parameters
AccountSid
The unique identifier for the account that is associated with this phone number.
Request
number
The phone number to import in E.164 format. Must start with `+` followed by 5-30 digits.
number_type
The type of phone number being imported.
Allowed values:
capabilities
The capabilities to enable for this phone number. If not provided, defaults to all capabilities (`sms`, `voice`, `fax`, `mms`). If provided, must include at least one capability.
Allowed values:
Response
account_id
The unique identifier for the account that is associated with this phone number.
account_sid
The unique identifier for the account that is associated with this phone number.
address_requirements
Whether or not a registered address with SignalWire is required. Always 'none'.
Allowed values:
address_sid
The unique identifier for the address associated with this phone number. Always null.
api_version
The version of the SignalWire API.
beta
New numbers on SignalWire are marked as beta. Always false.
capabilities
Whether or not a number can receive calls and messages.
country_code
The ISO 3166-1 alpha-2 country code for this phone number.
date_created
The date, in RFC 2822 format, this phone number was created.
date_updated
The date, in RFC 2822 format, this phone number was updated.
emergency_address_sid
The unique identifier of the address associated with E911 for this phone number, or null if not set.
emergency_status
Whether the phone route has an active E911 address associated. 'Active' or 'Inactive'.
friendly_name
A formatted version of the number.
identity_sid
The unique identifier for the identity associated with this phone number. Always null.
origin
The origin of the phone number.
Allowed values:
phone_number
The incoming number in E.164 format.
sid
The unique identifier for this phone number.
sms_application_sid
The unique identifier for the application associated with SMS handling on this phone number, or null if not set.
sms_fallback_method
Whether the request to `SmsFallbackUrl` is a `GET` or a `POST`.
sms_fallback_url
The URL to request if errors occur when fetching SmsUrl, or null if not set.
sms_method
Whether the request to SmsUrl is a `GET` or a `POST`.
sms_url
The URL to request when an incoming SMS is received, or null if not set.
status_callback
The URL to request to pass status updates to, or null if not set.
status_callback_method
Whether the request to StatusCallback is a `GET` or a `POST`.
trunk_sid
The unique identifier for the Trunk associated with this phone number. Always null.
uri
The URI for this number.
voice_application_sid
The unique identifier for the application associated with call handling on this phone number, or null if not set.
voice_caller_id_lookup
Whether or not to look up a caller's name in the database. Always null.
voice_fallback_method
Whether the request to VoiceFallbackUrl is a `GET` or a `POST`.
voice_fallback_url
The URL to request if errors occur when fetching `Url`, or null if not set.
voice_method
Whether the request to Url is a `GET` or a `POST`.
voice_url
The URL to request when an incoming call is received, or null if not set.
verification_status
The verification status for toll-free numbers. Only present for toll-free numbers.
Response Example
Response