Skip to content

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

Authentication

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.

Rate Limits

  • 200 requests per minute per IP address - 5 requests per second per IP address
Download OpenAPI description
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/public/openapi/
Production server
https://api.alteg.io/api/v1/

Authentication

User authentication and verification endpoints for online booking

Operations

Online Booking

Endpoints for booking form, services, staff, availability, and appointment management

Operations

Client Personal Cabinet

Client account management and booking history

Operations

Get User Appointments

Request

The JSON Object containing the user appointment parameters has the following fields:

FieldTypeMandatoryDescription
idnumberYESAppointment ID
servicesarray of numbersYESList of ID service appointments
locationobjectYESlocation parameters
staffobjectYESParameters of the team member who was booked. Note: "staff" is a legacy field name for team member.
clients_countintYESNumber of clients
datestringYESSession date
datetimestringYESSession date in ISO
create_datestringYESAppointment creation date
lengthnumberYESSession duration
deletedbooleanYESHas the appointment been created ? (true if deleted)
notify_by_smsnumberNONumber of hours in advance to send an SMS reminder for the appointment. Set to 0 to disable SMS reminders
notify_by_emailnumberNONumber of hours in advance to send an email reminder for the appointment. Set to 0 to disable email reminders
commentstringYESAppointment Comment
master_requestedbooleanYESWhether a specific team member was specified when appointment (false if "any team member" was specified)
onlinebooleanYESIndicates whether the appointment was created online by the client (true) or manually by an administrator (false)
visit_attendancenumberYES2 - The user confirmed the appointment, 1 - The user came, the services were provided, 0 - the user was waiting, -1 - the user did not come to visit
api_idstringNOExternal Appointment ID
last_change_datestringNODate of the last edit of the appointment
prepaidbooleanNOIs online payment available for appointment
prepaid_confirmedbooleanNOOnline payment status
last_change_datestringNODate of the last edit of the appointment
activity_idintNOEvent ID (for group events)

Each object in the services array has the following fields:

FieldTypeDescription
idnumberService ID
titlestringService name
costfloatService cost
price_minfloatMinimum price of the service
price_maxfloatMaximum service price
discountfloatDiscount
amountintNumber of ordered services
session_lengthintService duration in seconds (only if filter by team member is set)

The location object has the following fields:

FieldTypeDescription
idnumberlocation ID
titlestringlocation name
country_idnumberIdentifier of the country in which the location is located
countrystringlocation name
city_idnumberIdentifier of the city where the location is located)
citystringlocation city name
time zonestringtimezone locations
addressstringAddress where the location is located
phonestringlocation's main phone number
phonesarray of stringsAll phone numbers of the location
coordinate_latfloatLatitude where the location is located
coordinate lngfloatLongitude
allow_delete_recordbooleanIs it possible to delete an appointment
allow_change_recordbooleanIs it possible to reschedule the appointment
sitestringlocation website
currency_short_titlestringCurrency symbol
allow_change_record_delay_stepintTime after which you can reschedule the appointment
allow_delete_record_delay_stepintTime after which you can delete an appointment

The team member object has the following fields:

FieldTypeDescription
idnumberteam member ID
namestringteam member name
specializationstringteam member specialization
positionobjectteam member position
show_ratingnumberWhether to show team member's rating (1 - show, 0 - don't show)
ratingnumberteam member rating
votes_countnumberNumber of votes rated team member
comments_countnumberNumber of comments to a team member
avatarstringPath to team member avatar file
Security
BearerPartner
Path
record_idnumberrequired

Appointment ID

Example: 22123
record_hashstringrequired

HASH of the appointment

Example: 'dawd4fs09rhf0s9fafef0'
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/public/openapi/user/records/22123/'\''dawd4fs09rhf0s9fafef0'\''' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Created

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects

Example: [{"id":13132699,"services":[{"id":389043,"title":"Correction of extended nails","cost":2300,"price_min":2300,"price_max":2300,"discount":0,"amount":1,"seance_length":1800}],"company":{"id":4564,"title":"Nail studio","country_id":7,"country":"United States","city_id":2,"city":"New York","phone":"+13155550175","phones":[],"timezone":"-5","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":{"id":446,"title":"Manicurist"},"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},{"id":13133413,"services":[{"id":389045,"title":"Hand massage (10 min)","cost":300,"price_min":300,"price_max":400,"discount":0,"amount":1,"seance_length":1800}],"company":{"id":4564,"title":"Nail studio","country_id":7,"country":"United States","city_id":2,"city":"New York","phone":"+13155550175","phones":[],"timezone":"-5","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":{"id":446,"title":"Manicurist"},"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}]
metaArray of objects

Metadata (empty array)

Example: []
Response
application/json
{ "success": true, "data": [ {}, {} ], "meta": [] }

Delete User Appointment

Request

Security
BearerPartner
Path
record_idnumberrequired

Appointment ID (enough to delete the appointment if the user is authorized)

Example: 22123
record_hashstringrequired

HASH appointments (required to delete the appointment if the user is not authorized)

Example: 'dawd4fs09rhf0s9fafef0'
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 DELETE \
  'https://developer.alteg.io/_mock/en/public/openapi/user/records/22123/'\''dawd4fs09rhf0s9fafef0'\''' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Response
No content

Get appointment review

Request

Security
BearerPartner
Path
record_tokenstringrequired

Short appointment token

Headers
Acceptstringrequired

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

Example: application/vnd.api.v2+json
curl -i -X GET \
  'https://developer.alteg.io/_mock/en/public/openapi/master_record_review/{record_token}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>'

Responses

Returns data for displaying the feedback form and information about the status of submitting feedback and tips

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataobject

Object with data

Example: {"favicon_url":"https://www.app.alteg.io/favicon.png","is_review_submitted":false,"page_title":"Leave feedback","master":{"id":58961,"name":"Alex Johnson","company_id":28939,"specialization":"Permanent Makeup, Artistic Tattoo","rating":5,"show_rating":1,"avatar":"https://www.app.alteg.io/uploads/masters/sm/20161014151227_5360.jpg","prepaid":"forbidden","position":{"id":2185,"title":"Master PM"}},"company":{"id":28939,"title":"\"Eyes-n-Lips\" New York","logo":"https://www.app.alteg.io/uploads/s_a6f66721046345a6226ac3040a57fb7d.jpg","address":"New York, 787 Jackson Drive"},"tips":[],"record":{"id":8219891,"payed_cost":2000,"date":"2026-08-11T15:00:00-0500"},"currency":{"id":1,"iso":"USD","name":"US Dollar","symbol":"USD","is_symbol_after_amount":true},"agreement_links":{"terms_of_use":"https://www.app.alteg.io/info/terms-of-use-review-tips","confidentiality_agreement":"https://www.app.alteg.io/info/confidential"},"language":{"id":1,"locale":"en-US","iso":"usa"}}
metaArray of objects

Metadata (empty array)

Example: []
Response
application/json
{ "success": true, "data": { "favicon_url": "https://www.app.alteg.io/favicon.png", "is_review_submitted": false, "page_title": "Leave feedback", "master": {}, "company": {}, "tips": [], "record": {}, "currency": {}, "agreement_links": {}, "language": {} }, "meta": [] }