User authentication and verification endpoints for online booking
- Get Dates Available for Booking
Online Booking (1.0.0)
Public API for client-facing online booking integration. This API enables third-party developers to embed online booking functionality into external platforms such as business catalogs, branded apps, and partner services. Base URL: https://api.alteg.io/api
All requests require partner authorization via Bearer token in the HTTP header: Authorization: Bearer <partner_token> To obtain a partner token, register in the Altegio Marketplace.
Request
the team member's nearest sessions object has the following fields:
| Field | Type | Description |
|---|---|---|
| session_date | string | Next date with available sessions |
| sessions | array | List 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
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/book_staff_seances/{location_id}/{team_member_id}
- Production serverhttps://api.alteg.io/api/v1/book_staff_seances/{location_id}/{team_member_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/public/openapi/book_staff_seances/{location_id}/{team_member_id}?service_ids%5B%5D=0&datetime=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Object with data
{ "success": true, "data": { "seance_date": "2026-09-21", "seances": [ … ] }, "meta": [] }
Request
The dates available for booking object has the following fields:
| Field | Type | Description |
|---|---|---|
| working_days | array of working days grouped by month | Working days of a team member/organization |
| working_dates | array of dates | An array of dates when the team member/organization works |
| booking_days | array of days when there are free sessions | Array of days that are available for booking for the specified services |
| booking_dates | array of dates | An array of dates when there are free sessions for the service to the selected team member/organization |
working days and booking_days have the same format: month:[array of days in this month]
For example, this booking_days: "9": [ "4", "5"] "10": [ "14", "25"] Means that on September 4 and 5, and on October 14 and 25 there are free sessions for booking
The following filters are available:
- service_ids: Array of service IDs. If you need dates when you can book the specified services
- staff_id: team member ID. If you need dates when you can book the specified team member
- date: Date within a month, if you need dates for a specific month
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/book_dates/{location_id}
- Production serverhttps://api.alteg.io/api/v1/book_dates/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/public/openapi/book_dates/{location_id}?service_ids%5B%5D=string&staff_id=0&date=2026-09-01&date_from=2026-09-01&date_to=2026-09-30' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Data (object)
{ "success": true, "data": { "booking_days": { … }, "booking_dates": [ … ], "working_days": { … }, "working_dates": [ … ] }, "meta": [] }
Request
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
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/book_times/{location_id}/{team_member_id}/{date}
- Production serverhttps://api.alteg.io/api/v1/book_times/{location_id}/{team_member_id}/{date}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/public/openapi/book_times/{location_id}/{team_member_id}/{date}?service_ids%5B%5D=string' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
{ "success": true, "data": [ { … }, { … }, { … }, { … }, { … } ], "meta": [] }