Shift Config
You need the Manage Settings permission to manage shift config.
Shift Config
- Shift Config Manage
GET livechat/shiftConfig
POST livechat/shiftConfig:disable
POST livechat/shiftConfig:enable
Model
Shift Config JSON Format
Shift Config is represented as simple flat JSON objects with the following keys:
Name | Type | Description |
---|---|---|
isEnabled |
bool | Whether shift config is enabled or not. |
Endpoint
Get a single Shift Config
GET livechat/shiftConfig
Example
Sample Request:
curl https://api11.comm100.io/v4/livechat/shiftConfig \
-X
'GET'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK
Disable the Shift Config
POST livechat/shiftConfig:disable
Example
Sample Request:
curl https://api11.comm100.io/v4/livechat/shiftConfig:disable \
-X
'POST'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK
Enable the Shift Config
POST livechat/shiftConfig:enable
Example
Sample Request:
curl https://api11.comm100.io/v4/livechat/shiftConfig:enable \
-X
'POST'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK