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

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

Get a list of location team members with their tip settings

Request

Security
BearerPartner
Path
location_idintegerrequired

location ID

Headers
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/tips/{location_id}/settings' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Collection of objects

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1,"location_id":253859,"staff_id":742418,"hash":"ba816199-eecf-4bd2-9f1d-db470545bfaf","status":3,"status_title":"pending account","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/ba816199-eecf-4bd2-9f1d-db470545bfaf/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/742418/tips/pay/","invite_sms_sent":false,"staff":{"id":742418,"name":"Fusa","specialization":"cosmetologist","avatar":"https://assets.alteg.io/masters/sm/c/c7/c77a4bf2b6b3896_20210304004333.png","employee":{"id":733043,"phone":"+13155550175"},"user":{"id":1553930,"name":"James Smith","email":"j.smith@example.com","phone":"+13155550175"},"position":{"id":103883,"title":"Yogist"}}},{"id":152763,"location_id":253859,"staff_id":743018,"hash":"b7c81cab-290a-4b0a-ad05-9c4b98ef3565","status":4,"status_title":"everything is set","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/b7c81cab-290a-4b0a-ad05-9c4b98ef3565/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/743018/tips/pay/","invite_sms_sent":false,"staff":{"id":743018,"name":"Natasha M","specialization":"manicurist","avatar":"https://api.alteg.io/images/no-master-sm.png","employee":{"id":733547,"phone":"+13155550175"},"user":{"id":6259059,"name":"Alice Smith","email":"a.smith@example.com","phone":"+13155550175"},"position":{"id":103731,"title":"Manicurist"}}}]
metaobject

Metadata (contains the number of found team members)

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

Disable Tips for the team member

Request

Security
BearerPartnerUser
Path
location_idintegerrequired

location id

master_tips_settings_idintegerrequired

tip settings id

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X POST \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/tips/{location_id}/settings/{master_tips_settings_id}/disable' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Tip settings object

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1,"location_id":253859,"staff_id":742418,"hash":"ba816199-eecf-4bd2-9f1d-db470545bfaf","status":3,"status_title":"pending account","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/ba816199-eecf-4bd2-9f1d-db470545bfaf/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/742418/tips/pay/","invite_sms_sent":false,"staff":{"id":742418,"name":"Fusa","specialization":"cosmetologist","avatar":"https://assets.alteg.io/masters/sm/c/c7/c77a4bf2b6b3896_20210304004333.png","employee":{"id":733043,"phone":"+13155550175"},"user":{"id":1553930,"name":"James Smith","email":"j.smith@example.com","phone":"+13155550175"},"position":{"id":103883,"title":"Yogist"}}},{"id":152763,"location_id":253859,"staff_id":743018,"hash":"b7c81cab-290a-4b0a-ad05-9c4b98ef3565","status":4,"status_title":"everything is set","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/b7c81cab-290a-4b0a-ad05-9c4b98ef3565/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/743018/tips/pay/","invite_sms_sent":false,"staff":{"id":743018,"name":"Natasha M","specialization":"manicurist","avatar":"https://api.alteg.io/images/no-master-sm.png","employee":{"id":733547,"phone":"+13155550175"},"user":{"id":6259059,"name":"Alice Smith","email":"a.smith@example.com","phone":"+13155550175"},"position":{"id":103731,"title":"Manicurist"}}}]
metaobject

Metadata (contains the number of found team members)

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

Enable Tips for the team member

Request

Security
BearerPartner
Path
master_tips_settings_idintegerrequired

tip settings id

location_idnumberrequired

location ID

Headers
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/tips/{location_id}/settings/{master_tips_settings_id}/enable' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

Tip settings object

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1,"location_id":253859,"staff_id":742418,"hash":"ba816199-eecf-4bd2-9f1d-db470545bfaf","status":3,"status_title":"pending account","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/ba816199-eecf-4bd2-9f1d-db470545bfaf/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/742418/tips/pay/","invite_sms_sent":false,"staff":{"id":742418,"name":"Fusa","specialization":"cosmetologist","avatar":"https://assets.alteg.io/masters/sm/c/c7/c77a4bf2b6b3896_20210304004333.png","employee":{"id":733043,"phone":"+13155550175"},"user":{"id":1553930,"name":"James Smith","email":"j.smith@example.com","phone":"+13155550175"},"position":{"id":103883,"title":"Yogist"}}},{"id":152763,"location_id":253859,"staff_id":743018,"hash":"b7c81cab-290a-4b0a-ad05-9c4b98ef3565","status":4,"status_title":"everything is set","is_enabled":true,"landing_external":"https://app.alteg.io/tips/external/253859/b7c81cab-290a-4b0a-ad05-9c4b98ef3565/","master_tips_form_link":"https://app.alteg.io/companies/253859/staff/743018/tips/pay/","invite_sms_sent":false,"staff":{"id":743018,"name":"Natasha M","specialization":"manicurist","avatar":"https://api.alteg.io/images/no-master-sm.png","employee":{"id":733547,"phone":"+13155550175"},"user":{"id":6259059,"name":"Alice Smith","email":"a.smith@example.com","phone":"+13155550175"},"position":{"id":103731,"title":"Manicurist"}}}]
metaobject

Metadata (contains the number of found team members)

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