User authentication and session management for B2B integrations
/
Phone number format check
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.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi
Production
https://api.alteg.io/api/v1
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/license/{location_id}
- Productionhttps://api.alteg.io/api/v1/license/{location_id}
- 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/license/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": { "id": 1, "salon_id": 4523464, "staff_limit": 5, "deactivation_date": "08.11.2019", "start_date": "07.05.2025", "name": "Start", "active": 1, "is_paid_rights_model": false, "options": [ … ] }, "meta": [] }
Security
BearerPartner
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/validation/validate_phone/{phone}
- Productionhttps://api.alteg.io/api/v1/validation/validate_phone/{phone}
- 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/validation/validate_phone/{phone}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": { "is_valid": true }, "meta": [] }
Request
The response object has the following fields:
| Field | Type | Description |
|---|---|---|
| image_binded | boolean | Status of linking images to an entity |
| image_group | object | Image group object |
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/images/{entity}
- Productionhttps://api.alteg.io/api/v1/images/{entity}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/images/"master"' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F company_id=0 \
-F service_id=0 \
-F master_id=0 \
-F image=stringResponse
application/json
{ "success": true, "data": { "image_binded": false, "image_group ": { … } }, "meta": [] }