POST
/
task
curl --request POST \
  --url https://api.teamcamp.app/v1.0/task \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "projectId": "<string>",
  "taskName": "<string>",
  "description": "<string>",
  "priority": "No Priority",
  "dueDate": "2023-12-25",
  "groupId": "<string>",
  "taskUsers": [
    "<string>"
  ],
  "files": [
    {
      "fileType": "<string>",
      "href": "<string>",
      "name": "<string>",
      "size": "<string>"
    }
  ],
  "estimateTime": 123,
  "milestoneId": 123
}'
{
  "taskId": "<string>",
  "taskName": "<string>",
  "projectId": "<string>",
  "groupId": "<string>",
  "group": "<string>",
  "description": "<string>",
  "status": true,
  "subscribers": [
    "<string>"
  ],
  "dueDate": "<string>",
  "priority": "<string>",
  "estimateTime": 123,
  "milestoneId": 123,
  "taskUsers": [
    {
      "taskUserId": "<string>"
    }
  ]
}

Creates a new task within the project specified by the provided projectId. Upon successful creation of the task, notifications are sent to the users listed in the taskUsers.

Authorizations

apiKey
string
header
required

Body

application/json
Task to add to the project

The body is of type object.

Response

200
application/json
task response

The response is of type object.