---
updatedAt: 2026-10-01T07:05:41.000Z
agentTools:
  projectIndex: https://docs.nexhealth.com/v2.2.2/llms.txt
---

# Availabilities

<Embed url="https://www.youtube.com/watch?v=xPPr_1XSn6w" href="https://www.youtube.com/watch?v=xPPr_1XSn6w" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FxPPr_1XSn6w%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DxPPr_1XSn6w%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FxPPr_1XSn6w%252Fhqdefault.jpg%26key%3Df2aa6fc3595946d0afc3d76cbbd25dc3%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22854%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" />

<br />

Availabilities represent a provider's working hours (they don't represent when the provider is free to accept new bookings).

To schedule appointments through NexHealth's API, you first need to set up provider availabilities. NexHealth offers two types of availabilities:

1. **Synced availability:** NexHealth reads these availabilities directly from the practice’s health record system.
2. **Manually configured availability:** These are developer-configured. They’re useful if you want to offer patients only a subset of availabilities that exist in the practice’s health record system, or if you want to offer patients ad hoc time slots that might not exist in the EHR. They’re necessary for the systems NexHealth doesn’t offer synced availability for.

## The relationship between get appointment slots and availabilities

The [get appointment\_slots](https://docs.nexhealth.com/v2.2.2/reference/getappointmentslots) endpoint returns time slots when a provider is free to accept new bookings. These slots are computed by subtracting unavailable time blocks and existing appointments from provider availabilities.

## Setting up synced availability

To enable synced availability, you need to send an email to <developers@nexhealth.com> specifying the locations you want it enabled for. Once you email us, we’ll take care of the rest.

You can view the synced data by calling [get availabilities](https://docs.nexhealth.com/v2.2.2/reference/getavailabilities).

## Setting up manual availability

Use the [post availabilities](https://docs.nexhealth.com/v2.2.2/reference/postavailabilities) endpoint to set up manual availability. These objects won't get inserted into health record systems. They will just be used to power [get appointment\_slots](https://docs.nexhealth.com/v2.2.2/reference/getappointmentslots).

> 📘 Recurring availability
>
> Availabilities can either repeat on specific days of each week like Monday Tuesday and Friday, or on a custom recurrence. To set up a custom recurrence you need to provide a `ref`, specifying when the recurrence begins, a `unit` specifying whether the recurrence is daily, weekly, or monthly, and a`num` specifying how many days/weeks/months happen between each recurrence.

> 📘 Timezones
>
> All availability times are shown in the location’s local time zone. You can check the time zone using the `tz_offset` property, which shows the difference from Coordinated Universal Time (UTC) in hours and minutes.

## Availabilities response object

```json
{
  "code": false,
  "description": "Description",
  "error": [
    "Error"
  ],
  "data": [
    {
      "id": 12,
      "provider_id": 7,
      "operatory_id": 149,
      "begin_time": "10:30",
      "end_time": "17:00",
      "appointment_types": [
        {
          "id": 1,
          "name": "Annual",
          "parent_type": "Institution",
          "parent_id": 1,
          "minutes": 15,
          "bookable_online": false
        }
      ],
      "days": [
        [
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday"
        ]
      ],
      "specific_date": "2022-11-03",
      "custom_recurrence": {
        "num": 3,
        "unit": "day",
        "ref": "2022-11-03"
      },
      "active": true,
      "synced": true
    }
  ],
  "count": 2
}
```

# Sub pages

* [Create availability](https://docs.nexhealth.com/v2.2.2/reference/postavailabilities.md)
* [View availabilities](https://docs.nexhealth.com/v2.2.2/reference/getavailabilities.md)
* [View availability](https://docs.nexhealth.com/v2.2.2/reference/getavailabilitiesid.md)
* [Edit availability](https://docs.nexhealth.com/v2.2.2/reference/patchavailabilitiesid.md)
* [Delete availability](https://docs.nexhealth.com/v2.2.2/reference/deleteavailabilitiesid.md)

# Sibling pages

* [Appointment Types](https://docs.nexhealth.com/v2.2.2/reference/appointment-types.md)
* [Appointments](https://docs.nexhealth.com/v2.2.2/reference/appointments-1.md)
* [Appointment Slots](https://docs.nexhealth.com/v2.2.2/reference/appointment-slots.md)