Skip to main content
POST
/
tasks
/
batch
{
  "ids": ["task-abc123", "task-def456", "task-ghi789"]
}
[
  {
    "id": "task-abc123",
    "subject": "Follow up call",
    "completed": false,
    "dueDate": "2024-12-31T10:00:00Z"
  },
  {
    "id": "task-def456",
    "subject": "Send proposal",
    "completed": true,
    "completedAt": "2024-12-18T09:00:00Z"
  }
]

Your Implementation Required

This endpoint must be implemented on your server
Enginy calls this endpoint to retrieve multiple tasks at once.

Request

ids
array
required
Array of task CRM IDs to retrieve
{
  "ids": ["task-abc123", "task-def456", "task-ghi789"]
}

Response

Return an array of task objects. Omit tasks that don’t exist.
[
  {
    "id": "task-abc123",
    "subject": "Follow up call",
    "completed": false,
    "dueDate": "2024-12-31T10:00:00Z"
  },
  {
    "id": "task-def456",
    "subject": "Send proposal",
    "completed": true,
    "completedAt": "2024-12-18T09:00:00Z"
  }
]
If a task ID doesn’t exist, simply omit it from the response array.