SlotCheckResponse
Response schema for checking a proposed time
Response schema for checking a proposed time
Example
{ "data": { "calendars": [ { "error": null, "id": "excal_a1b2c3d4e5f6", "name": "Other clinic", "provider_id": "prov_d025a96ac0c6", "status": "ok" } ], "conflicts": [ { "appointment_id": "appt_a1b2c3d4e5f6", "end_at": "2025-03-10T15:30:00Z", "provider_id": "prov_d025a96ac0c6", "source": "appointment", "start_at": "2025-03-10T15:00:00Z", "type": "buffer" }, { "calendar_id": "excal_a1b2c3d4e5f6", "end_at": "2025-03-10T17:00:00Z", "is_all_day": false, "provider_id": "prov_d025a96ac0c6", "start_at": "2025-03-10T16:00:00Z", "type": "external_event" } ], "matches_slot": false }}SlotCheck
The conflicts a proposed time would have for each provider checked.
SlotConflict
Something that makes a provider unavailable at a proposed time. The `type` field names the kind of conflict: - `appointment`: another appointment overlaps the proposed time. - `buffer`: an appointment, external calendar event, or booking intent hold overlaps only through a buffer. This is the proposed time's buffer or the other appointment's or hold's buffer. The `source` field names the kind of item. - `external_event`: an event on a conflict calendar overlaps the proposed time. - `block`: a block overlaps the proposed time. - `hold`: a booking intent holds an overlapping slot. - `outside_working_hours`: the proposed time is not within the provider's working hours. External event titles are never returned.