Skip to content

Get a list of sessions for the Appointment Calendar

Request

The sessions object for the log has the following fields:

FieldTypeDescription
timestringSession time (17:30 for example)
freebooleanFree time or busy
Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

datestringrequired

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

team_member_idnumberrequired

team member ID.

Headers
Acceptstringrequired

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

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/timetable/seances/{location_id}/{team_member_id}/{date}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
is_freebooleanrequired

free time or not

timestringrequired

Session time

Response
{ "success": true, "data": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ], "meta": [] }