Webhook – is a mechanism for notifying one system about events in another. With the help of a webhook, you can implement your own algorithms for automating business processes.
For more information, see the example of launching a business process via webhook (download the archive).
- channel id;
- corporate phone number;
- customer's phone number;
- message text;
- Full NAME of the sender.
To use the webhook, in the ChatApp settings window, enter the webhook URL in the Called URL field:
To get data on the webhook side via a php script, use the format:
$postData = json_decode(file_get_contents('php://input'), true);