Register an Inbound Webhook
- Go to Settings > Webhooks, under Developers, and find the Inbound Webhooks section.
- Click Add, then give the webhook a name and description.
- Save. Courier generates a unique URL and shows it in the URL column, in the form
https://api.courier.com/inbound/webhook/<token>.
Send Events
Point the source system at the generated URL andPOST your JSON. No API key or auth header is needed. The URL itself carries a signed token that identifies your workspace.
Payload Handling
Courier accepts any payload up to 6 MB.
Courier answers
202 once it accepts the request. A 404 means the URL is wrong or no longer exists, in which case create a new webhook and repoint your system at the new URL.
Reserved Fields
Courier reads two fields out of a JSON payload if they’re present.
Every other field is yours. Courier passes them through as data on whatever consumes the event.
Use the Events
Point a journey’s Webhook trigger at the webhook by name. Optionally narrow it to a singleevent name, or leave it open to start on any event from that source. Payload fields become variables on the journey run.