Docs

Add Crew Attribute

POST /Events/{eventId}/settings/crew/attributes

POST/Events/{eventId}/settings/crew/attributes

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Creates a new custom attribute definition for crew members on this event. Once created, this attribute can be filled in on individual crew member records.

Requires EventAdmin permission on the event.

Path Parameters

FieldTypeRequiredDescription
eventIdGuidRequiredThe ID of the event.

Request Body

FieldTypeRequiredDescription
namestringRequiredThe display label for the attribute. Must not be empty.
typestringRequiredThe attribute type. See table below for valid values.
optionsstring[]OptionalRequired when `type` is `Select` or `MultiSelect`. Must be `null` or omitted for other types.

Attribute Types

TypeDescriptionOptions required?
TextOpen-ended text input.No
RichTextFormatted rich text.No
NumberNumeric value.No
DateDate picker (no time).No
DateTimeDate and time picker.No
CheckboxBoolean yes/no.No
LinkURL input.No
FileSingle file upload.No
MultiFileMultiple file uploads.No
SelectSingle selection from a predefined list.Yes
MultiSelectMultiple selections from a predefined list.Yes

Example Request (Select)

{
  "name": "T-Shirt Size",
  "type": "Select",
  "options": ["XS", "S", "M", "L", "XL", "XXL"]
}

Example Request (Text)

{
  "name": "Dietary Restrictions",
  "type": "Text",
  "options": null
}

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Event not found.
BAD_REQUEST400Invalid type, missing options for Select/MultiSelect, or options provided for a non-select type.