PUT
/
v1
/
businesses
/
{businessId}
/
sms

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string
required

The UUID of the business to update the SMS settings for

Body

application/json

The SMS configuration status to set for a business

sms_enabled
boolean

Whether SMS is enabled for this business

Response

200 - application/json

The SMS configuration status for a business

sms_enabled
boolean

Whether SMS is enabled for this business

sms_stopped
boolean

Whether this business has responded to Layer's SMS with "STOP"