Update Task
Change a Task: its status (recommended, not_started, in_progress, done, archived), an optional archive_reason, title, description, goal, assignee (user ID or a teammate's email) or due date. Anyone who can change a Task can set any status, including back from done or archived. To change many: over HTTP, PATCH /v1/tasks (Update Tasks); on MCP, send tasks (1 to 1,000, each with task_id, expected_revision and the changes) to this tool instead of task_id: all or nothing, in order, one receipt; returns count, task_ids and each new revision. A refused Task: details.task_index (from 0).
AuthorizationBearer <token>A signed-in SMB user's access token. Workspace-scoped operations also require SMB-Workspace-Id.
task_id*stringStable Task ID.
^tsk_[0-7][0-9A-HJKMNP-TV-Z]{25}$SMB-Workspace-Id*stringWorkspace where this operation runs. Required for user tokens and Workspace API keys.
uuidIdempotency-Key*string8 <= length <= 200application/json- body
expected_revision*integer1 <= valuetitle?string1 <= length <= 300description?|length <= 10000goal_id?|^gol_[0-7][0-9A-HJKMNP-TV-Z]{25}$assignee_user_id?|^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$assignee_email?|emailassignee_rule?|Room tasks: link_opener = whoever opens a link that starts from this Room. Not with an assignee.
"link_opener"nulldue_at?|date-timeupload_folder_id?|Room tasks: folder for its uploads (null: none).
^rfd_[0-7][0-9A-HJKMNP-TV-Z]{25}$status?Status2recommended (suggested to someone), not_started, in_progress, done or archived. Anyone who can change the task can move it to any status.
"recommended""not_started""in_progress""done""archived"archive_reason?|Optional note on why it is archived. Cleared when the Task leaves archived.
length <= 2000Successful authorized response.
application/json- response
data*|receipt*idempotent_replay*smb_v0_operations_create_list_request.__local.properties.body.__schema16request_id*stringcurl -X PATCH 'https://example.com/v1/tasks/string' \ -H 'SMB-Workspace-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Idempotency-Key: stringst' \ -H 'Content-Type: application/json' \ -d '{ "expected_revision": 1}'{ "data": { "task_id": "string", "business_id": "string", "room_id": "string", "goal_id": "string", "upload_folder_id": "string", "title": "string", "description": "string", "status": "recommended", "created_by": { "type": "user", "id": "string" }, "why": "string", "source": { "type": "user", "id": "string" }, "assignee_user_id": "string", "assignee_email": "user@example.com", "assignee_rule": "link_opener", "due_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "done_at": "2019-08-24T14:15:22Z", "archived_at": "2019-08-24T14:15:22Z", "archive_reason": "string", "done_with": [ null ], "revision": 1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "receipt": { "receipt_id": "64d0a161-468e-472a-b00e-a06ee9ab7de7", "command_id": "7d510d78-7444-4252-aeac-9e473949661e", "operation": "string", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9" }, "idempotent_replay": true, "request_id": "string"}