Docs

Add Task

POST /tasks

POST/tasks

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 task in the event. The task is automatically placed at the end of its sibling list (based on parentId). All required custom task attributes must be provided. Dependency cycles are rejected.

Returns 201 Created on success.

Requires EventProjectManagementAdmin permission on the event.

Request Body

FieldTypeRequiredDescription
namestringRequiredTask name.
statusIdGuidRequiredID of the task status to assign. Must exist.
startDateTimeDateTime?OptionalScheduled start date.
endDateTimeDateTime?OptionalScheduled end date.
descriptionstringOptionalTask description.
prioritystringOptionalPriority level.
parentIdGuid?OptionalParent task ID to nest under, or `null` for top-level.
phaseIdGuid?OptionalPhase to assign the task to.
assigneesAssigneeListOptionalUsers and collaborators to assign.
reviewerIdsGuid[]OptionalUser IDs to assign as reviewers.
attributesAttribute[]OptionalCustom attribute values. All required attributes must be supplied.
dependsOnGuid[]OptionalIDs of tasks this task depends on. Must not create a cycle.

AssigneeList

FieldTypeDescription
userIdsGuid[]User IDs to assign.
collaboratorIdsGuid[]Collaborator IDs to assign.

Attribute

FieldTypeRequiredDescription
attributeIdGuidRequiredThe attribute definition ID.
valuestringRequiredThe value to set.