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?appid=' \
  --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<int32>
required

Phone number ID.

Example:

123

Response

Inbound SMS support turned on or off successfully.

success
boolean
Example:

true