Webhook

NOTE: The webhook service has been separated from the Pipeline execution environment to improve performance. As a result, the old webhook URL is deprecated.
Switch to the new webhook URL (provided in the Setup Webhook section of your Pipeline Overview page) before December 31, 2020 to avoid disruption in your data loading operations.

new webhook notice


Hevo can capture data on a REST endpoint through a Webhook source. The data pushed into the endpoint will be available in your warehouse in real-time.

Once you create a pipeline with a Webhook Source, Hevo provides you with an HTTP endpoint.

Below is a cURL example to send an event to a webhook URL endpoint

curl -X POST \ https://us-webhook.hevo.io/t/ABCDEF1234 \
-d '[{
        "event":"an event name",
        "properties": {
            "a_string_property":"x",
            "a_integer_property":1,
            "a_boolean_property":true,
            "a_nested_property":{
                "a":"x",
                "b":1
            }
        }
    }, {
        "event":"an event name",
        "properties": {
            "a_string_property":"y",
            "a_integer_property":2,
            "a_boolean_property":false,
            "a_nested_property":{
                "a":"y",
                "b":2
            }
        }
    }]'

Please note that the payload to the URL is an array of event objects with two keys:

  • event: Name of the event
  • properties: Properties of the event as a JSON object to be ingested into the pipelines

Limitations

  • Only JSON payloads are accepted on webhook endpoints
  • Size of the payload should not exceed 16MB
Last updated on 03 Sep 2020