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

# Daily Breakdown

> Get day-by-day analytics for a date range

Returns an array of objects — one per day in the requested range — with conversations, reply counts, speed-to-lead metrics, and category breakdowns.

Conversations are deduplicated by thread so each unique conversation is counted once. Speed metrics use all replies (not deduplicated).

## Query Parameters

<ParamField query="start_date" type="string" required>
  Start of date range in `YYYY-MM-DD` format
</ParamField>

<ParamField query="end_date" type="string" required>
  End of date range in `YYYY-MM-DD` format
</ParamField>

<ParamField query="client_id" type="string">
  Filter to a specific client UUID
</ParamField>

## Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://app.replyify.ai/api/analytics/daily?start_date=2025-03-01&end_date=2025-03-07" \
    -H "Authorization: Bearer rpl_your_api_key"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://app.replyify.ai/api/analytics/daily?start_date=2025-03-01&end_date=2025-03-07',
    {
      headers: {
        'Authorization': 'Bearer rpl_your_api_key'
      }
    }
  );
  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://app.replyify.ai/api/analytics/daily',
      params={'start_date': '2025-03-01', 'end_date': '2025-03-07'},
      headers={'Authorization': 'Bearer rpl_your_api_key'}
  )
  data = response.json()
  ```
</CodeGroup>

## Response Example

```json theme={null}
{
  "data": [
    {
      "date": "2025-03-01",
      "total_replies": 24,
      "conversations": 18,
      "sent": 12,
      "positive": 6,
      "meetings_booked": 2,
      "booking_rate": 33.33,
      "avg_reply_speed_minutes": 4.52,
      "avg_auto_reply_speed_minutes": 1.23,
      "avg_manual_reply_speed_minutes": 14.87,
      "category_breakdown": [
        { "category": "Interested", "slug": "interested", "count": 6 },
        { "category": "Not Interested", "slug": "not-interested", "count": 5 },
        { "category": "Out of Office", "slug": "ooo", "count": 4 },
        { "category": "Meeting Booked", "slug": "meeting-booked", "count": 2 },
        { "category": "Uncategorized", "slug": "uncategorized", "count": 1 }
      ]
    },
    {
      "date": "2025-03-02",
      "total_replies": 0,
      "conversations": 0,
      "sent": 0,
      "positive": 0,
      "meetings_booked": 0,
      "booking_rate": 0,
      "avg_reply_speed_minutes": null,
      "avg_auto_reply_speed_minutes": null,
      "avg_manual_reply_speed_minutes": null,
      "category_breakdown": []
    }
  ]
}
```

## Response Fields

| Field                            | Type           | Description                                          |
| -------------------------------- | -------------- | ---------------------------------------------------- |
| `date`                           | string         | The date (`YYYY-MM-DD`)                              |
| `total_replies`                  | number         | Raw inbound reply count (not deduplicated)           |
| `conversations`                  | number         | Unique conversations (deduplicated by thread)        |
| `sent`                           | number         | Responses sent or handled                            |
| `positive`                       | number         | Interested / positive leads                          |
| `meetings_booked`                | number         | Replies categorized as "meeting-booked"              |
| `booking_rate`                   | number         | Percentage of positive replies that booked a meeting |
| `avg_reply_speed_minutes`        | number \| null | Average time to reply (all replies)                  |
| `avg_auto_reply_speed_minutes`   | number \| null | Average time for automated replies                   |
| `avg_manual_reply_speed_minutes` | number \| null | Average time for manual replies                      |
| `category_breakdown`             | array          | Count per category for that day                      |
