Tours & Events

Tours

Multi-event itineraries grouped under a single tour

Tours are the top-level grouping for a collection of events.

Resource overview

GET/api/toursAPI key · Session
POST/api/toursAPI key · Session
GET/api/tours/{id}API key · Session
PATCH/api/tours/{id}API key · Session
DELETE/api/tours/{id}API key · Session

List tours

GET/api/toursAPI key · Session
NameTypeRequiredDescription
pageintegerOptionalPage number. Default: 1
limitintegerOptionalPage size. Default: 10
statusstringOptionalFilter by tour status.
200
{
  "data": [
    {
      "id": "tour-uuid",
      "name": "Summer 2026",
      "startDate": "2026-06-01T00:00:00Z",
      "endDate": "2026-08-31T00:00:00Z",
      "status": "active",
      "_count": { "events": 12 }
    }
  ],
  "total": 4,
  "page": 1,
  "limit": 10,
  "totalPages": 1
}

Create tour

POST/api/toursAPI key · Session
NameTypeRequiredDescription
namestringRequiredTour name.
startDatestring (ISO 8601)RequiredStart date.
endDatestring (ISO 8601)RequiredEnd date. Must be after startDate.
descriptionstringOptionalFree-form description.

Get tour

GET/api/tours/{id}API key · Session

Returns the tour with embedded events[].

Update tour

PATCH/api/tours/{id}API key · Session

Delete tour

DELETE/api/tours/{id}API key · Session
Deleting a tour cascades to its events. Confirm before calling.

On this page