User authentication and session management for B2B integrations
- Get comments
Get list of appointments
Create a New Appointment
Get an Appointment
Edit Appointment
Delete Appointment
Get a List of Partner Appointments
Get a visit
Get Visit Details
Edit Visit
Receipt PDF for the visit
Leave a Comment
Create Recurring Appointments
Update Recurring Appointments
Delete Recurring Appointments
Get comments
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/attendance/receipt_print/{visit_id}
- Productionhttps://api.alteg.io/api/v1/attendance/receipt_print/{visit_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/attendance/receipt_print/12345 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Request
The comment object has the following fields:
| Field | Type | Description |
|---|---|---|
| id | number | Comment ID |
| salon_id | number | location ID |
| type | number | 1 - comment to the team member, 0 - to the location |
| master_id | number | Team Member ID if type = 1 |
| text | string | Comment text |
| date | string | Date when the comment was left |
| rating | number | Rating (from 1 to 5) |
| user_id | number | Id of the user who left the comment |
| username | string | Name of the user who left the comment |
| user_avatar | string | Avatar of the user who left the comment |
| record_id | number | ID of the post after which the review was left (the value will be non-zero if the review was left through a link asking for a review after the visit) |
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/comments/{location_id}
- Productionhttps://api.alteg.io/api/v1/comments/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/comments/{location_id}?start_date=string&end_date=string&team_member_id=0&rating=0&page=0&count=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": [ { … } ], "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/comments/{location_id}/{team_member_id}
- Productionhttps://api.alteg.io/api/v1/comments/{location_id}/{team_member_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/comments/{location_id}/{team_member_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"mark": 4,
"text": "Everything is very bad!",
"name": "Victor"
}'Response
application/json
{ "success": true, "data": { "type": 1, "master_id": 8864, "id": 18437, "text": "Everything is very bad!", "date": "2026-09-21T23:00:00.000-05:00", "rating": 4, "user_id": 157169, "user_name": "Victor", "user_avatar": "/images/no-master.png" }, "meta": [] }