※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。

Supported Formats

json

Examples

POST /api/v1/teams/11/tasks
{
  "task": {
    "parent_id": "36",
    "title": "created"
  }
}
200
{
  "id": 39,
  "key": "created",
  "title": "created",
  "url": "",
  "team_id": 11,
  "created_at": "2025-06-02T16:24:38.000+09:00",
  "updated_at": "2025-06-02T16:24:38.000+09:00",
  "deleted_at": null,
  "description": null,
  "category": {
    "id": 36,
    "key": "key15",
    "title": "key15",
    "url": null,
    "team_id": 11,
    "created_at": "2025-06-02T16:24:38.000+09:00",
    "updated_at": "2025-06-02T16:24:38.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": true,
    "sequential_id": null,
    "state": "open",
    "bill": 0,
    "ancestry": null,
    "ancestry_depth": 0,
    "closed_at": null,
    "color": 1,
    "position": 2,
    "deleted_at_seconds": 0,
    "key_md5": "5fad0a4b0df1932909bac2090c156b8e",
    "archived": false,
    "category_id": null,
    "ancestry_path": "/",
    "selectable": true,
    "ancestor_titles": []
  },
  "sequential_id": null,
  "state": "open",
  "bill": 0,
  "ancestry": "36",
  "ancestry_depth": 1,
  "closed_at": null,
  "color": 1,
  "position": null,
  "deleted_at_seconds": 0,
  "key_md5": "e2fa538867c3830a859a5b17ab24644b",
  "archived": false,
  "category_id": 36,
  "ancestry_path": "/36/",
  "selectable": true,
  "team": {
    "id": 11,
    "name": "Iowa foes",
    "created_at": "2025-06-02T16:24:37.000+09:00",
    "updated_at": "2025-06-02T16:24:38.000+09:00",
    "deleted_at": null,
    "time_limit": 0,
    "avatar": null,
    "personal": false,
    "premium": false,
    "ancestry": null,
    "rounding": "floor",
    "capacity": null,
    "hierarchized": false,
    "default_duration": 15,
    "tasks_readonly_role": "none",
    "workspaces_workspace_id": 41,
    "tasks_readonly": false,
    "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAABCklEQVR42u3csU2CUQBGUeC3dACJiQtYGhewcQILe5agcwMGcARbia0r2FgYQpyCgiA4AQndifGe+hVfcvNe+caz2XK52YyCTPSA/64AWAGwAmAFwAqAFQA70wNOdXM3nQ/by6/zj8ni2JnXh9X37nm/OHweVnrvqf5QgIv5sL19nI6Gp2Nn3u7X17v3/dXPi157up4grABYAbACYAXACoAVACsAVgCsAFgBsAJgBcAKgBUAKwBWAKwAWAGwAmAFwAqAFQArAFYArABYAbACYAXACoAVACsAVgCsAFgBsAJgBcAKgBUAKwBWAKwAWAGwAmAFwMZ9W2l1A7ACYAXACoAVACsAVgCsANgvWZ0gc8oQfWYAAAAASUVORK5CYII="
  },
  "can_trash": true
}
POST /api/v1/teams/12/tasks
{
  "task": {
    "title": "created"
  }
}
422
{
  "messages": [
    "選択中のチームでタスクの作成・編集・削除は許可されていません"
  ]
}

Params

Param name Description
task
optional

Validations:

  • Must be a Hash

task[title]
optional

Validations:

  • Must be a String

task[url]
optional

Validations:

  • Must be a String

task[parent_id]
optional

Validations:

  • Must be a number.

task[description]
optional

Validations:

  • Must be a String