---
title: "Fetch wait times of available stylists for a selected service"
method: POST
path: "/v1/queue/available_times"
---

# Fetch wait times of available stylists for a selected service

`POST /v1/queue/available_times`

**Purpose**: The purpose of this API is to retrieve the wait times of available stylists for a selected service in a center.

## Query parameters

- `availability_by_time_slots` boolean
- `skip_catalog_validation` boolean
- `skip_kiosk_validation` boolean
- `first_available_times` string

## Request body

- object
  - `center_id` string — Unique identifier of the center.
  - `consider_online_hours` boolean — If true, Zenoti will consider the online hours while fetching the wait times. If false, Zenoti will not consider the online hours while fetching the wait times of available stylists.
  - `services` object — Object containing the service ids.

## Response `200`

200

- union
  - object
    - `available_times` object[]
      - `start_time` string
    - `first_availble_times` unknown
    - `available_times_by_guest` object[]
      - `start_time` string
    - `error` unknown
  - object
    - `available_times` object[]
      - `employee` object
        - `id` string
        - `display_name` string
        - `gender` string
      - `start_time` string
    - `first_availble_times` object
      - `any` object
        - `employee` object
          - `id` string
          - `display_name` string
          - `gender` string
        - `start_time` string
      - `female` object
        - `employee` object
          - `id` string
          - `display_name` string
          - `gender` string
        - `start_time` string
      - `male` object
        - `employee` object
          - `id` string
          - `display_name` string
          - `gender` string
        - `start_time` string
    - `available_times_by_guest` unknown
    - `error` unknown
  - object
    - `available_times` object[]
      - `employee` object
        - `id` string
        - `display_name` string
        - `gender` string
      - `start_time` string
    - `first_availble_times` unknown
    - `available_times_by_guest` unknown
    - `error` unknown
  - object
    - `available_times` object[]
      - `employee` object
        - `id` string
        - `display_name` string
        - `gender` string
      - `start_time` string
      - `wait_time_in_min` string
    - `first_availble_times` unknown
    - `available_times_by_guest` unknown
    - `error` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/versions/e628f892391a/schema)
