API for created tasks does not have a way to add the task under a parent block
in progress
eddis
yeah so, when I create a task, the task itself is always created under a parent.
But I have no control over which parent, you only gave us de option to say if we want to place at
afterbegin
or beforebegin
, which is nice, but it is not enough control.This is what you get when you create a task
{
"ok": true,
"item": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"text": "string",
"parentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"completed": false
}
]
}
It would be super nice if you can allow the API to acpet the partentID as input, so we can choose the node where to create the task, and respect the placement in that node,
afterbegin
or beforebeing
whithin the parent node selected.Thanks
Log In
John at Taskade
This is a valid gap in the task creation API — afterbegin/beforeend gives you sibling-level positioning, but if you need to nest a task under a specific parent node programmatically, there's currently no direct way to express that relationship in the request payload.
Granular parent-block targeting (being able to pass a parent task ID so the new task is created as a child of that specific node) is something we want to add to the API. This matters a lot for automation workflows that build hierarchical task trees dynamically.
While this specific parameter isn't available yet, you can work around it today by creating the parent task first, capturing its ID from the response, then using a separate API call to create child tasks scoped to that parent context. It's not as clean as a single call, but it gives you the nesting behavior you need.
Full parent-targeting in a single create call is on our API roadmap. Keep an eye on https://taskade.com/changelog for updates, and thank you for the detailed code example — it helps our API team understand the exact gap!
John at Taskade
Update: We're actively working on this!
This is in development and your votes helped us prioritize it.While you wait, check out what's new:
- **Taskade Genesis** — generate AI-powered apps, agents, and workflows
- **Community Hub** — 1000+ free templates and apps
Follow our progress: Changelog | Product Updates
Thanks for your patience and for helping shape Taskade!
John at Taskade
marked this post as
in progress
Update: We've shipped Public API v2!
We're actively expanding API capabilities including task hierarchy support. Your feedback is noted for future updates.In the meantime, explore what's new:
- Build with Taskade Genesis — AI-powered app builder
- Browse Community Templates — 1000+ free templates
Follow our progress: Changelog | Product Updates