Webhooks, also known as web callbacks or HTTP endpoints, are a way for an application to provide another system with real-time information. The application with the info pushes it out in response to an event. Webhooks can be used in ProductLift applications so that when something happens on the service, ProductLift will send data about that event back to your server.
A webhook endpoint is an HTTP or HTTPS endpoint on your server with a URL. You can provide this to another service that wants to send you data and then receive the payload at that endpoint whenever it changes. Webhook endpoints are often used for sending push notifications, but they have much broader applications, especially when you're working in the API world. If you need to integrate something without using an API, using webhook endpoints could help make everything work together nicely.
Follow these steps to let ProductLift send webhooks to your endpoint:
ProductLift can send the data to multiple endpoints.
ProductLift sends the following events to your webhook endpoint(s):
Webhooks from ProductLift follow this structure:
Use webhook signatures to verify that ProductLift generated a webhook request and that it didn’t come from a server acting like ProductLift.
You can find your portal's secret at the top of the page. This secret is used to sign each webhook request.
The following webhook is sent by ProductLift when a new vote has been received.
You can see the vote, the post, and the portal data.