Skip to content

Python Webhook server library#


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#

Server startup in Docker#