Bookings / Integrations
HTTP routes
Every route lives under /api/bookings/v1 on the site it serves and only ever sees that site's records.
| Kind | Paths | Who |
|---|---|---|
| Staff | /api/bookings/v1/… | A signed-in session with the route's capability. Writes send the CSRF token as x-csrf-token. |
| Public | /api/bookings/v1/public/… | Anyone. Writes skip the CSRF token but must come from a page on the site, and use a honeypot field and tighter rate limits. |
| Account | /api/bookings/v1/account/… | The signed-in customer, on their own bookings, credits, and participants. |
| Plugin | /api/bookings/v1/linked/… | Another plugin only, through ctx.plugins.call: a commerce provider reporting its own payment outcomes and credits. |
Errors are { "error": { "code", "message", "details" } } with stable codes. The API reference lists every route with its inputs, access, and responses.