Step One: Setup a server with a webhook application
To set up a very simple receiving messages interface, you will use a Node.js application. As simple as the interface is, that will be the webhook application. We just need to create a server with 4 endpoints to catch API callbacks.
To make things even simpler, we have already created this application for you. You can find it in the GitHub repository https://github.com/tyntec/webhook-starter as the server.js file.
Now, we have the application so let's serve it somewhere. We want to show you how to make things easy, so let's go to serve it with Glitch, which is a simple tool for creating web apps.
1. Go to https://glitch.com/.
2. Start a new project by selecting New project > Clone from Git Repo.