View available slots (beta)
🚧 Beta
Send Nex-Api-Version: v3.1.0 to use this endpoint. It is still changing, and access is limited to approved partner institutions. Contact NexHealth before you build on it.
Changed from v3.0.0: Adds query params location_id[], only_active_providers, operatory_id[], provider_id[] (+1 more); removes query params lids[], operatory_ids[], pids[]; changes query param slot_interval; and other schema changes.
This endpoint returns the bookable slots for the requested locations over the given date range, computed from provider availabilities and existing appointments. At least one of provider_id or appointment_type_id must be provided.
Request
- Base URLhttps://nexhealth.info
- URLhttps://nexhealth.info/available_slots
- AuthAPI key in header Authorization
Query parameters
Used to scope the request to the specified institution
Date string you want results to start at, format YYYY-MM-DD
Number of days to include, counting the start date. For best performance, this value should not exceed 14 days.
Only consider working hours that belong to this schedule template
Specify an appointment type to filter returned slots and set slot_length to appointment_type.minutes
Filter by specific working hour label
Filter by source of working hours
Manually specify slot length in minutes. Defaults to 15 minutes
Manually specify the time in minutes between returned slot start times when a contiguous opening exists longer than the slot_length
Return all available slots for operatories at a given time instead of returning only the first found. Default is false
Only return availabilities for active providers, omitting slots for providers marked as inactive. Default is false
Number of appointments (default:1, max:5) that can be booked in a single slot. Only supported for athenahealth, eClinicalWorks, ModMed and NextGen.
NexHealth IDs of the locations
NexHealth IDs of the providers
NexHealth IDs of the operatories. Specify this if booking is mapped to operatory in this location
Headers
The NexHealth API version
Response
Successful
Example response
{
"description": "Description",
"error": [
"Error message"
],
"data": [
{
"lid": 1,
"pid": 83,
"operatory_id": 54,
"slots": [
{
"time": "2017-10-09T07:00:00.000-04:00",
"end_time": "2017-10-09T07:30:00.000-04:00",
"operatory_id": 54,
"provider_id": 83,
"working_hour_label_id": 11,
"working_hour_id": 1234,
"schedule_template_id": 7,
"appointment_type_id": 27
}
],
"next_available_date": "2022-11-17"
}
],
"count": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.