Find available times
Finds times when the participants are free inside the given periods (up to 100 participants and 200 periods spanning at most 62 days).
With format: "slots" it returns bookable slots that fit inside a period, start on the slot_interval_minutes grid from 00:00 UTC and leave every required participant free for the whole slot plus buffers. With format: "periods" it returns maximal free intervals instead.
Participants whose calendars can't be read are reported in errors and left out. With required: "all" any such error means no results.
https://api.bentocal.com/au/v1 /availabilityAuthentication
AuthorizationstringheaderBearer <token>requiredAn API key: bc_{live|test}_{region}_…, from the console.
Request body
application/jsonrequiredparticipantsarray of objectrequiredrequiredstringdefault: allall | anyall: every participant must be free.any: at least one must be; each result lists who is.periodsarray of objectrequiredWindows to search. Each must end after it starts, and together they span at most 62 days.
slot_duration_minutesintegerrange: 5…1440requiredLength of each slot.
slot_interval_minutesintegerrange: 5…1440Gap between slot start times, which align to this grid from 00:00 UTC. Defaults to
slot_duration_minutes.buffer_before_minutesintegerdefault: 0range: 0…240Free time required before each slot.
buffer_after_minutesintegerdefault: 0range: 0…240Free time required after each slot.
formatstringdefault: slotsslots | periodsslots: bookable slots ofslot_duration_minuteson theslot_interval_minutesgrid.periods: maximal free intervals (no grid) at leastslot_duration_minuteslong; withrequired: "any"an interval ends wherever the set of free participants changes.
Responses
slotsarray of AvailabilitySlotPresent when
formatisslots.periodsarray of AvailabilitySlotPresent when
formatisperiods.errorsarray of ParticipantErrorrequiredParticipants whose calendars could not be read. They are left out; with
required: "all"that means no results.