Create a Task


POST /api/project/:projectId/task

Create a task.

Endpoint URL

https://<space_id>.repsona.com/api/project/:projectId/task

Authorization

Owner Admin Member

Path parameters

NameTypeDescription
projectId*stringProject ID

Body parameters

NameTypeDescription
name*stringName
descriptionstringDescription
startDatenullable numberStart date
dueDatenullable numberDue date
statusnullable numberStatus ID
tagsnullable arrayTag ID
prioritynullable enum (1, 2, 3)Priority
milestonenullable numberMilestone ID
parentnullable numberParent Task ID
addToBottombooleanWhether to add at the bottom
responsibleUsernullable numberResponsible user
ballHoldingUsernullable numberBall Holder

Example responses

{
  "requestedBy": 1,
  "project": 1,
  "task": {
    "createdAt": 1672498800000,
    "updatedAt": 1672498800000,
    "id": 1746,
    "deletedAt": null,
    "name": "Task name",
    "sortOrder": 0,
    "priority": 2,
    "planned": null,
    "actual": null,
    "description": "Task Description",
    "dueDate": 1672498800000,
    "startDate": 1672498800000,
    "extra": null,
    "space": 1,
    "status": 1,
    "parent": null,
    "project": 1,
    "milestone": 1,
    "responsibleUser": 1,
    "ballHoldingUser": 1,
    "addToBottom": false
  }
}

Human-centered, better teams!

Repsona is the ideal work management tool for your team.
Get started for free