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

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

Get occupancy data by day

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
date_fromstring(date)required

Start date of the analyzed period

date_tostring(date)required

End date of the analyzed period (included in the report)

team_member_idinteger

ID of the location team member whose work needs to be analyzed

user_idinteger

The user ID of the location whose work you want to analyze

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/b2b-v1/openapi/company/{location_id}/analytics/overall/charts/fullness_daily?date_from=2019-08-24&date_to=2019-08-24&team_member_id=0&user_id=0' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

Occupancy by day

Bodyapplication/jsonArray [
labelstring

Name of data series

Example: "Revenue"
dataArray of integers(analytics_report_overall_chart_daily_row_item)

Data for each day. Each day is an array of two numbers. The first number is the timestamp of the beginning of the day in the UTC zone, the second number is the value of the indicator on that day.

Example: [["2026-09-21T23:00:00.000-05:00",1000],["2026-09-21T23:00:00.000-05:00",500]]
]
Response
application/json
[ { "label": "Working day occupancy, %", "data": [] } ]

Get data on revenue by day

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
date_fromstring(date)required

Start date of the analyzed period

date_tostring(date)required

End date of the analyzed period (included in the report)

team_member_idinteger

ID of the location team member whose work needs to be analyzed

position_idinteger

location position ID to analyze the work of all team members belonging to the same position

user_idinteger

The user ID of the location whose work you want to analyze

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/b2b-v1/openapi/company/{location_id}/analytics/overall/charts/income_daily?date_from=2019-08-24&date_to=2019-08-24&team_member_id=0&position_id=0&user_id=0' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

Revenue by day

Bodyapplication/jsonArray [
labelstring

Name of data series

Example: "Revenue"
dataArray of integers(analytics_report_overall_chart_daily_row_item)

Data for each day. Each day is an array of two numbers. The first number is the timestamp of the beginning of the day in the UTC zone, the second number is the value of the indicator on that day.

Example: [["2026-09-21T23:00:00.000-05:00",1000],["2026-09-21T23:00:00.000-05:00",500]]
]
Response
application/json
[ { "label": "Revenue", "data": [] } ]

Get the Structure of Appointments by Source

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
date_fromstring(date)required

Start date of the analyzed period

date_tostring(date)required

End date of the analyzed period (included in the report)

team_member_idinteger

ID of the location team member whose work needs to be analyzed

user_idinteger

The user ID of the location whose work you want to analyze

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/b2b-v1/openapi/company/{location_id}/analytics/overall/charts/record_source?date_from=2019-08-24&date_to=2019-08-24&team_member_id=0&user_id=0' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

Structure of appointments by sources

Bodyapplication/jsonArray [
labelstring

Name of indicator

datainteger

Indicator value

]
Response
application/json
[ { "label": "Administrator", "data": 10 }, { "label": "Widget", "data": 30 } ]

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