OpenCourt Developers
API ReferenceSignal types

booking.created

A court booking was made. The payload is the Booking object, which carries no name, email or phone — resolve customer_id through the customers endpoints if you need them.

Scope: the webhook endpoint’s scopes must include bookings:read. Missed a delivery? The same signal is available from GET /v1/signals.

Header Parameters

svix-id*string

The delivery id — stable across retries of the same signal. Not the same string as the body’s id, but one-to-one with it, so either works as a dedupe key.

svix-timestamp*string

When this attempt was sent, in Unix seconds.

svix-signature*string

Signature over the id, timestamp and raw body, made with your endpoint’s secret. Verify it with any Standard Webhooks library before trusting the payload.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/booking.created