Send Events to HTTP Webhook Destination

Send events to your HTTP webhook endpoint via RudderStack.

This guide demonstrates how RudderStack transforms the event payload according to the specified destination configuration settings before sending it to the HTTP webhook endpoint.

Overview

info
This integration supports sending data only in cloud mode.

RudderStack does not place any constraints on the event format for the requests sent to your configured HTTP webhook endpoint. It transforms the event payload based on your event configuration settings before sending it to the specified webhook endpoint.

Example

This end-to-end example highlights the structure of the sample payload sent to your webhook endpoint (configured via the API URL setting), depending on the body format and the event configuration settings defined as follows:

API URL

https://example.com

Request body settings

  • XML Root Key (only applicable for XML body format): root
  • Field mappings:
KeyValue
$.event$.event
$.currency$.properties.currency
$.userId$.userId

Request URL settings

  • Path: path, $.userId
  • Query parameters:
KeyValue
keyvalue

Headers settings

KeyValue
headerheader_value

Event request

The track event request is shown below:

Event payload sent to the destination

RudderStack sends the corresponding event payloads to the configured webhook URL as shown:


Questions? Contact us by email or on Slack