Docs
Add Attribute Option
POST /eventAttributes/{attributeId}/options
POST
/eventAttributes/{attributeId}/optionsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Adds a new option to a Select or MultiSelect attribute.
Returns 201 Created.
Requires OrganizationAdmin permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | Guid | Required | The attribute to add the option to. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| value | string | Required | Option value. |
| color | string | Required | Display color. |