> ## 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.

# Get tasks batch

> Retrieve multiple tasks by their IDs

<Card title="Your Implementation Required" icon="triangle-exclamation" color="#f59e0b">
  This endpoint must be implemented on **your server**
</Card>

Enginy calls this endpoint to retrieve multiple tasks at once.

## Request

<ParamField body="ids" type="array" required>
  Array of task CRM IDs to retrieve
</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "ids": ["task-abc123", "task-def456", "task-ghi789"]
  }
  ```
</RequestExample>

## Response

Return an array of task objects. Omit tasks that don't exist.

<ResponseExample>
  ```json theme={null}
  [
    {
      "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"
    }
  ]
  ```
</ResponseExample>

<Note>If a task ID doesn't exist, simply omit it from the response array.</Note>
