---
title: "Get a List of Time Slots Available for Booking"
method: GET
path: "/book_times/{location_id}/{team_member_id}/{date}"
tags: ["Online Booking"]
---

# Get a List of Time Slots Available for Booking

`GET /book_times/{location_id}/{team_member_id}/{date}`

## Request

- Base URL: `https://api.alteg.io/api/v1`
- URL: `https://api.alteg.io/api/v1/book_times/{location_id}/{team_member_id}/{date}`
- Auth: HTTP bearer

The 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

## Path parameters

- `location_id` number, required
- `date` string, required
- `team_member_id` number, required

## Query parameters

- `service_ids[]` string
- `exclude_record_id` number

## Headers

- `Accept` string, required
- `Content-Type` string, required
- `Authorization` string, required

## Response `200`

OK

- BookTimesCompanyidDataTypes: Get a List of Sessions Available for appointment
  - `success` boolean: Execution success status (true)
  - `data` object[]: Array of objects with data
    - `time` string: Session time (HH:MM format)
    - `seance_length` number: Session duration in seconds
    - `sum_length` number: Total duration including all selected services in seconds
    - `datetime` string, date-time: Session date and time in ISO 8601 format
  - `meta` object[]: Metadata (empty array)

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-10-06** `64709259ecfb`: 1 info
  - added the new optional `query` request parameter `exclude_record_id`

[Operation history](https://skmtc.dev/alteg/apis/online-booking/changes/book_times/:location_id/:team_member_id/:date/get.md)

---

[API](https://skmtc.dev/alteg/apis/online-booking.md) - [All operations](https://skmtc.dev/alteg/apis/online-booking/llms.txt) - [OpenAPI document](https://skmtc.dev/alteg/apis/online-booking/revisions/5219afc665ea?raw)
