User authentication and session management for B2B integrations
- Get a List of Partner Appointments
Get list of appointments
Create a New Appointment
Get an Appointment
Edit Appointment
Delete Appointment
Get a visit
Get Visit Details
Edit Visit
Receipt PDF for the visit
Get comments
Leave a Comment
Create Recurring Appointments
Update Recurring Appointments
Delete Recurring Appointments
Get a List of Partner App...
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/record/{location_id}/{record_id}
- Productionhttps://api.alteg.io/api/v1/record/{location_id}/{record_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/record/{location_id}/{record_id}?include_consumables=0&include_finance_transactions=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Request
- salon_id: Location ID
Use this to filter appointments for a specific location
- start_date: Visit date from
Filters appointments with a visit date starting from the specified date (inclusive)
- end_date: Visit date until
Filters appointments with a visit date up to the specified date (inclusive)
- created_start_date: Appointment creation date from
Filters appointments created on or after this date
- created_end_date: Appointment creation date until
Returns appointments created on or before this date
- user_id: User ID
Filters appointments created by a specific user
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/records/partner
- Productionhttps://api.alteg.io/api/v1/records/partner
- 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/records/partner?page=1&editable_length=50&salon_id=1&start_date=%2717.01.2025%27&end_date=%2717.01.2025%27&created_start_date=%2717.01.2025%27&created_end_date=%2717.01.2025%27&user_id=1' \
-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": { "count": 1 } }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/visits/{visit_id}
- Productionhttps://api.alteg.io/api/v1/visits/{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/visits/12345 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Object with data
Example: {"attendance":1,"datetime":"2026-09-21T23:00:00.000-05:00","comment":0,"records":[{"id":37955315,"company_id":4564,"staff_id":55436,"services":[],"events":[],"goods_transactions":[],"staff":{"id":55436,"name":"John Doe","specialization":"Manicure and pedicure","position":{"id":1,"title":"Supervisor"},"avatar":"https://app.alteg.io/uploads/masters/sm/b/bb/bb59d4cc17d9b16_20171215174158.png","avatar_big":"https://app.alteg.io/uploads/masters/origin/c/cf/cfb8c5cee58000b_20171215174158.png","rating":4.89,"votes_count":0},"client":{"id":4240788,"name":"dev1","phone":13155550175,"card":415,"email":"","success_visits_count":58,"fail_visits_count":9},"date":"2026-09-21T23:00:00.000-05:00","datetime":"2026-09-21T23:00:00.000-05:00","create_date":"2026-03-22T17:55:14-05:00","comment":"","online":false,"visit_attendance":1,"attendance":1,"confirmed":1,"seance_length":3600,"length":3600,"sms_before":1,"sms_now":1,"sms_now_text":"","email_now":1,"notified":0,"master_request":0,"api_id":"0","from_url":"","review_requested":0,"visit_id":8260852,"created_user_id":999290,"deleted":0,"paid_full":0,"prepaid":0,"prepaid_confirmed":0,"last_change_date":"2026-03-28T17:46:48-05:00","custom_color":"","custom_font_color":"","record_labels":[],"activity_id":0,"custom_fields":{},"documents":[{"id":8172893,"type_id":7,"storage_id":0,"user_id":746310,"company_id":4564,"number":4163,"comment":"","date_created":"2026-09-21T23:00:00.000-05:00","category_id":0,"visit_id":3,"record_id":2,"type_title":"Visit"}]}]}
Response
application/json
{ "success": true, "data": { "attendance": 1, "datetime": "2026-09-21T23:00:00.000-05:00", "comment": 0, "records": [ … ] }, "meta": [] }