Skip to main content
POST
Create a new task

Overview

Create a new task within a project. Tasks can be assigned to team members, given priorities, and organized into sprints.

Request Body

string
required
The name of the task.Example: "Implement login feature"
integer
required
The ID of the project this task belongs to.Example: 123
string
Detailed description of the task.Example: "Write comprehensive documentation for all API endpoints"
string
The due date for the task in UTC (ISO 8601 format).Example: "2025-12-31T23:59:59Z"
integer
User ID of the person assigned to this task. If not provided, defaults to the logged-in user’s ID.Example: 1
integer
default:"3"
Priority level of the task. You can get the priority list using the priority API.Default: 3 (Medium)Example: 1
array
Array of sprint IDs if you want to create this task under specific sprints.Example: [1, 2]

Response

integer
The unique identifier for the newly created task.
string
The name of the task.
integer
The ID of the project this task belongs to.
string
Detailed description of the task.
string
The due date for the task in UTC.
integer
User ID of the person assigned to this task.
integer
Priority level of the task.
string
The timestamp when the task was created (ISO 8601 format).

Example Request

Example Response

Error Responses

Notes

  • Required fields: task_name and project_id must be provided
  • Default assignee: If no assignee is specified, the task will be assigned to the logged-in user
  • Default priority: If no priority is specified, it defaults to 3 (Medium)
  • Sprint assignment: Tasks can be assigned to multiple sprints simultaneously
  • Priority levels: Use the priority API endpoint to get the complete list of available priority levels
  • Date format: All dates should be in ISO 8601 format (UTC timezone)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
task_name
string
required

The name of the task

Example:

"Implement login feature"

project_id
integer<int64>
required

The ID of the project this task belongs to

Example:

123

description
string

Detailed description of the task

Example:

"Write comprehensive documentation for all API endpoints"

due_date
string<date-time>

The due date for the task in UTC

Example:

"2025-12-31T23:59:59Z"

assignee
integer<int64>

User ID of the person assigned to this task. Defaults to the logged-in user's ID if not provided.

Example:

1

priority
integer<int64>
default:3

Priority level of the task. You can get priority list using priority API. If not set, it will default to 3 (Medium)

Example:

1

sprintIds
integer<int64>[]

Array of sprint IDs if you want to create this task under specific sprints

Example:

Response

New task response