Retrieve an incoming phone number
Retrieves one account-owned phone number by Incoming Phone Number SID so you can inspect how it is used in the project. Use List all Incoming Phone Numbers to discover SIDs, or native Get phone number when working with SignalWire resource IDs.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Path parameters
Response
How incoming calls to this number are handled. laml_webhooks sends calls to voice_url, and laml_application sends them to the application in voice_application_sid. Any other value means the number’s call handler was set outside the Compatibility API.
This field is read-only in the Compatibility API. Setting VoiceUrl or VoiceApplicationSid switches the number to laml_webhooks or laml_application; to choose any other handler, use Update phone number.
The ISO 3166-1 alpha-2 country code for this phone number.
Whether the number is part of a port-in that hasn’t completed. A number pending port-in can’t be assigned to a 10DLC campaign.
Whether the request to SmsFallbackUrl is a GET or a POST.
Whether the request to SmsUrl is a GET or a POST.
Whether the request to StatusCallback is a GET or a POST.
Whether the request to VoiceFallbackUrl is a GET or a POST.
The URL to request if errors occur when fetching Url, or null if not set.
Whether the request to Url is a GET or a POST.
The verification status for toll-free numbers. Only present for toll-free numbers.