Book a Tent API

Read-only. Each API key belongs to one tenant and only reads that tenant's database.

Request

GET /api/public/v1/{resource}?limit=50&offset=0&<column>=<value>
Header: x-api-key: <tenant key>

limit max 500. Password-like columns are never returned.

Date ranges

GET /api/public/v1/bookings?fld_companyid=1

Filter on any column: fld_companyid=1 returns only bookings for that company. Add _from / _to for range filters, and combine with include, e.g. ?fld_companyid=1&include=articles,customer.

Date ranges

Bookings with articles

GET /api/public/v1/bookings?include=articles&overlaps_from=2026-07-01&overlaps_to=2026-07-31

For bookings, overlaps_from / overlaps_to return every booking whose period overlaps the range (including ones starting before or ending after it).

Adds an articles array to each booking (from tbl_artsinbooking, via FLD_BelongsTo).

Bookings with customer details

GET /api/public/v1/bookings?include=customer

Adds a customer object to each booking (from tbl_customers, matched by name via FLD_Customer; null if none). Combine with include=articles,customer to get both.

Resources