[go: up one dir, main page]

Skip to content

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#
Library#

Server startup in Docker#

Licensed under Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0).

Please see file LICENSE.