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
startDatenumberStart date
dueDatenumberDue date
statusnumberStatus ID
tagsarrayTag ID
priorityenum (1, 2, 3)Priority
milestonenumberMilestone ID
parentnumberParent Task ID
addToBottombooleanWhether to add at the bottom
responsibleUsernumberResponsible user
ballHoldingUsernumberBall Holder

Example responses

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

Human-centered, best team!

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