Skip to main content
PATCH
/
tasks
/
batch
{
  "ids": ["task-abc123", "task-def456"],
  "completed": true
}
[
  {
    "id": "task-abc123",
    "subject": "Follow up call",
    "completed": true,
    "completedAt": "2024-12-20T14:30:00Z"
  },
  {
    "id": "task-def456",
    "subject": "Send proposal",
    "completed": true,
    "completedAt": "2024-12-20T14:30:00Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.enginy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Your Implementation Required

This endpoint must be implemented on your server
Enginy calls this endpoint to mark multiple tasks as completed in a single request.

Request

ids
array
required
Array of task CRM IDs to complete
completed
boolean
required
Set to true to mark tasks as completed
{
  "ids": ["task-abc123", "task-def456"],
  "completed": true
}

Response

Return an array of updated task objects.
[
  {
    "id": "task-abc123",
    "subject": "Follow up call",
    "completed": true,
    "completedAt": "2024-12-20T14:30:00Z"
  },
  {
    "id": "task-def456",
    "subject": "Send proposal",
    "completed": true,
    "completedAt": "2024-12-20T14:30:00Z"
  }
]
Auto-set completedAt timestamp for each task when marking as completed.