v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

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

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.

post/v1/queue/center_wait_times

Request body

center_idsstring

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_latitudestring

Latitude coordinate of the center. Note: If center_ids are provided, this parameter is not required.

geo_longitudestring

Longitude coordinate of the center. Note: If center_ids are provided, this parameter is not required.

distancestring

Range of the coordinate search. Note: If center_ids are provided, this parameter is not required.

Response

200

OR

Example response

{
  "center_wait_times": [
    {
      "wait_time": 45,
      "center": {
        "id": "43a52000-60ed-484c-938d-0ff02b542c33",
        "name": "Element Ps US",
        "geo_latitude": 17.4487381,
        "geo_longitude": 78.3748667,
        "status": "Open"
      }
    }
  ]
}