Configuration
Update SMS configuration
Updates the SMS settings for the business associated with the provided business id. Currently this setting is an enabled
flag.
PUT
/
v1
/
businesses
/
{businessId}
/
sms
Authorizations
Authorization
string
headerrequiredBearer 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
requiredThe 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"