Update Task
PUT/contacts/:contactId/tasks/:taskId
Update Task
Request
Version stringrequired
API Version
Available options
v3contactId stringrequired
Contact Id
taskId stringrequired
Task Id
- application/json
- Body
- Example (auto)
Bodyrequired
titlestring
Title of the task
bodystring
Body or description of the task
dueDatestring
Due date of the task (ISO 8601 format)
completedboolean
Whether the task is completed
assignedTostring
User Id to whom the task is assigned
{
"title": "First Task",
"body": "loram ipsum",
"dueDate": "2020-10-25T11:00:00Z",
"completed": true,
"assignedTo": "hxHGVRb1YJUscrCB8eXK"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
taskobject
Task details
{
"task": {
"id": "lJpzYrWdpkC2hX6t2yue",
"title": "test",
"body": "testing",
"assignedTo": "tesTUcmRxWrjqzJS8EjkxNK",
"dueDate": "2021-07-08T02:30:00.000Z",
"completed": true,
"contactId": "lJpzYrWdpkC2hX6t2yue"
}
}