---
title: "Fetch wait times of a center (with center_ids or geolocation)"
method: POST
path: "/v1/queue/center_wait_times"
---

# Fetch wait times of a center (with center_ids or geolocation)

`POST /v1/queue/center_wait_times`

**Purpose**: The purpose of this API is to retrieve wait times for a list of centers or for centers in an area as per the Geolocation.

## Request body

- object
  - `center_ids` string — Object containing the ids of the centers for which you want to fetch the wait times. Note: Ensure the number of center_ids is less than 50. This API does not fetch the details if more than 50 center_ids are entered.
  - `geo_latitude` string — Latitude coordinate of the center. Note: If center_ids are provided, this parameter is not required.
  - `geo_longitude` string — Longitude coordinate of the center. Note: If center_ids are provided, this parameter is not required.
  - `distance` string — Range of the coordinate search. Note: If center_ids are provided, this parameter is not required.

## Response `200`

200

- union
  - object
    - `center_wait_times` object[]
      - `wait_time` integer
      - `center` object
        - `id` string
        - `name` string
        - `geo_latitude` number
        - `geo_longitude` number
        - `status` string
    - `error` unknown
  - object
    - `center_wait_times` object[]
      - `wait_time` integer
      - `center` object
        - `id` string
        - `name` string
        - `geo_latitude` number
        - `geo_longitude` number
        - `status` string
    - `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/revisions/e628f892391a/schema)
