Returns available appointment slots for a time range. Time range must not exceed 2 months (62 days).
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/self-scheduling/availability
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/self-scheduling/availability
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/self-scheduling/availability?selfSchedulingSettingId=123&startUnix=1704067200000&endUnix=1706745600000&locationId=1&appointmentTypeId=10&practitionerIds=7%2C8%2C9' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Availability slots retrieved successfully
If true, the patient can choose their practitioner and each slot includes a practitionerToConfig map. If false, the system auto-assigns the best-ranked practitioner and each slot includes a single practitionerId.
Example:true
List of practitioners who have availability in the queried time range
Available time slots grouped by date. Keys are dates in M/d/yyyy format (e.g. "1/15/2025"). Values are arrays of available slots for that date, sorted by time then practitioner rank. Only dates with available slots are included.
Response
- System auto-assigns the best-ranked practitioner per slot
- Patient chooses practitioner; each slot lists all available practitioners
Non-selectable practitioners
{ "slotsByDate": { "1/15/2025": [ … ], "1/16/2025": [ … ] }, "practitioners": [ { … }, { … } ], "arePractitionersSelectable": false, "timeZone": "America/New_York" }