Docs

Create Event Role

POST /eventRoles

POST/eventRoles

Adds a role to the library and returns its id. The filler kind (Crew or Collaborator) and the cardinality (Single or Multi) are fixed at creation; only the name can change afterwards. An optional availability list narrows the people its pickers offer. accessRoleId names the access role whoever fills this role holds at the event; from AccessRoles_GetAccessRoles. Org admins only. To put the role on an event type, pass the new id to EventTypes_AssignRole. Requires Event.Configure at the organization.

Request Body

FieldTypeRequiredDescription
namestringOptional
fillerKindstringOptional
cardinalitystringOptional
availabilityCreateEventRoleRequestAvailabilityRequestOptional
accessRoleIduuidOptional

CreateEventRoleRequestAvailabilityRequest

FieldTypeDescription
recordIdsuuid[]| null

Response

Type: uuid