User authentication and verification endpoints for online booking
- Get Nearest Available Time Slots for Team Member
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
Each object from the array of team members available for booking has the following fields:
| Field | Type | Description |
|---|---|---|
| id | number | team member ID |
| name | string | team member name |
| specialization | string | team member specialization |
| position | object | team member position |
| bookable | boolean | Does the team member have sessions available for booking |
| weight | number | team member weight. When withdrawing, team members are sorted by weight, heavier first |
| show_rating | number | Whether to show team member's rating (1 - show, 0 - don't show) |
| rating | number | team member rating |
| votes_count | number | Number of votes rated team member |
| comments_count | number | Number of comments to a team member |
| avatar | string | Path to team member avatar file |
| information | string | Additional information about the team member (HTML format) |
| session_date | string | Date of the next day that there are available sessions (only for bookable = true) |
The following filters are available:
- service_ids: Array of service IDs. If you need team members who provide only the selected service
- datetime: date (in iso8601 format). If you need team members who have sessions for the specified service at the specified time
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/book_staff/{location_id}
- Production serverhttps://api.alteg.io/api/v1/book_staff/{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_staff/4564?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
Array of objects with data
{ "success": true, "data": [ { … }, { … } ], "meta": [] }
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": [] }