Public booking

Book a room as a visitor

Public: no bearer token. The same rules as the public booking page: within the room booking window, ending before midnight, and on an on-demand room duration_minutes (15, 30 or 60) from now instead of times. The title is capped and defaults when blank. Limited per token.

post/api/book/{token}/bookings

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/book/{token}/bookings
  • Auth: none declared

Query parameters

resource_typestring

Collection tokens only

resource_idinteger

Collection tokens only

Request body

titlestring nullable
starts_atstring

ISO 8601, or YYYY-MM-DDTHH:MM in the room time zone

ends_atstring
duration_minutes15 | 30 | 60

On-demand rooms only

Response

Booked

Example response

{
  "data": {
    "startsAt": "2026-06-12T10:00",
    "endsAt": "2026-06-12T11:00",
    "actionPath": "/api/book/{token}/bookings/12"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.