v1

latestOpenAPI 3.1.1Altegio API Agreement2026-08-062438211.0 KB
Online Booking

Get a List of Time Slots Available for Booking

The sessions available for booking object has the following fields:

FieldTypeDescription
timestringSession time (17:30 for example)
session_lengthnumberSession duration in seconds
datetimedatetimeDate and time of the session in ISO8601 format (must be passed when creating the appointment)

The following filters are available:

  • service_ids: Array of service IDs. If you need sessions, when can you book these services
get/book_times/{location_id}/{team_member_id}/{date}

Path parameters

location_idnumber required

location ID

datestring required

date in iso8601 format. Filter by booking date (eg '2026-09-30')

team_member_idnumber required

team member ID. Filter by team member ID Default: 0

Query parameters

service_ids[]string

Service ID. Filter by the list of service identifiers

Headers

Acceptstring required

e.g. application/vnd.api.v2+json

Content-Typestring required

application/json

Authorizationstring required

Bearer partner_token

Response

OK

successboolean

Execution success status (true)

metaobject[]

Metadata (empty array)

Example response

{
  "success": true,
  "data": [
    {
      "time": "12:00",
      "seance_length": 3600,
      "datetime": "2026-09-21T23:00:00.000-05:00"
    },
    {
      "time": "13:00",
      "seance_length": 3600,
      "datetime": "2026-09-21T23:00:00.000-05:00"
    },
    {
      "time": "14:00",
      "seance_length": 3600,
      "datetime": "2026-09-21T23:00:00.000-05:00"
    },
    {
      "time": "15:00",
      "seance_length": 3600,
      "datetime": "2026-09-21T23:00:00.000-05:00"
    },
    {
      "time": "16:00",
      "seance_length": 3600,
      "datetime": "2026-09-21T23:00:00.000-05:00"
    }
  ],
  "meta": []
}