Docs

Add Collaborator

POST /Events/{eventId}/collaborators

POST/Events/{eventId}/collaborators

Adds an org collaborator to the event and returns the event collaborator's id; the caller is granted admin over it. Needs Collaborator.Manage at the event. Send recordId (from CollaboratorDatabase_GetCollaboratorRecords; needs Collaborator.View at the organization) or newRecord { name, profileIds, values } to create the org record first. profileIds picks which of the record's profiles this event uses (allowlisted by the event type). intakeAnswers answer the Event and Both questions of the picked profiles' intake forms, and roleOccupants fill their Event and Both role slots (people not on the event come on pending); Both slots are first written from the record's occupants, who are pulled on pending. 400 when the record is archived, already on the event, or a profile is not allowed. A new record takes the org gate and the instance the event gate: a 400 whose missingRequired lists each empty required attribute, question or role as { kind, id, name, level }; an existing record takes the event gate only. areaRecordIds picks areas the record owns (needs permission to add areas); each comes on pending under the new collaborator.

Path Parameters

FieldTypeRequiredDescription
eventIduuidRequired

Request Body

FieldTypeRequiredDescription
recordIduuidOptional
newRecordAddCollaboratorRequestNewRecordInputOptional
profileIdsuuid[]Optional
valuesAddCollaboratorRequestPropertyValue[]Optional
crewIdsuuid[]Optional
newCrewAddEventCrewRequestNewCrewMember[]Optional
areaRecordIdsuuid[]Optional
intakeAnswersAddCollaboratorRequestIntakeAnswerInput[]Optional
roleOccupantsAddCollaboratorRequestRoleOccupantsInput[]Optional

AddCollaboratorRequestNewRecordInput

FieldTypeDescription
namestring| null
profileIdsuuid[]| null
valuesAddCollaboratorRequestPropertyValue[]| null
intakeAnswersAddCollaboratorRequestIntakeAnswerInput[]| null
roleOccupantsAddCollaboratorRequestRoleOccupantsInput[]| null

AddCollaboratorRequestPropertyValue

FieldTypeDescription
propertyIduuid
valueJsonElement| null
expiresOnJsonElement| null
itemExpiriesJsonElement| null

AddEventCrewRequestNewCrewMember

FieldTypeDescription
firstNamestring| null
lastNamestring| null
emailstring| null
phoneNumberstring| null
titlestring| null
profileIdsuuid[]| null
valuesAddEventCrewRequestValueInput[]| null
intakeAnswersAddEventCrewRequestIntakeAnswerInput[]| null
roleOccupantsAddEventCrewRequestRoleOccupantsInput[]| null

AddCollaboratorRequestIntakeAnswerInput

FieldTypeDescription
questionIduuid
valueJsonElement| null

AddCollaboratorRequestRoleOccupantsInput

FieldTypeDescription
roleDefinitionIduuid
crewIdsuuid[]| null
collaboratorRecordIdsuuid[]| null

AddEventCrewRequestValueInput

FieldTypeDescription
attributeIduuid
valueJsonElement| null
expiresOnJsonElement| null
itemExpiriesJsonElement| null

AddEventCrewRequestIntakeAnswerInput

FieldTypeDescription
questionIduuid
valueJsonElement| null

AddEventCrewRequestRoleOccupantsInput

FieldTypeDescription
roleDefinitionIduuid
crewIdsuuid[]| null
collaboratorRecordIdsuuid[]| null

Response

Type: uuid