Installation
- 28 Jul 2022
- 1 Minute to read
- Print
- DarkLight
Installation
- Updated on 28 Jul 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Installation
You need the Manage campaigns permission to get live chat code.
Installations
- Installations ManageGET livechat/campaigns/{id}/installation
- Installation Code
Installation JSON Format
Installation is represented as simple flat JSON objects with the following keys:
Name | Type | Description |
---|---|---|
installationCode | string | The main live chat code. |
installationSecondCode | string | The second live chat code. |
installationChatLink | string | The chat window link of visitor side. |
Installation Code
GET livechat/campaigns/{id}/installation
Parameters:
Name | Type | in | Required | Description |
---|---|---|---|---|
id | string | path | yes | Id of the Campaign. |
Response:
Example
Sample Request:
curl https://api11.comm100.io/v4/LiveChat/campaigns/22f0b296-69e9-4b81-abe4-4bb9ed5ec9ef/installation \
-X 'GET' \
-H 'Authorization: Bearer {access_token}' \
Response:
HTTP/1.1 200 OK
{
"installationCode": "\r\n<div></div>\r\n\r\n",
"installationSecondCode": "\r\n<div></div>\r\n\r\n"
"installationChatLink": "\r\n<div></div>\r\n\r\n"
}
Was this article helpful?