Webhook delivery and API examples.
Sends registration notifications to configured webhook URLs with listing and attendee details. Includes example payloads for the public JSON API.
Build a consolidated webhook payload from registration entries
Log attendee registration and send consolidated webhook Used for single-listing registrations
Send consolidated webhook to all unique webhook URLs for the given entries
Send a webhook payload to a URL Fires and forgets - errors are logged but don't block registration
Attendee data needed for webhook notifications
Consolidated payload sent to webhook endpoints
Listing data needed for webhook notifications
Single ticket in the webhook payload
Example availability response JSON
Example free booking response JSON
Example paid booking response JSON
Example booking request body
Example listing matching the webhook example data
The bundle both package examples describe: browsing lists it, and the package endpoint documents the same one in full.
The example PublicListing, produced by toPublicListing
Example list response JSON
Example single-listing response JSON
Pretty-printed JSON for embedding in documentation
The example payload, matching what buildWebhookPayload would produce
Usage
import * as mod from "docs/webhooks.ts";