Webhook

ON THIS PAGE

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 \ http://asia.hevo.io/api/config/io/v1.0/receiver/eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2MyIsInNvdXJjZV9pZCI6NjIsInNvdXJjZV90eXBlIjoiV0VCSE9PSyIsInNvdXJjZV9uYW1lIjoiZGFzZCJ9.KEXCIOs7rB3YrTYf6IXVpxw1jxms7z-vV_inVm4O4mk \ 
-H 'content-type: application/json' \
-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