Create task
Tasks View as Markdown
POST/api/task
Creates a task in the current space.
Request body
namestringRequired- Task name (1 to 255 characters).
parentIdinteger | nullRequired- ID of the parent task.
nullmakes the task top-level. projectIdintegerRequired- ID of the project the task belongs to.
responsibleUserIdinteger | nullRequired- ID of the user assigned to the task.
nullleaves it unassigned. ballHoldingUserIdinteger | nullRequired- ID of the user who currently holds the ball, meaning who needs to act next.
nullmeans nobody. statusIdinteger | nullRequired- ID of the status, which must belong to the task's project.
nullclears the status. milestoneIdinteger | nullRequired- ID of the milestone, which must belong to the task's project.
nullclears the milestone. priorityinteger | null- Priority:
1is High,2is Mid,3is Low.nullclears the priority. descriptionstring | null- Task description as Markdown (up to 20,000 characters).
nullclears it. startDatenumber | null- Start date as a Unix timestamp in milliseconds.
nullclears it. dueDatenumber | null- Due date as a Unix timestamp in milliseconds.
nullclears it. extraobject | null- Extra display settings. Only
color(a color string such as#8CC230, ornull) is meaningful. tagsstring[]- Names of tags to attach. Tags that do not exist yet are created.
subTasksobject[]- Subtasks to create under the new task (up to 100). They share the new task's project and status.
Responses
200Task created400Invalid request payload401Authentication is required