Configuration
Fetch SMS configuration
Returns the SMS settings for the business associated with the provided business id. Currently this setting is an enabled
flag. Note that SMS must be enabled on both a platform level (see /v1/configure/sms) and an individual business level in order to receive SMS messages.
GET
/
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 fetch the SMS settings for
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"