Update a phone number
Updates the phone number identified by id. Only the provided fields are changed.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
The unique ID of the phone number.
123
Body
Fields to update on a phone number. All fields are optional; only the provided fields are changed.
Indicates whether SMS is enabled for the phone number.
true
Inbound call routing destinations for the phone number.
Callback URL for inbound messages.
"https://your-site.com/sms"
Indicates whether call recording is enabled.
true
Indicates whether call transcription is enabled.
true
Minimum call duration in seconds before transcription runs.
30
Callback URL for call status updates.
"https://your-site.com/calls"
Response
Returns the updated phone number.
Phone number ID.
123
Phone number.
"12565378257"
One-time activation fee in USD.
"0.99"
Monthly fee in USD.
"0.99"
Price per inbound minute in USD.
"0.01"
City or rate center where the phone number originates.
"DETROIT, MI"
Country where the phone number originates.
"United States"
Two-letter ISO country code.
"US"
Inbound call destinations set for the phone number.
Maximum number of concurrent inbound calls.
24
Documents required to activate the phone number.
["1"]Uploaded documents for the phone number.
Indicates whether the number can be used as the Caller ID for local calls.
Label assigned to the phone number.
Phone number status. active means the number can receive and place calls; inactive means it cannot.
Total inbound call duration in seconds for current month.
Date and time the phone number was purchased in ISO 8601 format.
"2023-04-10T06:42:59.000Z"
Date until which the number is paid.
"2023-12-07"
Indicates whether SMS is enabled.
false
Callback URL for inbound SMS and MMS messages.
"https://your-website.com/webhook"
Indicates whether CNAM is enabled.
true
Indicates whether call recording is enabled.
true
Indicates whether transcription is enabled.
true
Minimum call duration in seconds to trigger transcription.
6
State where the phone number originates. For non-US numbers, this field may be null.
Number of free inbound minutes.
Indicates whether usage is unlimited.
Callback URL for call status updates.
"https://example.com"