Webhook

We have migrated our webhooks infrastructure for better scalability and throughput. As a result, the old Webhook URLs are deprecated and will stop working soon. Please migrate to the new webhook URL (provided in the Set up Webhook section of your Pipeline Overview page) 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.




See Also

Last updated on 26 Jul 2021