POST/collaborators/{collaboratorId}/crew/invite
Gives people access to the event through a collaborator, one row per email: an email with an account gets its access role (and license, if given) at
once and is notified, and an email without one gets an invitation email and a reserved seat. Pass crewId (from Crew_LookupCrew or
Crew_GetCollaboratorCrew) to give access to an existing contact; otherwise a new crew member is created with any typeIds and attributeValues.
accessRoleId comes from AccessRoles_GetAccessRoles (omitted grants the org default role) and is granted at accessContextType (Collaborator, the default, or Event); licenseId comes from
Billing_GetLicenses; one invalid row, blocked email or full license fails the whole request. Needs Crew.Manage on the collaborator or at the event; a role also needs Access.Manage there and only roles whose verbs the caller holds.
Path Parameters
| Field | Type | Required | Description |
|---|
| collaboratorId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| members | InviteCrewRequestMember[] | Optional | |
InviteCrewRequestMember
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| email | string| null | |
| licenseId | uuid| null | |
| accessRoleId | uuid| null | |
| accessContextType | string| null | |
| typeIds | uuid[]| null | |
| attributeValues | InviteCrewRequestAttributeValueInput[]| null | |
| Field | Type | Description |
|---|
| attributeId | uuid | |
| value | JsonElement| null | |
| expiresOn | JsonElement| null | |
| itemExpiries | JsonElement| null | |
Response
| Field | Type | Description |
|---|
| results | InviteCrewResponseResult[]| null | |
InviteCrewResponseResult
| Field | Type | Description |
|---|
| email | string| null | |
| outcome | string| null | |
| crewId | uuid | |