Skip to main content

Create a task in a project

POST 

/api/projects/:id/tasks

Create a task in a project. Cross-field constraints: when isRecurring is true, recurrenceIntervalDays (1–365) is required and parentTaskId must be absent (subtasks cannot be recurring). PT-1020: the route probes for similar OPEN tasks inside the create transaction and creates only when duplicatesReviewed NAMES every candidate that probe finds; otherwise it answers 409 DUPLICATE_CANDIDATES with that list and creates nothing. Presence of the field is not sufficient — an absent, empty, stale or partial list is refused for the candidates it does not name. Resubmit listing exactly the keys/ids the 409 reported; that always converges. Subtask creates (parentTaskId present) are exempt from the guard.

Request​

Responses​

Successful response