Segment Config

You need the Manage Settings permission to manage segment config.

Segment Config
- Segment Config Manage
GET livechat/segmentConfig
POST livechat/segmentConfig:disable
POST livechat/segmentConfig:enable
Model
Segment Config JSON Format

Segment Config is represented as simple flat JSON objects with the following keys:

Name Type Description
isEnabled bool Whether segment config is enabled or not.
Endpoint
Get a single Segment Config

GET livechat/segmentConfig

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/segmentConfig \
-X 'GET' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"isEnabled":true}
Disable the Segment Config

POST livechat/segmentConfig:disable

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/segmentConfig:disable \
-X 'POST' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"isEnabled":false}
Enable the Segment Config

POST livechat/segmentConfig:enable

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/segmentConfig:enable \
-X 'POST' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"isEnabled":true}