User authentication and session management for B2B integrations
- Delete Appointment
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.
Service parameters (id, cost, discount)
Client parameters (phone, name, email)
Whether to keep the appointment if the time is busy or non-working, or give an error
Specifies how many hours before the visit an SMS reminder should be sent to the client. Set to 0 if no reminder is needed.
Specifies how many hours before the visit an email reminder should be sent to the client. Set to 0 if no reminder is needed.
Appointment status (2 - User confirmed the appointment, 1 - User came, services provided, 0 - user waiting, -1 - user did not show)
Technical break duration in seconds.
- Must be in multiples of 300 (5-minute intervals)
- Maximum value is 3600 (1 hour)
- If null or not provided, uses location default from Settings → Appointment Log → Technical Breaks
Technical break duration in seconds.
- Must be in multiples of 300 (5-minute intervals)
- Maximum value is 3600 (1 hour)
- If null or not provided, uses location default from Settings → Appointment Log → Technical Breaks
- 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 PUT \
'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: application/json' \
-d '{
"staff_id": 8886,
"services": [
{
"id": 331,
"first_cost": 9000,
"discount": 50,
"cost": 4500
},
{
"id": 333,
"first_cost": 2000,
"discount": 10,
"cost": 1800
}
],
"client": {
"phone": "+13155550175",
"name": "James Smith",
"email": "j.smith@example.com"
},
"save_if_busy": false,
"datetime": "2026-09-21T23:00:00.000-05:00",
"seance_length": 3600,
"send_sms": true,
"comment": "test appointment!",
"sms_remain_hours": 6,
"email_remain_hours": 24,
"attendance": 1,
"api_id": "777",
"custom_color": "f44336",
"record_labels": [
"67345",
"104474"
],
"custom_fields": {
"my_custom_field": 123,
"some_another_field": [
"first value",
"second value"
]
}
}'Created
Object with data
{ "success": true, "data": { "id": 999, "services": [ … ], "client": { … }, "clients_count": 1, "staff": { … }, "datetime": "2026-09-21T23:00:00.000-05:00", "seance_length": 3600, "create_date": "2026-09-21T23:00:00.000-05:00", "comment": "test appointment!", "visit_attendance": 1, "confirmed": 1, "sms_before": 6, "sms_now": 1, "sms_now_text": "", "email_now": 1, "notified": 0, "master_request": 1, "api_id": "", "from_url": "", "review_requested": 0, "activity_id": 0, "documents": [ … ] }, "meta": [] }
- 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
- 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'{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }