Actions20
Webhook → Create
AI-generatedSummary
Create a new webhook in the Posthawk system by specifying its target URL and the events to listen for.
Inputs
- URL (required) — The target URL where the webhook POST requests will be sent.
- Events — A list of event types that trigger the webhook, such as delivery, bounce, or complaint. Defaults to ['delivery','bounce','complaint'].
Output shape
A single JSON object representing the created webhook, including details such as the webhook ID, URL, and subscribed events.
The output contains the webhook data returned by the Posthawk API upon successful creation. Errors are returned as failure objects unless 'continueOnFail' is enabled, in which case errors appear in the output items as JSON error messages.