Docs
Add Task Attribute
POST /taskAttributes
POST
/taskAttributesCreates a task attribute in the organization's library; options only apply to the Select and MultiSelect types. An optional placement places it on the Org task or Event task type in the same write; without one it lands unplaced. Needs an organization token and Task.Configure at the Organization. An event token is refused: task attributes are authored at org level.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| fieldClassId | uuid | Optional | |
| type | string | Optional | |
| options | AddTaskAttributeRequestOption[] | Optional | |
| availability | AddTaskAttributeRequestAvailabilityRequest | Optional | |
| placement | AddTaskAttributeRequestPlacementInfo | Optional |
AddTaskAttributeRequestOption
| Field | Type | Description |
|---|---|---|
| value | string| null | |
| color | string| null | |
| icon | string| null |
AddTaskAttributeRequestAvailabilityRequest
| Field | Type | Description |
|---|---|---|
| recordIds | uuid[]| null |
AddTaskAttributeRequestPlacementInfo
| Field | Type | Description |
|---|---|---|
| taskTypeKind | string| null | |
| sectionId | uuid| null | |
| isRequired | boolean | |
| showOnCreateForm | boolean |