Update an incoming phone number
Changes how an account-owned phone number is identified or routes inbound calls, messages, and faxes. Use this operation for form-encoded configuration; use SignalWire REST Update phone number for JSON configuration.
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
Request
The unique identifier of the address associated with E911 for this phone number. Not supported for toll-free numbers or certain providers.
Whether the request to SmsFallbackUrl is a GET or a POST. Default is POST.
Whether the request to SmsUrl is a GET or a POST. Default is POST.
Whether the request to StatusCallback is a GET or a POST. Default is POST.
Whether the request to VoiceFallbackUrl is a GET or a POST. Default is POST.
Whether the request to VoiceUrl is a GET or a POST. Default is POST.
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.