Docs

Create Event Attribute

POST /eventAttributes

POST/eventAttributes

Adds an attribute to the organization's event attribute library and returns its id. The type is fixed at creation and cannot be changed later. Select options, or for a crew or collaborator type an availability list, can be supplied up front. To put the attribute on an event type, pass the new id to EventTypes_AssignAttribute. Requires organization admin.

Request Body

FieldTypeRequiredDescription
namestringOptional
typestringOptional
optionsCreateEventAttributeRequestOptionRequest[]Optional
availabilityCreateEventAttributeRequestAvailabilityRequestOptional

CreateEventAttributeRequestOptionRequest

FieldTypeDescription
valuestring| null
colorstring| null
iconstring| null

CreateEventAttributeRequestAvailabilityRequest

FieldTypeDescription
recordIdsuuid[]| null

Response

Type: uuid