Create up to 50 tasks (per-item results)
Create up to 50 tasks in one request, with shared defaults that each task’s own fields override. The answer
is per item, never all-or-nothing: {results: [{index, ref, ok, task | error}], created, failed}, status 200 even
when some items failed.
Checked first, as a whole. Any of these is one 422 validation problem whose errors name each bad item
(loc: [body, tasks, <index>, <field>]), and nothing is created:
- the body’s shape, and
ref/parent_ref(unique refs; a parent is an EARLIER item in the same project); - the project exists in the organization; the sprint, milestone and goal pass
POST /v1/tasks’s rules; - an existing
parent_task_idis a task you may edit, in the same project.
Then created in order, each on POST /v1/tasks’s rules:
- a project you cannot edit fails that item with
forbidden, and the rest go on; - agent review,
created_via,created_by_agent, the history entry, thetask.createdevent and its webhooks are per task, exactly as for one create; parent_reflinks the task under an earlier item the wayPOST /v1/tasks/{task_id}/subtasksdoes; when that parent failed, the item fails withparent_failed;- a task created whose subtask link could not be written is
okwith awarningsaying so.
Assignment emails: one per assignee, listing their tasks. Idempotency-Key replays the first answer for 24 h. Rate
limit: one request plus one unit per task, charged before any write. Error codes: forbidden, not_found,
invalid, conflict, parent_failed, internal.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters”Replay the first response for 24 h when the same request is retried with this key.
Request Bodyrequired
Section titled “Request Bodyrequired”POST /v1/tasks/batch.
object
The organization every task is created in
Values every new task of the batch takes unless the task sets the field itself.
object
Priority enum for projects and tasks
A task’s status. backlog comes first wherever statuses are ordered (filters, grouping and the status sort); otherwise it is an ordinary status, accepted everywhere.
The kind of task: task or bug, in sort order (sort_by=task_type). Who made a task is created_via, not its type.
- A label, never a permission.
- A goal is not a task type but a container of a project’s tasks (
goal_id):task_type=goalis refused on write (422) and infilter[task_type](400).
1-50 tasks, created in this order
One new task: POST /v1/tasks’s body without org_id (the batch’s), plus ref and a parent.
object
Task title
A task’s status. backlog comes first wherever statuses are ordered (filters, grouping and the status sort); otherwise it is an ordinary status, accepted everywhere.
Priority enum for projects and tasks
The kind of task: task or bug, in sort order (sort_by=task_type). Who made a task is created_via, not its type.
- A label, never a permission.
- A goal is not a task type but a container of a project’s tasks (
goal_id):task_type=goalis refused on write (422) and infilter[task_type](400).
object
Is Sub Task (default false; a subtask is linked through POST /tasks/{id}/subtasks)
Example
{ "org_id": "O12345", "defaults": { "project_id": "P31304", "sprint_id": "string", "milestone_id": "string", "goal_id": "string", "assignee": "string", "priority": "high", "status": "backlog", "start_date": "2026-09-25", "due_date": "2026-09-25", "tags": [ "string" ], "task_type": "task" }, "tasks": [ { "project_id": "project-1234", "sub_tasks": [ "task-5678" ], "dependencies": [ "task-4321" ], "title": "Implement Login", "description": "Implement OAuth2 login flow.", "status": "not_started", "assignee": "", "start_date": "2024-07-31", "due_date": "2024-08-01", "priority": "high", "task_type": "task", "tags": [ "backend", "auth" ], "type_data": {}, "metadata": [ { "field": "status", "new": "in_progress", "old": "not_started" } ], "created_by": "string", "updated_by": "string", "is_subtask": false, "restricted_to": [], "sprint_id": "SP12345", "milestone_id": "MS12345", "goal_id": "G12345", "ref": "launch-1", "parent_ref": "string", "parent_task_id": "T123456" } ]}Responses
Section titled “ Responses ”Successful Response
Returned by tasks.create_batch.
object
Part of TaskBatchCreated and TaskBatchUpdated.
object
The item’s position in tasks (0-based)
Returned by tasks.add_dependency, tasks.add_subtask, tasks.create, tasks.read and 9 more.
object
Task title
A task’s status. backlog comes first wherever statuses are ordered (filters, grouping and the status sort); otherwise it is an ordinary status, accepted everywhere.
Priority enum for projects and tasks
The kind of task: task or bug, in sort order (sort_by=task_type). Who made a task is created_via, not its type.
- A label, never a permission.
- A goal is not a task type but a container of a project’s tasks (
goal_id):task_type=goalis refused on write (422) and infilter[task_type](400).
object
How many of this task’s subtasks are completed. Response only.
How many subtasks this task has (deleted ones excluded). Response only.
How many live tasks this one waits on (its dependencies whose task is not completed, archived or deleted). Response only.
How many live tasks wait on this one (tasks whose dependencies contain its id); 0 when this task is itself completed or archived. Response only.
How many subtasks this task has (deleted ones excluded); the same number as subtasks_total. Response only.
How many of them are completed; the same number as subtasks_done. Response only.
Part of AccessBatchItemResult and TaskBatchItemResult.
object
What went wrong, for a client to branch on
The same text the single route answers with
How many items were created
How many items failed
Example
{ "results": [ { "index": 0, "ref": "string", "task_id": "string", "ok": false, "task": { "project_id": "project-1234", "org_id": "org-1234", "sub_tasks": [ "task-5678" ], "dependencies": [ "task-4321" ], "title": "Implement Login", "description": "Implement OAuth2 login flow.", "status": "not_started", "assignee": "", "start_date": "2024-07-31", "due_date": "2024-08-01", "priority": "high", "task_type": "task", "tags": [ "backend", "auth" ], "type_data": {}, "metadata": [ { "field": "status", "new": "in_progress", "old": "not_started" } ], "created_by": "string", "updated_by": "string", "is_subtask": false, "restricted_to": [], "sprint_id": "SP12345", "milestone_id": "MS12345", "goal_id": "G12345", "task_id": "string", "created_at": "2026-09-25T12:00:00Z", "updated_at": "2026-09-25T12:00:00Z", "created_via": "mcp", "review_state": "pending", "proposed_project_id": "string", "reviewed_at": "2026-09-25T12:00:00Z", "reviewed_by": "string", "created_by_token_id": "TK123456", "created_by_agent": "string", "restricted_to_user_ids": [ "string" ], "has_access": false, "has_edit_access": false, "can_delete": false, "subscriber_ids": [ "string" ], "is_subscribed": false, "parent_task_id": "T123456", "parent_title": "string", "subtasks_done": 0, "subtasks_total": 0, "blocked_by_count": 0, "blocks_count": 0, "subtask_count": 0, "subtask_done_count": 0 }, "error": { "code": "forbidden", "message": "string" }, "warning": "string" } ], "created": 0, "failed": 0}Bad request - a query parameter outside what the operation accepts (invalid-parameter)
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Bad request", "status": 400, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Missing or invalid bearer token
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Missing or invalid bearer token", "status": 401, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Authenticated, but not allowed
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Authenticated, but not allowed", "status": 403, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Not found
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Not found", "status": 404, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Conflict (a duplicate, or an Idempotency-Key still in flight)
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Conflict (a duplicate, or an `Idempotency-Key` still in flight)", "status": 409, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}If-Match does not match the current ETag
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "`If-Match` does not match the current `ETag`", "status": 412, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}The body or query did not validate (validation), or an Idempotency-Key was reused
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "The body or query did not validate (`validation`), or an `Idempotency-Key` was reused", "status": 422, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}An access token, or a signed-in user, or an address over its limit (rate-limit; see Retry-After)
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "An access token, or a signed-in user, or an address over its limit (`rate-limit`; see `Retry-After`)", "status": 429, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Unexpected server error - quote request_id
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Unexpected server error", "status": 500, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}