Invite a teammate to the company.
Returns 201 Created if the teammate is newly created and successfully invited.
Returns 200 OK if a teammate with this email already exists but has never logged into Alpharun (occurs if recordings were uploaded for the teammate before they were invited). An invitation email will be sent, but the teammate’s properties are not updated (use the Update Teammate endpoint to update them).
Returns 409 Conflict if a teammate with this email already exists and has already logged in.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Teammate invitation details. Optional parameters (first_name, last_name, manager_id, group_ids) are only set when creating a new teammate, not when re-inviting.
Email address of the teammate to invite
Role to assign to the teammate
editor, reviewer, team_member First name of the teammate (only set when creating a new teammate)
Last name of the teammate (only set when creating a new teammate)
Manager identifier, which can be a UUID or an email using the format alt:email:<email> (only set when creating a new teammate)
List of teammate group IDs to add the teammate to (only set when creating a new teammate)
Existing teammate was re-invited (use PATCH to update their properties)