Updates specified fields on a task. Send null to clear optional fields (dueTime, priority, timeSpent, details).
cURL
curl --request PATCH \ --url https://znift.com/api/v1/tasks/{taskId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "text": "<string>", "dueTime": 123, "priority": "high", "timeSpent": 123, "details": "<string>" } '
{ "success": true }
API key with znift_ prefix. Create one in Profile > API Keys.
Task ID
1
high
medium
low
Task updated