Code preference:
Curl
Ruby
Php
Python
Node.js
C#
Java

How to setup webhooks

Setting up a webhook for your account is fairly easy. There are the requirements for getting this to work

  • Good understanding of scripting languages like php or ruby
  • Ability to host a webhook url for receiving webhook events

You can setup webhook by going to the web interface and configuring it there. That is the easiest way to go about it.

Before setting up the webhook you will need to configure it with a URL. Lets assume that you have your server on http://www.example.com/ and we upload the following php file there.

So the URL that you can configure your webhook with is http://www.example.com/webhook.php, you can go ahead and see your server logs from your control panel to see the requests coming in.

The webhook APIs lets you generate them programatically. You can do a lot more like put this in a database of your own for future analysis.