User authentication and verification endpoints for online booking
- Change Online Booking Date/Time
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.
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/book_record/{location_id}/{record_id}/{record_hash}
- Production serverhttps://api.alteg.io/api/v1/book_record/{location_id}/{record_id}/{record_hash}
- 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_record/{location_id}/22123/'\''dawd4fs09rhf0s9fafef0'\''' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Service ID List
location parameters
team member parameters
04-02T12:00:00Z' (required, string) - Session date
04-02T12:00:00Z' (required, string) - Appointment creation date
2 - the user confirmed the appointment, 1 - the user came, the services were provided, 0 - the user was waiting, -1 - the user did not show'
Specifies how many hours in advance an SMS reminder should be sent before the appointment. Set to 0 to disable SMS reminders
Specifies how many hours in advance an email reminder should be sent before the appointment. Set to 0 to disable email reminders
Indicates whether a specific team member was selected for the appointment. Set to false if the "any team member" option was chosen.
Indicates whether the appointment was created online by the client (true) or manually by an administrator (false)
The date and time when the appointment was last modified
{ "id": 13132699, "services": [ { … } ], "company": { "id": 4564, "title": "Nail studio", "country_id": 7, "country": "United States", "city_id": 2, "city": "New York", "phone": "+13155550175", "phones": [], "timezone": "12", "address": "New York, 787 Jackson Drive", "coordinate_lat": 40.73061, "coordinate_lon": -73.935242, "allow_delete_record": true, "allow_change_record": true, "site": "www.example.com", "currency_short_title": "USD", "allow_change_record_delay_step": 0, "allow_delete_record_delay_step": 0 }, "staff": { "id": 55436, "name": "Natalie Parker", "specialization": "Team Member in manicure and pedicure", "position": { … }, "show_rating": 1, "rating": 4.84, "votes_count": 0, "avatar": "http://example.com/image.png", "comments_count": 37 }, "clients_count": 1, "date": "2026-09-21T23:00:00.000-05:00", "datetime": "2026-10-24T17:30:00-0500", "create_date": "2026-10-20T21:40:24-0500", "comment": "", "deleted": true, "attendance": 0, "length": 1800, "notify_by_sms": 0, "notify_by_email": 0, "master_requested": false, "online": true, "api_id": "", "last_change_date": "2026-10-24T23:54:02-0500", "prepaid": false, "prepaid_confirmed": false, "activity_id": 0 }
Date and time to which we want to move the appointment
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/book_record/{location_id}/{record_id}
- Production serverhttps://api.alteg.io/api/v1/book_record/{location_id}/{record_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/public/openapi/book_record/{location_id}/{record_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"datetime": "2026-09-21T23:00:00.000-05:00",
"comment": "DODO!"
}'OK
Data (object)
{ "success": true, "data": { "id": 30358, "services": [ … ], "company": { … }, "staff": { … }, "date": "2026-09-21T23:00:00.000-05:00", "create_date": "2026-09-21T23:00:00.000-05:00", "comment": "", "deleted": true, "length": 3600, "notify_by_sms": 0, "notify_by_email": 0, "master_requested": false, "online": true, "api_id": 0 } }
SMS confirmation code for verifying the phone number. This field is required if the location has phone_confirmation = true
Specifies how many hours in advance an SMS reminder should be sent before the appointment. Set to 0 to disable SMS reminders.
Specifies how many hours in advance an email reminder should be sent before the appointment. Set to 0 to disable email reminders
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/activity/{location_id}/{event_id}/book
- Production serverhttps://api.alteg.io/api/v1/activity/{location_id}/{event_id}/book
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/public/openapi/activity/{location_id}/{event_id}/book' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'{ "success": true, "data": { "id": 28417878, "hash": "9e6a54a1a9b118b65cc39ab6f3c3b5b4" }, "meta": [] }