Create subtask
documentedCreate a subtask under a task.
POST /tasks/{task_gid}/subtasksTasksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://app.asana.com/api/1.0/tasks/{{$task_gid}}/subtasks" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"name": "{{$title}}", "notes": "{{$notes}}", "assignee": "{{$assignee_gid}}", "due_at": "{{$due_at}}", "due_on": "{{$due_on}}", "completed": {{$completed}}}}'