User authentication and verification endpoints for online booking
- Book Event
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.
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": [] }
Request
Retrieves the privacy policy configured for a specific location. This endpoint should be called before creating an online booking record to check if the location has a custom privacy policy.
If a location has a custom privacy policy configured, the online booking flow must:
- Display the policy text to the user
- Show a checkbox for accepting the privacy policy
- Only proceed with booking creation after the user has checked the acceptance checkbox
If no custom policy is configured for the location, the booking can proceed without showing any policy acceptance step.
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/privacy_policy/{location_id}
- Production serverhttps://api.alteg.io/api/v1/privacy_policy/{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/privacy_policy/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'{ "success": true, "data": { "agreement": { … } }, "meta": [] }