Online Booking
Get a List of Time Slots Available for Booking
Changed onThe sessions available for booking object has the following fields:
| Field | Type | Description |
|---|---|---|
| time | string | Session time (17:30 for example) |
| session_length | number | Session duration in seconds |
| datetime | datetime | Date 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}
Request
- Base URLhttps://api.alteg.io/api/v1
- URLhttps://api.alteg.io/api/v1/book_times/{location_id}/{team_member_id}/{date}
- AuthHTTP bearer
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
exclude_record_idnumber
ID of an existing Appointment that is being rescheduled. When set, the search also accepts Services that are no longer available for online booking, so the Appointment can be moved even if its Service was switched offline. The Appointment's current time still counts as busy.
Headers
Acceptstring required
e.g. application/vnd.api.v2+json
Content-Typestring required
application/json
Authorizationstring required
Bearer partner_token
Response
OK
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": []
}Changes
- info
added the new optional
queryrequest parameterexclude_record_id
- info