Skip to main content
POST
/
v3
/
appointment-definitions
/
{appointmentDefinition}
/
available-slots
Browse Available Appointment Slots
curl --request POST \
  --url https://api.{tenant}.getomneo.com/api/v3/appointment-definitions/{appointmentDefinition}/available-slots \
  --header 'Content-Type: application/json' \
  --data '
{
  "location_id": 123,
  "date": "2023-12-25",
  "staff_id": "<string>"
}
'
{
  "data": {
    "date": "<string>",
    "timezone": "<string>",
    "appointment_definition_id": 123,
    "location_id": 123,
    "requires_staff": true,
    "customer_must_select_staff": true,
    "assigned_staff_required": true,
    "staff": {
      "id": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>"
    },
    "slots": [
      "<string>"
    ]
  },
  "meta": {
    "slot_interval_minutes": 123,
    "duration_minutes": 123,
    "buffer_before_minutes": 123,
    "buffer_after_minutes": 123,
    "min_lead_minutes": 123,
    "max_advance_days": 123,
    "max_concurrent_bookings": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

appointmentDefinition
integer
required

The appointment definition ID

Body

application/json
location_id
integer
required
date
string<date>
required
staff_id
string | null

Response

AppointmentAvailableSlotsResource

data
object
required
meta
object
required