> ## Documentation Index
> Fetch the complete documentation index at: https://mako-docs.devinagiffy.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger EOD Collection

> Manually trigger the end-of-day collection process for an organization (Admin only)

<Warning>This endpoint is restricted to Admin users. It manually triggers the same process that runs automatically at the configured `eodCollectionTime` (default 7 PM).</Warning>

## Request Body

<ParamField body="orgId" type="string" required>
  Organization UUID
</ParamField>

<ParamField body="date" type="string">
  Date to collect for, in `YYYY-MM-DD` format. Defaults to today if omitted.
</ParamField>

## Response

Returns the collection result with counts of processed task statuses.

<ResponseField name="success" type="boolean">
  Whether the collection completed successfully
</ResponseField>

<ResponseField name="date" type="string">
  Date that was collected (YYYY-MM-DD)
</ResponseField>

<ResponseField name="processed" type="number">
  Total number of task statuses processed
</ResponseField>

<ResponseField name="done" type="number">
  Tasks marked as done
</ResponseField>

<ResponseField name="carryForward" type="number">
  Tasks carried forward
</ResponseField>

<ResponseField name="dropped" type="number">
  Tasks dropped
</ResponseField>

<ResponseField name="noUpdate" type="number">
  Users with no status update
</ResponseField>

<ResponseField name="summaryPosted" type="boolean">
  Whether the daily summary was posted to the progress channel
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.hitler.app/api/eod/collect" \
    -H "Authorization: Bearer ADMIN_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "orgId": "org-uuid",
      "date": "2026-03-06"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "date": "2026-03-06",
    "processed": 24,
    "done": 15,
    "carryForward": 6,
    "dropped": 1,
    "noUpdate": 2,
    "summaryPosted": true
  }
  ```
</ResponseExample>
