Skip to main content
PATCH
Bulk update phone numbers

Authorizations

Authorization
string
header
required

Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.

Body

application/json

A single patch applied to every listed phone number. All mutable fields are optional.

ids
integer[]
required

Numbers (by ID) to apply the patch to. The same patch is applied to every listed number.

Example:
sms_enabled
boolean

Indicates whether SMS is enabled for the phone numbers.

Example:

true

destinations
NumberDestination · object[]

Inbound call routing destinations for the phone numbers.

sms_relay_url
string<uri>

Callback URL for inbound messages.

Example:

"https://your-site.com/sms"

call_recording_enabled
boolean

Indicates whether call recording is enabled.

Example:

true

transcription_enabled
boolean

Indicates whether call transcription is enabled.

Example:

true

transcription_threshold
integer

Minimum call duration in seconds before transcription runs.

Example:

30

call_status_url
string<uri>

Callback URL for call status updates.

Example:

"https://your-site.com/calls"

Response

Returns the updated phone numbers.

items
Number · object[]

The updated phone numbers.