# Create up to 50 tasks (per-item results)

POST`/v1/tasks/batch`[Token scope: `tasks:write`](https://docs.taskadence.com/guides/authentication/#scopes)[idempotent create](https://docs.taskadence.com/guides/idempotency-and-etags/)

Request

**curl**


```bash
curl -X POST "https://api.taskadence.com/v1/tasks/batch" \
  -H "Authorization: Bearer $TASKADENCE_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"org_id":"O12345","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"}]}'
```

**Python**


```python
from taskadence import Taskadence

tm = Taskadence()  # reads TASKADENCE_TOKEN
result = tm.tasks.create_batch({"org_id": "O12345", "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"}]})
print(result)
```

Response 200

```json
{
  "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
}
```

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_id` is 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, the `task.created` event and its webhooks are per task, exactly as for one create;
-   `parent_ref` links the task under an earlier item the way `POST /v1/tasks/{task_id}/subtasks` does; when that parent failed, the item fails with `parent_failed`;
-   a task created whose subtask link could not be written is `ok` with a `warning` saying 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

-   **[bearerAuth](https://docs.taskadence.com/reference/#bearerauth)**
-   **[TaskadenceToken](https://docs.taskadence.com/reference/#taskadencetoken)**

## Parameters

### Header Parameters

**Idempotency-Key**

string

\>= 1 characters <= 255 characters

Replay the first response for 24 h when the same request is retried with this key.

## Request Bodyrequired

application/json

_TaskBatchCreate_

`POST /v1/tasks/batch`.

object

**org\_id**

required

_Org Id_

The organization every task is created in

string

<= 1000 characters

**defaults**

Any of:

**TaskBatchDefaults**
_TaskBatchDefaults_

Values every new task of the batch takes unless the task sets the field itself.

object

**project\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**sprint\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**milestone\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**goal\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**assignee**

Any of:

**string**


string

<= 1000 characters

**null**


null

**priority**

Any of:

**PriorityEnum**
_PriorityEnum_

Priority enum for projects and tasks

string

Allowed values: high medium low none critical

**null**


null

**status**

Any of:

**TaskStatusEnum**
_TaskStatusEnum_

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.

string

Allowed values: backlog not\_started in\_progress blocked completed archived on\_hold

**null**


null

**start\_date**

Any of:

**string**


string format: date

**null**


null

**due\_date**

Any of:

**string**


string format: date

**null**


null

**tags**

Any of:

**Array<string>**


Array<string>

**null**


null

**task\_type**

Any of:

**TaskTypeEnum**
_TaskTypeEnum_

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=goal` is refused on write (422) and in `filter[task_type]` (400).

string

Allowed values: task bug access

**null**


null

**null**


null

**tasks**

required

_Tasks_

1-50 tasks, created in this order

Array<object>

\>= 1 items

_TaskBatchCreateItem_

One new task: `POST /v1/tasks`’s body without `org_id` (the batch’s), plus `ref` and a parent.

object

**project\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**sub\_tasks**

Any of:

**Array<string>**


Array<string>

**null**


null

**dependencies**

Any of:

**Array<string>**


Array<string>

**null**


null

**title**

required

_Title_

Task title

string

<= 200 characters

**description**

Any of:

**string**


string

<= 100000 characters

**null**


null

**status**

Any of:

**TaskStatusEnum**
_TaskStatusEnum_

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.

string

Allowed values: backlog not\_started in\_progress blocked completed archived on\_hold

**null**


null

**assignee**

Any of:

**string**


string

<= 1000 characters

**null**


null

**start\_date**

Any of:

**string**


string format: date

**null**


null

**due\_date**

Any of:

**string**


string format: date

**null**


null

**priority**

Any of:

**PriorityEnum**
_PriorityEnum_

Priority enum for projects and tasks

string

Allowed values: high medium low none critical

**null**


null

**task\_type**

Any of:

**TaskTypeEnum**
_TaskTypeEnum_

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=goal` is refused on write (422) and in `filter[task_type]` (400).

string

Allowed values: task bug access

**null**


null

**tags**

Any of:

**Array<string>**


Array<string>

**null**


null

**type\_data**

Any of:

**object**
object

**_key_**

additional properties

any

**null**


null

**metadata**

Any of:

**Array<object>**


Array<object>

object

**_key_**

additional properties

any

**null**


null

**created\_by**

Any of:

**string**


string

<= 1000 characters

**null**


null

**updated\_by**

Any of:

**string**


string

<= 1000 characters

**null**


null

**is\_subtask**

_Is Subtask_

Is Sub Task (default false; a subtask is linked through POST /tasks/{id}/subtasks)

boolean

**restricted\_to**

Any of:

**Array<string>**


Array<string>

**null**


null

**sprint\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**milestone\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**goal\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

**ref**

Any of:

**string**


string

<= 1000 characters /^\[A-Za-z0-9\_.:-\]{1,64}$/

**null**


null

**parent\_ref**

Any of:

**string**


string

<= 1000 characters /^\[A-Za-z0-9\_.:-\]{1,64}$/

**null**


null

**parent\_task\_id**

Any of:

**string**


string

<= 1000 characters

**null**


null

Example

```json
{
  "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

### 200

Successful Response

application/json

_TaskBatchCreated_

Returned by `tasks.create_batch`.

object

**results**

required

_Results_

Array<object>

_TaskBatchItemResult_

Part of `TaskBatchCreated` and `TaskBatchUpdated`.

object

**index**

required

_Index_

The item’s position in `tasks` (0-based)

integer

**ref**

Any of:

**string**


string

**null**


null

**task\_id**

Any of:

**string**


string

**null**


null

**ok**

required

_Ok_

boolean

**task**

Any of:

**TaskInDB**
_TaskInDB_

Returned by `tasks.add_dependency`, `tasks.add_subtask`, `tasks.create`, `tasks.read` and 9 more.

object

**project\_id**

Any of:

**string**


string

**null**


null

**org\_id**

Any of:

**string**


string

**null**


null

**sub\_tasks**

Any of:

**Array<string>**


Array<string>

**null**


null

**dependencies**

Any of:

**Array<string>**


Array<string>

**null**


null

**title**

required

_Title_

Task title

string

**description**

Any of:

**string**


string

**null**


null

**status**

Any of:

**TaskStatusEnum**
_TaskStatusEnum_

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.

string

Allowed values: backlog not\_started in\_progress blocked completed archived on\_hold

**null**


null

**assignee**

Any of:

**string**


string

**null**


null

**start\_date**

Any of:

**string**


string format: date

**null**


null

**due\_date**

Any of:

**string**


string format: date

**null**


null

**priority**

Any of:

**PriorityEnum**
_PriorityEnum_

Priority enum for projects and tasks

string

Allowed values: high medium low none critical

**null**


null

**task\_type**

Any of:

**TaskTypeEnum**
_TaskTypeEnum_

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=goal` is refused on write (422) and in `filter[task_type]` (400).

string

Allowed values: task bug access

**null**


null

**tags**

Any of:

**Array<string>**


Array<string>

**null**


null

**type\_data**

Any of:

**object**
object

**_key_**

additional properties

any

**null**


null

**metadata**

Any of:

**Array<object>**


Array<object>

object

**_key_**

additional properties

any

**null**


null

**created\_by**

Any of:

**string**


string

**null**


null

**updated\_by**

Any of:

**string**


string

**null**


null

**is\_subtask**

Any of:

**boolean**


boolean

**null**


null

**restricted\_to**

Any of:

**Array<string>**


Array<string>

**null**


null

**sprint\_id**

Any of:

**string**


string

**null**


null

**milestone\_id**

Any of:

**string**


string

**null**


null

**goal\_id**

Any of:

**string**


string

**null**


null

**task\_id**

required

_Task Id_

string

**created\_at**

required

Any of:

**string**


string format: date-time

**null**


null

**updated\_at**

required

Any of:

**string**


string format: date-time

**null**


null

**created\_via**

Any of:

**string**


string

**null**


null

**review\_state**

Any of:

**string**


string

**null**


null

**proposed\_project\_id**

Any of:

**string**


string

**null**


null

**reviewed\_at**

Any of:

**string**


string format: date-time

**null**


null

**reviewed\_by**

Any of:

**string**


string

**null**


null

**created\_by\_token\_id**

Any of:

**string**


string

**null**


null

**created\_by\_agent**

Any of:

**string**


string

**null**


null

**restricted\_to\_user\_ids**

Any of:

**Array<string>**


Array<string>

**null**


null

**has\_access**

Any of:

**boolean**


boolean

**null**


null

**has\_edit\_access**

Any of:

**boolean**


boolean

**null**


null

**can\_delete**

Any of:

**boolean**


boolean

**null**


null

**subscriber\_ids**

Any of:

**Array<string>**


Array<string>

**null**


null

**is\_subscribed**

Any of:

**boolean**


boolean

**null**


null

**parent\_task\_id**

Any of:

**string**


string

**null**


null

**parent\_title**

Any of:

**string**


string

**null**


null

**subtasks\_done**

_Subtasks Done_

How many of this task’s subtasks are completed. Response only.

integer

0

**subtasks\_total**

_Subtasks Total_

How many subtasks this task has (deleted ones excluded). Response only.

integer

0

**blocked\_by\_count**

_Blocked By Count_

How many live tasks this one waits on (its `dependencies` whose task is not completed, archived or deleted). Response only.

integer

0

**blocks\_count**

_Blocks Count_

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.

integer

0

**subtask\_count**

_Subtask Count_

How many subtasks this task has (deleted ones excluded); the same number as `subtasks_total`. Response only.

integer

0

**subtask\_done\_count**

_Subtask Done Count_

How many of them are completed; the same number as `subtasks_done`. Response only.

integer

0

**null**


null

**error**

Any of:

**TaskBatchItemError**
_TaskBatchItemError_

Part of `AccessBatchItemResult` and `TaskBatchItemResult`.

object

**code**

required

_Code_

What went wrong, for a client to branch on

string

Allowed values: forbidden not\_found invalid conflict parent\_failed internal

**message**

required

_Message_

The same text the single route answers with

string

**null**


null

**warning**

Any of:

**string**


string

**null**


null

**created**

required

_Created_

How many items were created

integer

**failed**

required

_Failed_

How many items failed

integer

Example

```json
{
  "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
}
```

### 400

Bad request - a query parameter outside what the operation accepts (`invalid-parameter`)

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "type": "about:blank",
  "title": "Bad request",
  "status": 400,
  "detail": "…",
  "instance": "/v1/…",
  "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"
}
```

### 401

Missing or invalid bearer token

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "type": "about:blank",
  "title": "Missing or invalid bearer token",
  "status": 401,
  "detail": "…",
  "instance": "/v1/…",
  "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"
}
```

### 403

Authenticated, but not allowed

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "type": "about:blank",
  "title": "Authenticated, but not allowed",
  "status": 403,
  "detail": "…",
  "instance": "/v1/…",
  "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"
}
```

### 404

Not found

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "type": "about:blank",
  "title": "Not found",
  "status": 404,
  "detail": "…",
  "instance": "/v1/…",
  "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"
}
```

### 409

Conflict (a duplicate, or an `Idempotency-Key` still in flight)

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "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"
}
```

### 412

`If-Match` does not match the current `ETag`

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "type": "about:blank",
  "title": "`If-Match` does not match the current `ETag`",
  "status": 412,
  "detail": "…",
  "instance": "/v1/…",
  "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"
}
```

### 422

The body or query did not validate (`validation`), or an `Idempotency-Key` was reused

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "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"
}
```

### 429

An access token, or a signed-in user, or an address over its limit (`rate-limit`; see `Retry-After`)

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "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"
}
```

### 500

Unexpected server error - quote `request_id`

application/problem+json

_Problem_

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

**type**

required

`about:blank` or a `urn:taskadence:problem:*` identifier

string

Allowed values: urn:taskadence:problem:organization-restricted urn:taskadence:problem:organization-read-only urn:taskadence:problem:organization-locked urn:taskadence:problem:billing-owner-must-hand-over about:blank urn:taskadence:problem:validation urn:taskadence:problem:invalid-parameter urn:taskadence:problem:precondition-failed urn:taskadence:problem:idempotency-key-reused urn:taskadence:problem:idempotency-key-in-flight urn:taskadence:problem:idempotency-key-invalid urn:taskadence:problem:rate-limit urn:taskadence:problem:database-unavailable urn:taskadence:problem:member-not-linked urn:taskadence:problem:internal urn:taskadence:problem:token-invalid urn:taskadence:problem:token-expired urn:taskadence:problem:token-revoked urn:taskadence:problem:insufficient-scope urn:taskadence:problem:test-token-read-only urn:taskadence:problem:token-policy urn:taskadence:problem:url-refused urn:taskadence:problem:mfa-required urn:taskadence:problem:email-unverified urn:taskadence:problem:upload-too-large urn:taskadence:problem:upload-type-not-allowed urn:taskadence:problem:upload-type-mismatch urn:taskadence:problem:upload-rejected urn:taskadence:problem:sso-required urn:taskadence:problem:storage-limit-reached urn:taskadence:problem:sprint-project-mismatch urn:taskadence:problem:sprint-not-empty urn:taskadence:problem:gone urn:taskadence:problem:removed-in-release-10

**title**

required

string

**status**

required

integer

**detail**

required

Human-readable explanation (a string; for a 422, the list of validation errors)

**instance**

required

string

**request\_id**

required

string

**errors**

Structured failures: validation errors, or `{loc, msg, allowed}` for a bad parameter

Array<object>

object

**mfa**

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

**enrolled**

boolean

**required\_for**

string

Allowed values: all admins

**reason**

string

Allowed values: org\_policy step\_up

Example

```json
{
  "type": "about:blank",
  "title": "Unexpected server error",
  "status": 500,
  "detail": "…",
  "instance": "/v1/…",
  "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"
}
```

---
Source: https://docs.taskadence.com/reference/operations/taskscreate_batch/
