Docs
Create Crew Attribute
POST /crew/attributes
POST
/crew/attributesRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Creates a new crew attribute definition in the event's library. The event scope is taken from the event token.
Requires EventAdmin permission on the event.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Display label. Must not be empty. |
| type | string | Required | Attribute type (see Get Crew Attributes for valid values). Immutable once set. |
| options | object[] | Optional | Required for `Select`/`MultiSelect`; omit/null otherwise. Each option is `{ label, type, value }`. |
Response
201 Created — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token. |
BAD_REQUEST | 400 | Invalid type, missing options for Select/MultiSelect, or options provided for a non-select type. |