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.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/staff/{location_id}
- Productionhttps://api.alteg.io/api/v1/staff/{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/staff/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'OK
Array of team members
{ "success": true, "data": [ { … } ], "meta": [] }
team member weight. team members are sorted by weight on exit, heavier first
Display status in online appointment, 1 - hidden, 0 - not hidden
Whether the team member has access to the appointment calendar (can have working hours set).
When true, the team member can be assigned schedules and appear in booking. When false (default for new team members), schedule-related operations will fail.
Note: This may be limited by your subscription plan.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/staff/{location_id}
- Productionhttps://api.alteg.io/api/v1/staff/{location_id}
- 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/staff/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Basil",
"specialization": "the hairdresser",
"weight": 10,
"information": "Trimming with three hands",
"api_id": "42",
"hidden": 0,
"fired": 0,
"user_id": 123,
"has_access_timetable": true
}'Created
Team member data object
{ "success": true, "data": { "id": 17969, "api_id": 42, "name": "Basil", "specialization": "the hairdresser", "position": { … }, "show_rating": false, "rating": 0, "votes_count": 0, "user_id": 12345, "avatar": "https://app.alteg.io/uploads/masters/sm/20151018220924_4963.jpg", "avatar_big": "https://app.alteg.io/uploads/masters/norm/20151018220924_4963.jpg", "comments_count": 0, "weight": 10, "information": "<span><span><span> </span></span></span>", "hidden": 0, "fired": 0, "status": 0 }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/staff/{location_id}/{team_member_id}
- Productionhttps://api.alteg.io/api/v1/staff/{location_id}/{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/staff/{location_id}/{team_member_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
{ "success": true, "data": [ { … }, { … }, { … } ], "meta": [] }