Skip to content

Create a task

POST
/tasks
Code sample: Shell / cURL
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.

Media typeapplication/json
object
assigneeId

The task’s only assignee: an active team member. Requires tasks.assign.

string
>= 1 characters
brief

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
acceptanceCriteria
required

Results a reviewer can check without asking anyone, one per item; at least one.

Array<string>
>= 1 items <= 15 items
context
required

Who asked for it, what exists today and why the work is needed.

string
>= 1 characters <= 2000 characters
dependencies
required

What is missing to start or finish and who provides it: content, access, a decision, another ticket. Empty when nothing is pending.

Array<string>
<= 15 items
language
required

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.

string
Allowed values: en es
objective
required

What changes and for whom, in one to three sentences.

string
>= 1 characters <= 1000 characters
outOfScope
required

What the source mentions that this ticket does not do, and where it goes instead. Empty when nothing is left out.

Array<string>
<= 15 items
requirements
required

What to do, one behavior or piece of work per item, in order; listed numbered. Inline Markdown.

Array<string>
>= 1 items <= 15 items
source
required

The document or request the work comes from.

object
section

The part of the source the work comes from: a page, a clause, a timestamp.

string
>= 1 characters <= 300 characters
title
required

The source’s name: a file name, a Figma frame, a video, a meeting, a message.

string
>= 1 characters <= 300 characters
url

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.

string
<= 2000 characters
createdAt

Historical creation instant; requires tasks.import and is audited.

string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
creatorId

Historical creator in this workspace; requires tasks.import and is audited.

string
>= 1 characters
dependencies
Array<object>
<= 100 items
object
dependencyId
required
string
>= 1 characters
type
string
default: FINISH_TO_START
Allowed values: FINISH_TO_START START_TO_START FINISH_TO_FINISH START_TO_FINISH
description

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.

string
dueAt

Due instant with a UTC offset (Z or ±hh:mm); derives dueDate in the workspace timezone, and when both are sent they must agree.

string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
dueDate

Calendar day as YYYY-MM-DD, stored at UTC midnight. A full ISO timestamp keeps its UTC day.

string
labelIds
Array<string>
<= 100 items
parentId

Reachable parent task in this workspace, including a task that already has a parent. A subtask belongs to its root task’s project.

string
priority
string
Allowed values: NONE LOW MEDIUM HIGH URGENT
priorityOptionId
string
>= 1 characters
projectId

The project a root task belongs to; it starts on that project’s board. A subtask belongs to its root task’s project.

string
recurrence

PERIODIC repeats interval days after completion; the other frequencies follow the scheduled calendar date. Completing the task creates the next instance.

object
endDate

Last calendar day of the series, YYYY-MM-DD.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
frequency
required
string
Allowed values: DAILY WEEKLY MONTHLY YEARLY PERIODIC
interval
integer
default: 1 >= 1 <= 366
monthDay

Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.

integer
>= 1 <= 31
weekdays

Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.

Array<integer>
>= 1 items <= 7 items
startAt

Start instant with a UTC offset (Z or ±hh:mm); derives startDate in the workspace timezone, and when both are sent they must agree.

string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
startDate

Calendar day as YYYY-MM-DD, stored at UTC midnight. A full ISO timestamp keeps its UTC day.

string
status

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.

string
>= 1 characters
subtaskPosition

Zero-based sibling position; requires parentId. Omitted, appends after the last sibling.

integer
<= 2147483647
timeEstimate

Time estimate in whole seconds (5400 = 1h 30m).

integer
> 0 <= 9007199254740991
title
required
string
>= 1 characters <= 500 characters
key
additional properties

The created task.

Media typeapplication/json
object
data
required

A newly created task, with the project and status it starts in.

object
boardPosition
required

Fractional key ordering the card inside its status column; compare lexicographically, null sorts last.

string | null
completedAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
creatorId
required
string
description
required

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.

string | null
descriptionHtml
required

The stored sanitized HTML behind description.

string | null
dueAt
required

Explicit due instant in UTC, or null for a date-only due date.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
dueDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
id
required
string
isArchived
required
boolean
isProposed

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.

boolean
number
required

Workspace-scoped sequential task number.

integer
>= -9007199254740991 <= 9007199254740991
onBoard

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.

boolean
parentId
required
string | null
priority
required
string
Allowed values: NONE LOW MEDIUM HIGH URGENT
priorityOptionId
required
string | null
projectId
required

The task’s one project; a subtask carries its root’s.

string
recurrence
required

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.

Any of:
object
endDate

Last calendar day of the series, YYYY-MM-DD.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
frequency
required
string
Allowed values: DAILY WEEKLY MONTHLY YEARLY PERIODIC
interval
required
integer
default: 1 >= 1 <= 366
monthDay

Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.

integer
>= 1 <= 31
spawnedTaskId
string
>= 1 characters
weekdays

Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.

Array<integer>
>= 1 items <= 7 items
startAt
required

Explicit start instant in UTC, or null for a date-only start date.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
startDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
statusId
required

The task’s status in its project’s workflow, which is its board column.

string
subtaskPosition
required

Sibling ordering key; ascending, then createdAt and id. Ignored for root tasks.

integer
<= 9007199254740991
subtasksOnBoard

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.

boolean
timeEstimate
required

Time estimate in seconds (5400 = 1h 30m), or null when the task has none.

number | null
title
required
string
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/

Example

{
"data": {
"priority": "NONE",
"recurrence": {
"frequency": "DAILY",
"interval": 1
}
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.