Python Webhook Server library v 1.0#
Warning!!!
The version is outdated and left for compatibility. The current version of the documentation can be found at the link.
Configuration#
Before you start, make sure that you have configured the instance to receive webhooks on your server
- Go to the GreenAPI console
- Create a free instance on the Developer plan
- In the instance settings, define the address of your webhook server. It is allowed to set both the domain name and the IP address
- Turn on the webhooks you want to receive. See the picture in console settings
- Save the instance settings
- Authorize the instance by scanning the QR code from your phone
- Write any message on WhatsApp to the number that is connected to the instance
- Watch in the web server console for incoming message webhooks
Server startup from the library#
Preparing environment#
- Example of preparing a server environment on the Ubuntu operating system
- Example of preparing a server environment on the Windows operating system
Library#
Server startup in Docker#
- Example of unrolling a server environment in a Docker container
- Example of unrolling a server via Docker Compose
- Example of unrolling a server in a Docker container on Yandex Cloud
Licensed under Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0).
Please see file LICENSE.