Partially updates an existing task. Fields not supplied are left unchanged.
Notes:
curl --request PUT \
--url https://api.lofty.com/v1.0/tasks/{taskId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"content": "Send an email to my lead",
"leadId": 563172647619608,
"deadline": 1508580010000,
"type": "Call",
"assignedRole": "Agent",
"finishFlag": true
}
'Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
ID of the task to update.
x >= 1Task payload.
Description of the task.
"Send an email to my lead"
ID of the lead this task belongs to.
563172647619608
Deadline of the task, in milliseconds since Unix epoch (UTC).
1508580010000
Type of the task.
Other, Call, Email, Text "Call"
Role the task is assigned to.
Agent, Assistant "Agent"
When true on update, the task is marked completed and other fields are ignored.
true
Task updated successfully. No response body.
curl --request PUT \
--url https://api.lofty.com/v1.0/tasks/{taskId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"content": "Send an email to my lead",
"leadId": 563172647619608,
"deadline": 1508580010000,
"type": "Call",
"assignedRole": "Agent",
"finishFlag": true
}
'