Webhook of messages WhatsApp

From English wiki app24.online
Revision as of 21:34, 18 November 2020 by Creator (talk | contribs)
Jump to navigation Jump to search

WEBHOOK is a script for processing incoming messages, which allows you to implement your own algorithm for automating business processes.

Incoming parameters: line id, corporate phone, customer phone number, message text, sender name.

Sample script: starting a business process through webhook (скачать архив).

Use so:

  1. Specify url on the preferences page.
  2. You can get data on the webhook side through a php script like this:

$postData = json_decode(file_get_contents('php://input'), true);