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
Record a registration and queue its external notifications.
Send one direct webhook request without blocking registration on failure.
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
Send one consolidated payload to each distinct registration webhook.
Pretty-printed JSON for embedding in documentation
The example payload, matching what buildWebhookPayload would produce
Usage
import * as mod from "docs/webhooks.ts";