Availability

Get time slots for a date

Returns the resolved bookable slots for a given date. A date is bookable when at least one slot is not taken and offers ≥1 duration.

get/api/v1/availability/slots

Request

  • Base URL: http://localhost:3002
  • URL: http://localhost:3002/api/v1/availability/slots
  • Auth: HTTP bearer

Query parameters

datestring date required

Date in YYYY-MM-DD format

Example:2026-07-04

Response

Resolved slots for the date

datestring date required
availableboolean required

True when some slot is not taken and offers ≥1 duration

Example response

{
  "date": "2026-07-04",
  "slots": [
    {
      "slotKey": "morning",
      "label": "Morning",
      "anchorTime": "08:00",
      "offeredDurations": [
        {
          "hours": 4,
          "startTime": "08:00",
          "endTime": "12:00",
          "priceCents": 60000
        }
      ],
      "defaultDurationHours": 4
    }
  ]
}

Changes

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