Update a task
Authorization
bearerAuth Your PerspecTask API key (starts with pt_live_). Each key carries scopes: tasks:read (GET), tasks:write (full create/update), and tasks:write:meta (create/update everything EXCEPT editing title/description of existing tasks — for automation that manages workflow without rewriting human-authored content). KPIs have their own: kpis:read and kpis:write (create, update and delete KPI entries). Time tracking: timers:read and timers:write (start, stop and edit timers). Task history: history:read (read only; nobody can edit it).
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/tasks/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"pr_token": "string",
"title": "string",
"description": "string",
"encrypted": true,
"deadline": "string",
"deadline_date": "2019-08-24T14:15:22Z",
"status": "ACTIVE",
"completion": "string",
"worked_time": 0,
"priority": 1,
"created": "string",
"blocked_by": [
"string"
],
"children": [
"string"
],
"parents": [
"string"
]
}Create a task POST
Previous Page
List the history of all tasks GET
Every change to your tasks, newest first: status, priority, deadline, parents, title and description edits. Recorded automatically on every change; nobody can edit it. Changes made through the API or a connected app carry an `actor`. Encrypted and deleted tasks are left out.