Docs

Add Task Attribute

POST /taskAttributes

POST/taskAttributes

Creates 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

FieldTypeRequiredDescription
namestringOptional
fieldClassIduuidOptional
typestringOptional
optionsAddTaskAttributeRequestOption[]Optional
availabilityAddTaskAttributeRequestAvailabilityRequestOptional
placementAddTaskAttributeRequestPlacementInfoOptional

AddTaskAttributeRequestOption

FieldTypeDescription
valuestring| null
colorstring| null
iconstring| null

AddTaskAttributeRequestAvailabilityRequest

FieldTypeDescription
recordIdsuuid[]| null

AddTaskAttributeRequestPlacementInfo

FieldTypeDescription
taskTypeKindstring| null
sectionIduuid| null
isRequiredboolean
showOnCreateFormboolean