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

Supported Formats

json

Examples

POST /api/v1/teams/434/tasks
{
  "task": {
    "parent_id": "1157",
    "title": "created"
  }
}
200
{
  "id": 1160,
  "key": "created",
  "title": "created",
  "url": "",
  "team_id": 434,
  "created_at": "2025-10-02T10:15:45.000+09:00",
  "updated_at": "2025-10-02T10:15:45.000+09:00",
  "deleted_at": null,
  "description": null,
  "category": {
    "id": 1157,
    "key": "key15",
    "title": "key15",
    "url": null,
    "team_id": 434,
    "created_at": "2025-10-02T10:15:45.000+09:00",
    "updated_at": "2025-10-02T10:15:45.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": "1157",
  "ancestry_depth": 1,
  "closed_at": null,
  "color": 1,
  "position": null,
  "deleted_at_seconds": 0,
  "key_md5": "e2fa538867c3830a859a5b17ab24644b",
  "archived": false,
  "category_id": 1157,
  "ancestry_path": "/1157/",
  "selectable": true,
  "team": {
    "id": 434,
    "name": "Idaho bees",
    "created_at": "2025-10-02T10:15:45.000+09:00",
    "updated_at": "2025-10-02T10:15:45.000+09:00",
    "deleted_at": null,
    "time_limit": 0,
    "avatar": null,
    "ancestry": null,
    "hierarchized": false,
    "default_duration": 15,
    "tasks_readonly_role": "none",
    "workspaces_workspace_id": 550,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false,
    "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAABBUlEQVR42u3csUlDURSA4RdxAsFeSJEUKRzDAQJB7Z0kxZsgnTtoaWNhITZmj+zwCE4QSPcR/L/6FAd+zi3vbBh2u3EcglzpBf67AmAFwAqAFQArAFYA7FovcK71ev6xeFqtbu5vX0/NbLe/n9+HaTo+Hu/0vue6qADL581m/rb8OjUzjvuXn4dpGt4vJ0BPEFYArABYAbACYAXACoAVACsAVgCsAFgBsAJgBcAKgBUAKwBWAKwAWAGwAmAFwAqAFQArAFYArABYAbACYAXACoAVACsAVgCsAFgBsAJgBcAKgBUAKwBWAKwAWAGwAmCzvq20ugCsAFgBsAJgBcAKgBUAKwD2BzHWHIifl2p5AAAAAElFTkSuQmCC"
  },
  "can_trash": true,
  "is_new_task": true
}
POST /api/v1/teams/435/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