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 the Structure of Appointments by Visit Status

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_status?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 visit status

Bodyapplication/jsonArray [
labelstring

Name of indicator

datainteger

Indicator value

]
Response
application/json
[ { "label": "Customer expectation", "data": 10 }, { "label": "The client came", "data": 30 }, { "label": "Customer confirmed", "data": 5 }, { "label": "Client didn't come", "data": 2 } ]

Get Data on the Number of Appointments 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

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/records_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

Number of appointments 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": "Number of records", "data": [] }, { "label": "Number of online appointments", "data": [] }, { "label": "Number of new customer appointments", "data": [] } ]

Get revenue statistics

Request

The method allows you to get statistics on revenue.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
date_tostringrequired

Period end date

date_fromstringrequired

Period start date

loyalty_program_idstringrequired

Promotion ID

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer bearer_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/analytics/loyalty_programs/income?date_to=string&date_from=string&loyalty_program_id=string' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status

Example: true
dataobject

Object with data

Example: {"income_stats":{"new":{"all_sum":0,"returned_sum":0},"old":{"all_sum":0,"returned_sum":0},"total":{"all_sum":0,"returned_sum":0}},"currency":{"id":1,"iso":"USD","name":"US Dollar","symbol":"USD","is_symbol_after_amount":true},"income_stats_by_day":[{"date":"2026-09-21","new_sum":0,"old_sum":0},{"date":"2026-09-21","new_sum":0,"old_sum":0}]}
metaArray of objects

Metadata (empty array)

Example: []
Response
application/json
{ "success": true, "data": { "income_stats": {}, "currency": {}, "income_stats_by_day": [] }, "meta": [] }

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