Webhook test apps for Node.js, Ruby, and Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Webhook Test Apps

Each folder contains a functioning test app for Node.js, Ruby, and Python. Each uses their respective popular web frameworks, Express, Sinatra, and Flask. To run, do the following:

  1. Open up your terminal and navigate to the language you're testing:
  • For Node.js, cd node
  • For Ruby, cd ruby
  • For Python, cd python
  1. Install dependencies:
  • For Node.js, npm install
  • For Ruby, bundle install
  1. Open up either the index.js, index.rb, or index.py and replace your 'WEBHOOK_SECRET' with your webhook secret found in your webhook dashboard after clicking into the the webhook you want to test from that list.
  2. Run the app:
  • For Node.js, node index.js
  • For Ruby, ruby index.rb
  • For Python, python index.py
  1. Open up a local tunnel using ngrok to the local port specified after the previous step. Typically, for Node.js it will be port 5000, for Ruby it will be port 4567, and for Python it will be port 5000.
  2. Set the URL given by ngrok on the webhook dashboard.
  3. Send a test webhook by selecting the Ping button on the webhook dashboard.