Skip to content

Create a team member

Request

Creates a Team Member in the Location. is_schedulable is required and has no default: true adds the Team Member to the Work Schedule and takes a seat in the license of the Location; false creates a Team Member outside the Work Schedule who takes no seat. A Team Member with is_schedulable: true is created with online_booking_enabled: true, any other with false; change it later through updateTeamMember.

  • License. When the license of the Location has no free seat, a create with is_schedulable: true fails with 409 conflict.
  • Position. position_id must be a position listed by listPositions and is accepted only with is_schedulable: true; otherwise it fails with 422 on position_id. A position that is assigned only in the chain settings fails the same way. A position can carry its own services: the new Team Member gets service links to them with the prices set for the position.
  • Locations without the Work Schedule switch. In a Location where every Team Member is in the Work Schedule, is_schedulable: false fails with 422 on is_schedulable.

After creating, set the working schedule (PATCH .../schedule) and link services (PATCH .../services) — otherwise the member does not appear in availability search. System access for the new member (login, role, invitation) is a separate planned operation, sendTeamMemberInvitation.

Security
OAuth2(Required scopes: team_members:write) or ApiKey
Path
location_idintegerrequired

Identifier of the Location. Verified against the credential on every call — a Location the credential cannot access responds with 404.

Bodyapplication/jsonrequired
namestring, [ 1 .. 255 ] charactersrequired

Display name, 1 to 255 characters after trimming. A link (a URL or any word.word without a space, such as Dr.Lash) fails with 422, because Altegio would cut it out of the name; so do a name of 0 alone and characters outside the Basic Multilingual Plane (emoji).

specializationstring, [ 1 .. 255 ] charactersrequired

Public profession label shown to clients (for example in online booking), 1 to 255 characters after trimming. A link (a URL or any word.word without a space) fails with 422 unless links in the specialization are switched on for the Location; so do 0 alone and characters outside the Basic Multilingual Plane (emoji).

is_schedulablebooleanrequired

Required, no default. true adds the Team Member to the Work Schedule and takes a seat in the license of the Location; the create fails with 409 conflict when the license has no free seat. false creates a Team Member outside the Work Schedule who takes no seat and has online booking switched off.

position_idinteger

Position listed by listPositions; accepted only with is_schedulable true.

curl -i -X POST \
  'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/team_members' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Aigerim Bekova",
    "specialization": "Hairdresser",
    "is_schedulable": true,
    "position_id": 15
  }'

Responses

The created team member.

Headers
RateLimit-Remaininginteger, (int32), >= 0

Requests left in the most constrained policy window that applies to this request.

RateLimit-Resetinteger, (int32), >= 0

On 429, seconds until the most constrained policy frees up; it equals Retry-After there. On a successful response it reports the length of that policy's window rather than the time left in the current one, so treat it as the window size, not as a countdown — the counter to pace against is RateLimit-Remaining.

RateLimit-Policystring

Most constrained policy applied to the request, as <limit>;w=<window in seconds>.

Example:"10;w=60"
Locationstring

URL of the created resource.

X-Request-Idstring

Request identifier for support and log correlation.

Bodyapplication/json
idintegerread-onlyrequired
objectstringread-onlyrequired
Value:"team_member"
namestringrequired

Display name, HTML entities decoded.

specializationstringrequired

Public profession label shown to clients (for example in online booking), HTML entities decoded.

avatar_urlstring or null, (uri)read-onlyrequired

Photo of the team member, up to 220×220 px (smaller when the uploaded photo is smaller); null when no photo is set.

position_idinteger or nullrequired

Position from listPositions; null when the member has no position or the position is not listed by listPositions.

online_booking_enabledbooleanrequired

The business's online booking setting for this team member in the Location. It does not mean that free time is available; free slots come from the availability operations.

is_schedulablebooleanrequired

Whether the Team Member is in the Work Schedule of the Location, so a schedule, services, a position and online booking can be set for them. It does not mean that shifts are already set. A Team Member in the Work Schedule takes a seat in the license of the Location unless they are dismissed. Always true in a Location where every Team Member is in the Work Schedule.

dismissal_datestring or null, (date)read-onlyrequired

Last working day set by dismissTeamMember, YYYY-MM-DD in the Location timezone; null while employed.

created_atstring or null, (date-time)read-onlyrequired

UTC; null for legacy records without a creation date.

Response
{ "id": 321, "object": "team_member", "name": "Aigerim Bekova", "specialization": "Hairdresser", "avatar_url": "https://assets.alteg.io/masters/norm/4/48/48c3c5a1b0e1e8d_20260601093015.png", "position_id": 15, "online_booking_enabled": true, "is_schedulable": true, "dismissal_date": null, "created_at": "2026-06-01T08:00:00Z" }