Set up a webhook to easily integrate Omnichannel with your CRM. Permission required: view-livechat-manager
.
The authToken
of the authenticated user.
The userId
of the authenticated user.
{
"LivechatWebhookUrl": "https://webhook/d548683u3-7f38ow-48ba-ieooefa-oejiduiw",
"LivechatSecretToken": "",
"LivechatHttpTimeout": 5000,
"LivechatWebhookOnStart": true,
"LivechatWebhookOnClose": true,
"LivechatWebhookOnChatTaken": true,
"LivechatWebhookOnChatQueued": false,
"LivechatWebhookOnForward": false,
"LivechatWebhookOnOfflineMsg": true,
"LivechatWebhookOnVisitorMessage": true,
"LivechatWebhookOnAgentMessage": true
}
The destination webhook URL where the data will be sent.
A secret token that can be used to verify the webhook.
The request timeout value
When set to true, data is sent to the configured webhook URL each time a new chat starts.
When set to true, data is sent to the configured webhook URL each time a chat is closed.
When set to true, data is sent to the configured webhook URL each time a chat is taken.
When set to true, data is sent to the configured webhook URL each time a chat is queued.
When set to true, data is sent to the configured webhook URL each time a chat is forwarded.
When set to true, data is sent to the configured webhook URL each time offline messages are sent.
When set to true, data is sent to the configured webhook URL each time a visitor sends a message.
When set to true, data is sent to the configured webhook URL each time an agent sends a message.
OK
{
"success": true
}