Skip to content

Business Management (1.0.0)

Full-featured B2B API for business operations.

Base URL: https://api.alteg.io/api

⚠️ Version Status

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.

Authentication

Requires both partner and user authorization:

Authorization: Bearer <partner_token>, User <user_token>
Download OpenAPI description
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/

Authentication B2B

User authentication and session management for B2B integrations

Operations

Locations

Manage business locations (salons, clinics, etc.)

Operations

Services

Service catalog management including categories and team member assignments

Operations

Team Members

Staff management including positions and scheduling

Operations

Clients

Client database management with comments, files, and visit history

Operations

Users & Permissions

User account management and role-based access control

Operations

Appointments

Booking records and visit management

Operations

Events

Group events and class management

Operations

Schedule & Resources

Timetables, schedules, and resource allocation

Operations

Get a list of sessions for the Appointment Calendar

Request

The sessions object for the log has the following fields:

FieldTypeDescription
timestringSession time (17:30 for example)
freebooleanFree time or busy
Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

datestringrequired

date in iso8601 format. Filter by appointment date (eg '2026-09-30')

team_member_idnumberrequired

team member ID.

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/b2b-v1/openapi/timetable/seances/{location_id}/{team_member_id}/{date}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
is_freebooleanrequired

free time or not

timestringrequired

Session time

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

Getting Resources at a Location

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
Acceptstringrequired

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/b2b-v1/openapi/resources/{location_id}?Accept=string&Content-Type=string&Authorization=string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array with data objects

Example: [{"id":70,"title":"Pedicure chair","instances":[{"id":181,"title":"Pedicure chair #1","resource_id":70}]},{"id":464,"title":"massage room","instances":[{"id":1094,"title":"Massage room 1st floor","resource_id":464},{"id":1162,"title":"Massage room 2nd floor","resource_id":464}]}]
metaobject

Metadata (contains the number of resources found)

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

Search a Schedule by Event

Request

Search for a schedule based on the appointment or event linked to it, or based on the associated appointment or event.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example: 123
entity_typestringrequired

Type of an entity schedule is searched by:
record - individual appointment, currently not supported;
activity - group event.

Enum"record""activity"
Example: activity
entity_idnumberrequired

ID of an entity schedule is searched by.

Example: 123
Query
includeArray of strings

Requested set of an included models.

Items Enum"days""days.events_master""days.events_labels""days.events_resource_instances"
Headers
Acceptstringrequired

Should be equal to application/vnd.api.v2+json

Example: application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

Example: application/json
curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/123/schedules/search/activity/123?include=days' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean(response_success_true_object)

Response status.

dataobject(timetable_event_schedule)

Data for an existing schedule in a location.

metaArray of objects or arrays or object(response_meta_empty_object)

Additional response data (empty object or empty array)

Response
application/json
{ "success": true, "data": { "id": 123, "created_at": "2026-01-01T12:12:12-05:00", "updated_at": "2026-01-01T12:12:12-05:00", "deleted_at": null, "original_entity_type": "activity", "original_entity_id": 123, "date_start": "2026-01-01", "date_end": "2026-02-01", "days": [] }, "meta": {} }

Products

Product catalog and categories

Operations

Inventory

Stock management, storage operations, and tech cards

Operations

Sales

Sales transactions and document management

Operations

Payments

Payment processing, accounts, and KKM transactions

Operations

Notifications

SMS and email notifications to clients

Operations

Online Booking Settings

Configure online booking behavior and forms

Operations

Analytics & Reports

Business analytics, charts, and Z-reports

Operations

Tags

Label management for categorizing entities (deprecated, use v2)

Operations

Deposits

Client deposit accounts and operations

Operations

Loyalty Cards

Loyalty card types, issuance, and manual transactions

Operations

Subscriptions & Certificates

Membership subscriptions and gift certificates

Operations

Loyalty Programs

Discount programs, referral programs, and loyalty transactions

Operations

Salary

Staff salary calculations, payroll, and schemes

Operations

Notification Settings

Configure notification types and user preferences

Custom Fields

Custom field definitions for various entities

Operations

Chain Management

Multi-location chain operations and clients

Operations

Chain Loyalty Programs

Chain-level loyalty programs and transactions

Operations

Fiscalization

Tax system integration and KKM callbacks

Operations

Utilities

License info, phone validation, images, and tips

Operations