Skip to main content

Find available slots

GET 

/v2/partner/locations/:location_id/slots

Returns the slots for the number of days out configured in the Solv settings at the specified location. The response contains an array of objects representing the location and its slots. If a visit type ID is specified, available slots for that visit type will be returned. Otherwise, slots for the default visit type of the given location will be returned. The v2 endpoint differs from v1 in that it uses the number of days worth of slots configured in Solv settings, rather than a fixed or user-specified number of days. It also includes more sophisticated filtering of slots, removing past slots and those with disabled reservations.

Token scope:

{'scope': 'read:locations'}

Request​

Path Parameters

    location_id Location Idrequired

    Required. The unique identifier of the location.

Query Parameters

    return_walkin_slots Return Walkin Slots

    Optional. Whether to return walk-in slot times in the response

    with_booking_buffer With Booking Buffer

    Optional. Whether to buffer the slot times in the response for walk-in slots. This is a no-op if return_walkin_slots is false.

    visit_type_id Visit Type Id

    Optional. A Solv visit type ID. If specified, returns available slots for that visit type.

Responses​

Successful Response

Schema

  • Array [

  • location_id Location Id (integer)required

    The unique identifier of the location

    slots

    object[]

    required

    A list of available appointment slots.

  • Array [

  • appointment_date date-timerequired

    The date and time of the appointment in ISO8601 format.

    availability Availability (integer)required
    busy Busy (boolean)
    location_ids string[]
  • ]

  • ]

Loading...