Skip to main content
PUT
/
mydids
/
update-sms-enabled
SMS-enable a specific number
curl --request PUT \
  --url https://api.wavix.com/v1/mydids/update-sms-enabled \
  --header 'Content-Type: application/json' \
  --data '{
  "sms_enabled": true,
  "id": 123
}'
{
  "success": true
}

Authorizations

appid
string
query
required

An API key to authorize your request

Body

application/json
sms_enabled
boolean
required

Turn inbound SMS support on or off for the number.

Example:

true

id
integer
required

Phone number ID.

Example:

123

Response

Inbound SMS support turned on or off successfully.

success
boolean
Example:

true

I