Get available slots

Get available booking slots for a human within a date range. This is the core endpoint your AI agent calls to find when a human is free. **How slot computation works:** 1. Loads the human's base availability rules and schedule overrides 2. For each day in the requested range: - Skips the day if an all-day block override matches - Generates candidate slots from the base schedule (working days + hours) - Removes slots that overlap with time-specific block overrides - Adds extra slots from open overrides (availability outside base hours) 3. Deduplicates overlapping slots 4. Filters out slots that conflict with existing confirmed bookings 5. Returns the remaining available slots All times are returned in **UTC**. The `timezone` field indicates the human's local timezone so your agent can convert for display. Returns an empty `slots` array (not an error) when no availability exists in the range.

Authentication

AuthorizationBearer
API key authentication. Pass your key as a Bearer token: ``` Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx ``` Get your API key from the [Slotflow Dashboard](https://app.slotflow.dev).

Path parameters

humanIdstringRequiredformat: "uuid"
The ID of the human

Query parameters

date_fromdateRequired

Start of date range (inclusive)

date_todateRequired

End of date range (inclusive)

durationintegerRequired

Meeting duration in minutes. Must match one of the human’s configured meeting_durations.

Response

Available slots within the date range
human_idstring or nullformat: "uuid"
durationinteger or null
Requested duration in minutes
timezonestring or null

Human’s IANA timezone (informational, for display conversion)

slotslist of objects or null
Available time slots, sorted by start time. Empty array if no availability.
totalinteger or null
Number of available slots

Errors