HTTP Incoming Webhook
Capture an event via a custom incoming webhook
Configuration
| Option | Description |
|---|---|
Event nameType: string Required: True | |
Distinct IDType: string Required: True | The distinct ID this event should be associated with |
Event propertiesType: json Required: False | A mapping of the incoming webhook body to the PostHog event properties |
Authorization header valueType: string Required: False | If set, the incoming Authorization header must match this value exactly. e.g. "Bearer SECRET_TOKEN" |
MethodType: choice Required: False | HTTP method to allow for the request. |
Log payloadsType: boolean Required: False | Logs the incoming request for debugging |
Using our REST API you can create this source_webhook like so:
Terminal