Task Environments
Containers (boards) that group tasks.
/task-environmentsList task environments
Returns an org-wide list of every active task environment (the top level of the work-management board). No auto-seed and no per-user filtering - every active environment in the organization is returned. Requires scope: tasks:read.
Response 200
Errors
/task-environmentsCreate a task environment
Creates a single task environment document. Unlike the internal UI endpoint, no default groups are batch-seeded - exactly the one resource requested is created. The organization and actor are derived from the API key context, never the request body. When position is omitted it is server-derived as max(existing position)+1 within the org's active environments. Requires scope: tasks:write.
Request body
namerequirediconpositionassigneesidnameroleResponse 201
idobjectnameiconcolorisDefaultpositionassigneesidnameroleassigneeIdscreatedByNamegroupsidobjectenvironmentIdnamecolorpositionisDefaultcollapsedsubGroupscreatedByNamecreatedAtupdatedAtcreatedAtupdatedAtErrors
/task-environments/{id}Retrieve a task environment
Returns a single task environment by id. A record belonging to another organization returns 404 rather than 403, so this can never confirm cross-tenant existence. Requires scope: tasks:read.
Parameters
Path
idrequiredResponse 200
idobjectnameiconcolorisDefaultpositionassigneesidnameroleassigneeIdscreatedByNamegroupsidobjectenvironmentIdnamecolorpositionisDefaultcollapsedsubGroupscreatedByNamecreatedAtupdatedAtcreatedAtupdatedAtErrors
/task-environments/{id}Update a task environment
Updates only the provided fields of a task environment. Cross-org or soft-deleted resources return 404. Requires scope: tasks:write.
Parameters
Path
idrequiredRequest body
nameiconpositionassigneesidnameroleResponse 200
idobjectnameiconcolorisDefaultpositionassigneesidnameroleassigneeIdscreatedByNamegroupsidobjectenvironmentIdnamecolorpositionisDefaultcollapsedsubGroupscreatedByNamecreatedAtupdatedAtcreatedAtupdatedAtErrors
/task-environments/{id}Delete a task environment
Soft-deletes a task environment and cascades the soft-delete to every active group and task within it, in a single batch. Org-scoped throughout. Requires scope: tasks:write.
Parameters
Path
idrequiredResponse 200
idobjectdeletedgroupsRemovedtasksRemovedErrors
/task-environments/{id}/groupsList a task environment's groups
Lists the task groups that belong to a single environment, org-scoped and soft-delete filtered, position-ordered. Use a returned group id as the groupId required to create a task (the tasks API takes a groupId, not an environmentId). A cross-org or soft-deleted environment returns 404. Requires scope: tasks:read.
Parameters
Path
idrequiredResponse 200
Errors
/task-environments/{id}/groupsCreate a task group
Creates a task group inside an environment. A group is the container a task is filed under, so this is how you build a board from scratch and then create tasks against it (POST /tasks requires a groupId). position auto-derives to the end of the environment when omitted. A cross-org or soft-deleted environment returns 404. Supports idempotent retries via the Idempotency-Key header. Requires scope: tasks:write.
Parameters
Path
idrequiredRequest body
namerequiredcolorpositionResponse 201
idobjectenvironmentIdnamecolorpositionisDefaultcollapsedsubGroupsidnamecolorpositioncreatedByNamecreatedAtupdatedAt