List Available Time Slots

Gives a list of all available booking slots

image-png-Mar-22-2024-01-24-05-8317-PM/appointments/slots

https://api.oauth.pabau.com/{api_key}/appointments/slots

Request

 

Query Parameters:  
api_key *  
employee_ids * System ID of the users (Comma separated)
date * "next7" for next 7 days,
Date (MM/YYYY) for whole month,
Date (YYYY-MM-DD) for specific date
service_ids * System ID of services (Comma separated)
location_id System ID of the location

Response sample

application/json

{
"{date}": {
  "{user_id}": [
      "10:45",
      "11:00",
      "11:15",
    "11:30"
      "13:00",
    "13:15"
      "14:15",
      "14:30",
    "14:45"
    ]
  },
"{date}": {
  "{user_id}": [
      "09:00",
      "09:15",
    "09:30"
    ]
  },
"{date}": {
  "{user_id}": [
      "09:00",
    "09:15",
      "10:15",
      "10:30",
    "10:45",
      "12:00",
    "12:15",
      "12:45",
      "13:00",
      "13:15",
      "13:30",
    "13:45"
    ]
}
}