GET /api/availability

Returns a list of bookable 30-minute consultation slots between from and to. Slot times are expressed in America/Denver and reflect real-time Google Calendar availability.

Quick reference

MethodGET
URLhttps://truvisory.com/api/availability
Responseapplication/json
OpenAPIavailability.json

Query parameters

NameRequiredTypeDescription
fromyesdate (YYYY-MM-DD)Window start, inclusive.
tonodate (YYYY-MM-DD)Window end, inclusive. Defaults to ~14 days after from.

Response (200)

{
  "timezone": "America/Denver",
  "days": [
    {
      "date": "2026-05-20",
      "slots": [
        { "start": "2026-05-20T09:00:00-06:00", "durationMinutes": 30 },
        { "start": "2026-05-20T09:30:00-06:00", "durationMinutes": 30 }
      ]
    }
  ]
}

Errors

StatusBodyCause
400{ "error": "bad_request" }Missing or malformed from.

Example

curl -s "https://truvisory.com/api/availability?from=2026-05-20&to=2026-06-03"

Next steps

Pick a start from the response and call POST /api/book to claim it.