Create a task
curl --request POST \ --url https://example.com/api/v1/tasks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "assigneeId": "example", "brief": { "acceptanceCriteria": [ "example" ], "context": "example", "dependencies": [ "example" ], "language": "en", "objective": "example", "outOfScope": [ "example" ], "requirements": [ "example" ], "source": { "section": "example", "title": "example", "url": "example" } }, "createdAt": "2026-04-15T12:00:00Z", "creatorId": "example", "dependencies": [ { "dependencyId": "example", "type": "FINISH_TO_START" } ], "description": "example", "dueAt": "2026-04-15T12:00:00Z", "dueDate": "example", "labelIds": [ "example" ], "parentId": "example", "priority": "NONE", "priorityOptionId": "example", "projectId": "example", "recurrence": { "endDate": "2026-04-15", "frequency": "DAILY", "interval": 1, "monthDay": 1, "weekdays": [ 1 ] }, "startAt": "2026-04-15T12:00:00Z", "startDate": "example", "status": "example", "subtaskPosition": 1, "timeEstimate": 1, "title": "example" }'Creates a task with an auto-generated workspace-scoped number. Any task can have a parentId, including a parent that is itself a subtask. The parent must be reachable by the caller (tasks.view_all, a task on a project they reach, or a subtask under such a task); an inaccessible parent responds 404 before creating the task. A subtask belongs to its root task’s project. For a subtask, subtaskPosition sets a non-negative integer order among direct siblings; omitting it appends to that parent. timeEstimate is expressed in whole seconds (5400 = 1h 30m). dueDate and startDate remain calendar days. Optional dueAt and startAt accept ISO instants with explicit offsets and derive their calendar day in the workspace timezone; conflicting date and instant pairs are rejected. When projectId is provided the task belongs to that project and starts in status, a status of the project’s workflow by name (or the workflow’s default when omitted); an unknown name responds 400 before anything is created. sectionId, taskStatusId and assigneeIds are refused with 400. A project outside the workspace or the caller’s reach (projects.view_all or an assignment) responds 404. The response carries the task’s projectId and starting statusId. description accepts Markdown and is returned as Markdown plus descriptionHtml; the field description lists what survives. Instead of description, an optional brief (objective, context, requirements, out of scope, acceptance criteria, dependencies and the source) is written as the description: the source on the first line, then one heading per section in the brief’s language (en or es); sending both responds 400. Requires tasks.create. The one initial assigneeId requires tasks.assign; initial labelIds and dependencies require tasks.manage. These relations and the task’s place on the board are created in the same transaction. Historical creatorId and createdAt require tasks.import, an author in the same workspace, and produce an audit entry; ordinary writers cannot override them. A task carries no order of its own: a root task filed under a project linked to a Tokens order uses one of that order’s tokens (see GET /orders/{id}/token-tasks); a subtask never does.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
The task’s only assignee: an active team member. Requires tasks.assign.
The task’s structured brief: the source it comes from, objective, context, requirements, out of scope, acceptance criteria and dependencies. The server writes it as the description, the source on the first line and one heading per section in the brief’s language; send it instead of description, never both.
object
Results a reviewer can check without asking anyone, one per item; at least one.
Who asked for it, what exists today and why the work is needed.
What is missing to start or finish and who provides it: content, access, a decision, another ticket. Empty when nothing is pending.
The language the brief is written in, which sets its section headings: es or en. The one the workspace guidance names, else the source’s.
What changes and for whom, in one to three sentences.
What the source mentions that this ticket does not do, and where it goes instead. Empty when nothing is left out.
What to do, one behavior or piece of work per item, in order; listed numbered. Inline Markdown.
The document or request the work comes from.
object
The part of the source the work comes from: a page, a clause, a timestamp.
The source’s name: a file name, a Figma frame, a video, a meeting, a message.
Where the source is: an http(s) address (a Figma frame, a video, a page), the url a deal file has or the fileUrl a task attachment has. Omit only when the source has no address.
Historical creation instant; requires tasks.import and is audited.
Historical creator in this workspace; requires tasks.import and is audited.
object
Task description as Markdown. GitHub-Flavored Markdown, converted to sanitized HTML for storage. Survives the round trip: headings (the web editor edits h1-h2 and demotes deeper levels to paragraphs), bold, italic, strikethrough, underline as , inline code, fenced code blocks with a language, links, bullet, numbered and nested lists, task lists, blockquotes, horizontal rules, hard line breaks, tables with header rows (merged cells and complex tables use sanitized inline HTML), images served from /api/v1/files/, member mentions written as @Name, and a Loom, Cap (cap.so or the organization’s own Cap server), Figma, YouTube, Google Docs or GitHub pull-request link standing alone in its paragraph, which becomes an embed. Inline HTML passes through the same sanitizer as the editor. Lost: external image URLs (dropped by the sanitizer), link titles, text alignment.
Due instant with a UTC offset (Z or ±hh:mm); derives dueDate in the workspace timezone, and when both are sent they must agree.
Calendar day as YYYY-MM-DD, stored at UTC midnight. A full ISO timestamp keeps its UTC day.
Reachable parent task in this workspace, including a task that already has a parent. A subtask belongs to its root task’s project.
The project a root task belongs to; it starts on that project’s board. A subtask belongs to its root task’s project.
PERIODIC repeats interval days after completion; the other frequencies follow the scheduled calendar date. Completing the task creates the next instance.
object
Last calendar day of the series, YYYY-MM-DD.
Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.
Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.
Start instant with a UTC offset (Z or ±hh:mm); derives startDate in the workspace timezone, and when both are sent they must agree.
Calendar day as YYYY-MM-DD, stored at UTC midnight. A full ISO timestamp keeps its UTC day.
Status of the project’s workflow the task starts in, by name (matched without case) or id; needs projectId or a parent. Omitted, the workflow’s default status.
Zero-based sibling position; requires parentId. Omitted, appends after the last sibling.
Time estimate in whole seconds (5400 = 1h 30m).
Responses
Section titled “Responses”The created task.
object
A newly created task, with the project and status it starts in.
object
Fractional key ordering the card inside its status column; compare lexicographically, null sorts last.
Task description as Markdown. Markdown rendering of the stored rich text: mentions appear as @Name links and embeds as plain links to their source URL. The stored HTML is returned alongside in the matching *Html field.
The stored sanitized HTML behind description.
True while the task is a proposal made from a signed contract: only the team sees it, until it is published (POST /tasks/{id}/publish). Absent on a server older than this field.
Workspace-scoped sequential task number.
For a subtask: whether it shows as its own card on its project’s board, in the column of its own status. Always false for a root task, which is always a card. Absent on a server older than this field.
The task’s one project; a subtask carries its root’s.
Repetition rule, or null when the task does not repeat. Completing a repeating task creates the next instance on the next occurrence and records its id in spawnedTaskId.
object
Last calendar day of the series, YYYY-MM-DD.
Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.
Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.
The task’s status in its project’s workflow, which is its board column.
Sibling ordering key; ascending, then createdAt and id. Ignored for root tasks.
Whether the task’s direct subtasks show on the board; a subtask created later starts the same way. Absent on a server older than this field.
Time estimate in seconds (5400 = 1h 30m), or null when the task has none.
Example
{ "data": { "priority": "NONE", "recurrence": { "frequency": "DAILY", "interval": 1 } }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC