POST/projects/api/v3/tasklists/{tasklistId}/tasks.json

Creates a task.

Create a new task in the provided task list.

Path Params

  • Name
    tasklistId
    Type
    integer
    required
    Description

Body Params

Request contains information of a task to be created or updated.

    • Name
      attachmentOptions
      Type
      object
    • Name
      attachments
      Type
      object
    • Name
      card
      Type
      object
      Description
      Card stores information about the card created with the task.
    • Name
      predecessors
      Type
      array
      Description
      Predecessor stores information about task predecessors.
    • Name
      tags
      Type
      array
      Description
      Tag contains all the information returned from a tag.
    • Name
      task
      Type
      object
      Description
      Task contains all the information returned from a task.
    • Name
      taskOptions
      Type
      object
      Description
      Options contains any options which can be set for the task request
    • Name
      workflows
      Type
      object
      Description
      Workflows stores information about where the task lives in the workflow

    Responses

    • Code
      201
      Type
      object
      Schema
      Description
      201 Created
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    201 Created

    responseV205
    {  "affected": {    "linkedCardId": 0,    "linkedColumnId": 0,    "linkedColumnName": "string",    "taskIds": [      0    ]  },  "included": {    "cards": {      "additionalProp": {        "archived": true,        "archivedAt": "string",        "archivedBy": {          "id": 0,          "meta": {},          "type": "string"