Webhooks
Omnichannel webhooks allow you to integrate the Rocket.Chat Omnichannel to any third-party system, e.g., CRM, Zoho, etc.
To access Webhooks settings, go to Administration > Workspace > Omnichannel > CRM Integration.
Create Omnichannel Webhook
To create a new Omnichannel webhook, go to Omnichannel > Webhooks.
Webhook URL: The Webhook URL from the system you want to connect (destination).
Secret Token: Enter the secret token that can be used to verify the webhook.
The field Secret Token is sent to a header X-RocketChat-Livechat-Token
so you can validate if the request became from Livechat.
If your endpoint returns a response status other than 200
, Rocket.Chat will retry ten times, waiting ten seconds between retries.
Send Request on: Select the action(s) you want this integration to have.
HTTP timeout (in milliseconds): Enter the request timeout value.
Click Save.
You can also Reset the values and Send Test for the Webhook setup.
Sample JSON Data
Here is an example of JSON data sent in the request.
Last updated