Team member and position management.
/
Get Position (v2)
Business Management (2.0.0)
Next-generation B2B API with improved design and consistency.
Base URL: https://api.alteg.io/api
V2 is in active development. This API version is being actively developed and expanded. New features and improvements are released here first. We recommend using V2 for all new integrations.
Requires both partner and user authorization:
Authorization: Bearer <partner_token>, User <user_token>Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v2/openapi/
Production
https://api.alteg.io/api/v2/
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{company_id}/positions
- Productionhttps://api.alteg.io/api/v2/companies/{company_id}/positions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{company_id}/positions' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Senior Stylist",
"description": "Senior hair stylist with color specialization",
"salon_ids": [
1,
2,
3
]
}'Response
application/json
{ "data": { "type": "position", "id": "42", "attributes": { … } }, "meta": {} }
Request
Retrieve details of a specific position by ID.
Response uses JSON:API format where type: "position" is the resource type.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{company_id}/positions/{position_id}
- Productionhttps://api.alteg.io/api/v2/companies/{company_id}/positions/{position_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{company_id}/positions/{position_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
application/json
{ "data": { "type": "position", "id": "42", "attributes": { … } }, "meta": {} }
Bodyapplication/jsonrequired
IDs of salons where this position is available
Example: [1,2,3,4]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{company_id}/positions/{position_id}
- Productionhttps://api.alteg.io/api/v2/companies/{company_id}/positions/{position_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/companies/{company_id}/positions/{position_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"position_id": 42,
"title": "Senior Stylist Updated",
"description": "Updated description",
"salon_ids": [
1,
2,
3,
4
]
}'