User authentication and session management for B2B integrations
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.
ID of a position that should be linked to a team member.
Phone number of a user that should be linked to a team member (without "+", 9 to 15 digits).
Email address of the user to be created or linked to the team member.
User phone number (without "+", 9 to 15 digits). Can be the same as phone_number or different for user account login.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/staff/quick
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/staff/quick
- 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/company/123/staff/quick \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "John Johnson",
"specialization": "Cosmetologist",
"position_id": 123,
"phone_number": 11234567890,
"user_email": "john.johnson@example.com",
"user_phone": 11234567890,
"is_user_invite": false
}'{ "success": true, "data": { "id": 123, "name": "John Johnson", "company_id": 123, "specialization": "Master", "avatar": "https://app.alteg.io/images/no-master-sm.png", "avatar_big": "https://app.alteg.io/images/no-master.png", "position": { … } }, "meta": {} }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/staff/{team_member_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/staff/{team_member_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/company/{location_id}/staff/{team_member_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Team member data object
{ "success": true, "data": [ { … } ], "meta": { "total_count": 1 } }
Request
This endpoint is deprecated. Use GET /v2/companies/{company_id}/positions instead.
The method allows you to get a list of current positions in the location.
Migration: The V2 Positions API provides enhanced functionality with full CRUD operations, pagination, and JSON:API format responses. See operation list_positions_v2 for details.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/staff/positions
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/staff/positions
- 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/company/{location_id}/staff/positions' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'{ "data": [ { … } ], "meta": [ {} ], "success": true }