Find available slots
GET/v1/partner/locations/:location_id/slots
Retrieves available appointment slots for a specified location. By default, it returns slots for today and the next six days. The number of days can be customized using the number_of_days_worth parameter. The response includes an array of objects representing the location and its available slots. Walk-in slots can be included or excluded based on the return_walkin_slots parameter.We recommend using the newer slots endpoint: /v2/partner/locations/{location_id}/slots
Token scope:{'scope': 'read:locations'}
Request​
Path Parameters
Required. The unique identifier of the location
Query Parameters
Default value: 7
Optional. Whether to include walk-in slots in the response. Default behavior may vary based on implementation
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
The unique identifier of the location
slots
object[]
required
A list of available appointment slots.
The date and time of the appointment in ISO8601 format.
[
{
"location_id": 0,
"slots": [
{
"appointment_date": "2024-07-29T15:51:28.071Z",
"availability": 0,
"busy": true,
"location_ids": [
"string"
]
}
]
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}