Online Booking

Get Nearest Available Time Slots for Team Member

the team member's nearest sessions object has the following fields:

FieldTypeDescription
session_datestringNext date with available sessions
sessionsarrayList of available sessions

The following filters are available:

  • service_ids: Array of service IDs. If you need sessions, when can you book these services
  • datetime: date (in iso8601 format) for which you want to get the next sessions
get/book_staff_seances/{location_id}/{team_member_id}

Request

  • Base URL
    https://api.alteg.io/api/v1
  • URL
    https://api.alteg.io/api/v1/book_staff_seances/{location_id}/{team_member_id}
  • Auth
    HTTP bearer

Path parameters

location_idnumber required

location ID

team_member_idnumber required

team member ID

Query parameters

service_ids[]number[]

Service ID. Filter by the list of service identifiers

datetimenumber

date in iso8601 format. Filter by date

Headers

Acceptstring required

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

Content-Typestring required

application/json

Response

OK

successboolean

Execution success status (true)

metaobject[]

Metadata (empty array)

Example response

{
  "success": true,
  "data": {
    "seance_date": "2026-09-21",
    "seances": [
      {
        "time": "10:00",
        "seance_length": 3600,
        "sum_length": 3600,
        "datetime": "2026-09-21T10:00:00-05:00"
      },
      {
        "time": "10:15",
        "seance_length": 3600,
        "sum_length": 3600,
        "datetime": "2026-09-21T10:15:00-05:00"
      },
      {
        "time": "10:30",
        "seance_length": 3600,
        "sum_length": 3600,
        "datetime": "2026-09-21T10:30:00-05:00"
      }
    ]
  },
  "meta": []
}

Changes

No recorded changes to this operation across all 6 revisions of this API.