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.
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}/{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 PUT \
'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: */*' \
-d '[object Object]'OK
Team member data object
{ "success": true, "data": { "id": 17969, "api_id": 42, "name": "Basil", "specialization": "the hairdresser", "position": { … }, "show_rating": 0, "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 DELETE \
'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'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": {} }