Create Task

Create a new task.

SecurityAuthorization_Token
Request
path Parameters
list_id
required
number <double>
query Parameters
custom_task_ids
boolean

If you want to reference a task by its custom task id, this value must be true.

team_id
number <double>

When the custom_task_ids parameter is set to true, the Workspace ID must be provided using the team_id parameter.
For example: custom_task_ids=true&team_id=123.

Request Body schema: application/json
required
name
required
string
description
string
assignees
Array of integers
archived
boolean
group_assignees
Array of integers
tags
Array of strings
status
string
priority
integer or null <int32>
due_date
integer <int64>
due_date_time
boolean
time_estimate
integer <int32>
start_date
integer <int64>
start_date_time
boolean
points
number

Add Sprint Points to the task.

notify_all
boolean

If notify_all is true, notifications will be sent to everyone including the creator of the comment.

parent
string or null

You can create a subtask by including an existing task ID.

The parent task ID you include can be a subtask, but must be in the same List specified in the path parameter.

links_to
string or null

Include a task ID to create a linked dependency with your new task.

check_required_custom_fields
boolean

When creating a task via API any required Custom Fields are ignored by default (false).

You can enforce required Custom Fields by including check_required_custom_fields: true.

Array of objects (CustomFields6)
custom_item_id
number

The custom task type ID for this task. A value of null (default) creates a standard task type "Task".

To get a list of available custom task type IDs for your Workspace, use the Get Custom Task Types endpoint.

Responses
200
post/v2/list/{list_id}/task
Request samples
application/json
{
  • "name": "New Task Name",
  • "description": "New Task Description",
  • "markdown_description": "New Task Description",
  • "assignees": [
    ],
  • "archived": false,
  • "group_assignees": [
    ],
  • "tags": [
    ],
  • "status": "Open",
  • "priority": 3,
  • "due_date": 1508369194377,
  • "due_date_time": false,
  • "time_estimate": 8640000,
  • "start_date": 1567780450202,
  • "start_date_time": false,
  • "points": 3,
  • "notify_all": true,
  • "parent": null,
  • "links_to": null,
  • "check_required_custom_fields": true,
  • "custom_fields": [
    ]
}
Response samples
application/json
{
  • "id": "9hx",
  • "custom_id": null,
  • "custom_item_id": null,
  • "name": "New Task Name",
  • "text_content": "New Task Content",
  • "description": "New Task Content",
  • "markdown_description": "New Task Content",
  • "status": {
    },
  • "orderindex": "1.00000000000000000000000000000000",
  • "date_created": "1567780450202",
  • "date_updated": "1567780450202",
  • "date_closed": null,
  • "date_done": null,
  • "creator": {},
  • "assignees": [ ],
  • "archived": false,
  • "group_assignees": [ ],
  • "checklists": [ ],
  • "tags": [ ],
  • "parent": "abc1234",
  • "priority": null,
  • "due_date": null,
  • "start_date": null,
  • "points": 3,
  • "time_estimate": null,
  • "time_spent": null,
  • "custom_fields": [
    ],
  • "list": {
    },
  • "folder": {
    },
  • "space": {
    },
}