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