POST

Get Availability Time Slot


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves detailed information about a specific appointment time slot.

Call this method to get complete resource availability after finding a suitable slot with List Availability Time Slots (SDK | REST).

Defaults

Get Availability Time Slot uses the following defaults:

  • Returns all available resources unless filtered by resourceIds or includeResourceTypeIds.
  • Includes full booking status and capacity details

Service type limitations

Only appointment-based services are supported when calling Get Availability Time Slot.

To retrieve class session availability, you can call Get Event Time Slot (SDK | REST).

To retrieve course availability, you can follow the End-to-End Booking Flow for courses (SDK | REST).

Business hours exception

Wix Bookings disregards business opening hours when all of the following conditions are met:

  1. 1 or more staff members (SDK | REST) are needed to provide the service.
  2. No other resource type (SDK | REST) is needed to provide the service.
  3. The service doesn't have duration-based variants (SDK | REST).

In these cases, the working hours of the relevant staff member are used instead for availability calculation.

Endpoint
POST
https://www.wixapis.com/_api/service-availability/v2/time-slots/get

Errors
403Permission Denied

There is 1 error with this status code.

404Not Found

There are 3 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?