※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
POST /api/v1/teams/:team_id/tasks
Create a task
Supported Formats
jsonExamples
POST /api/v1/teams/407/tasks { "task": { "parent_id": "885", "title": "created" } } 200 { "id": 888, "key": "created", "title": "created", "url": "", "team_id": 407, "created_at": "2025-08-13T09:05:30.000+09:00", "updated_at": "2025-08-13T09:05:30.000+09:00", "deleted_at": null, "description": null, "category": { "id": 885, "key": "key15", "title": "key15", "url": null, "team_id": 407, "created_at": "2025-08-13T09:05:29.000+09:00", "updated_at": "2025-08-13T09:05:30.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": "885", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "e2fa538867c3830a859a5b17ab24644b", "archived": false, "category_id": 885, "ancestry_path": "/885/", "selectable": true, "team": { "id": 407, "name": "Kentucky dwarves", "created_at": "2025-08-13T09:05:29.000+09:00", "updated_at": "2025-08-13T09:05:30.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": 425, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false, "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAGrklEQVR42u2ce3BTVQKHv6RNHykNpU1fNoEuItMpyFSGN755KMguW2WH6chrt4uIjAhTkUItUBURKq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IEExQgmKAAwQQFCCYoQDBBAYL5GbByEB4L4TVMAAAAAElFTkSuQmCC" }, "can_trash": true }
POST /api/v1/teams/408/tasks { "task": { "title": "created" } } 422 { "messages": [ "選択中のチームでタスクの作成・編集・削除は許可されていません" ] }
Params
Param name | Description |
---|---|
task optional |
Validations:
|
task[title] optional |
Validations:
|
task[url] optional |
Validations:
|
task[parent_id] optional |
Validations:
|
task[description] optional |
Validations:
|