Authentication
Posts
Update Task
PATCH
https://api.zira.us/public/task/{id}
Description
Use this endpoint to update an existing task through the integration-facing task pipeline.
| Property | Required | Type | Example | Description |
|---|---|---|---|---|
| statusId | Optional | string | 20 | New status. Setting it to "25" (Cancelled) also removes the task’s post from the feed. |
| priorityId | Optional | string | 15 | New priority — 5 Low, 10 Medium, 15 High. |
| name | Optional | string | Replace inlet filter on Line 1 | New task name. |
| description | Optional | string | Filter replaced, awaiting verification. | New plain-text description. |
| dueDate | Optional | string | 2026-06-01T12:00:00Z | New due date. |
| siteId | Optional | string | 1512 | Move the task to another site. |
| toChannelId | Optional | string | 45187 | Move the task’s feed post to another channel. |
| fileIds | Optional | string[] | ["812", "813"] | Files to attach. |
| formattedDescription | Optional | object[] | [{ "type": "paragraph", "children": [{ "text": "Filter replaced" }] }] | Rich-text description as an array of nodes. |
| timeSpentMandatory | Optional | boolean | false | Require time to be logged before completion. |
| id | Optional | string | 9901 | Optional and redundant — the path parameter is what identifies the task, and it wins if you send both. |