Webhooks Integration

Keen IO is a set of powerful APIs that allow you to stream, compute, and visualize events from anything connected to the internet. This makes integrating with webhooks a logical fit.

A webhook is an HTTP callback which allows one application to provide other applications with real-time information. A webhook delivers data to other applications as it happens, meaning you get data immediately. A webhook is a simple event-notification via HTTP POST. An HTTP POST occurs when something happens, and most webhooks will POST data in JSON.

Webhooks make it super easy to send off any event that is created through a third party service. These could be your own database instance, log files, SendGrid Email integration, or Stripe payment system. As long as it has an outgoing webhook, we can stream and collect that data.

The following API URL can be used as an endpoint for any service that produces outgoing webhooks:

https://api.keen.io/3.0/projects/PROJECT ID/events/EVENT_COLLECTION?api_key=WRITE_KEY

Replace PROJECT_ID, EVENT_COLLECTION, and WRITE_KEY with the Project ID, Event Collection, and Access Key you’re using. This will help direct your stream of data to the project and event collection where you would like to record these events. When an event occurs in the application, each webhook request will be recorded as a new event.

At times, some webhooks have inefficient data models that include objects such as lists and array. So it might make sense in some cases to setup a server to make the data a little more nicely formatted before it is sent to Keen IO.

We have created a special integration with SendGrid & Stripe Webhooks.

See their integration guides for super easy setup: