API: Lists
Lists group tasks inside a workspace. Every list has a color, picked automatically at creation.
List lists
Section titled “List lists”GET /api/workspaces/{workspaceId}/lists[ { "id": "019f…", "name": "Groceries", "color": "#22d3ee" }, { "id": "019f…", "name": "House", "color": "#f471b5" }]Create a list
Section titled “Create a list”POST /api/workspaces/{workspaceId}/lists{ "name": "Groceries" }Returns 201 with { "id": "…" }.
Rename a list
Section titled “Rename a list”PUT /api/workspaces/{workspaceId}/lists/{listId}{ "name": "Weekly groceries" }Returns 200.
Delete a list
Section titled “Delete a list”DELETE /api/workspaces/{workspaceId}/lists/{listId}Returns 204. Tasks in the list are not deleted — they keep existing
without a list (listId becomes null).
