Skip to main content
PATCH
/
tasks
/
{taskId}
{
  "completed": true
}
{
  "id": "task-abc123",
  "subject": "Follow up call",
  "completed": true,
  "completedAt": "2024-12-20T14:30:00Z"
}

Your Implementation Required

This endpoint must be implemented on your server
Enginy calls this endpoint to mark tasks as completed or update task details.

Path Parameters

taskId
string
required
The task’s CRM ID

Request

completed
boolean
Set to true to mark task as completed
{
  "completed": true
}

Response

Return the updated task object.
id
string
required
Task CRM ID
completed
boolean
Updated completion status
completedAt
string
Completion timestamp (auto-set when completed)
{
  "id": "task-abc123",
  "subject": "Follow up call",
  "completed": true,
  "completedAt": "2024-12-20T14:30:00Z"
}
Auto-set completedAt timestamp when completed changes to true.