---
title: "Get Daily Breakdown"
method: GET
path: "/api/analytics/daily-breakdown"
tags: ["Analytics"]
---

# Get Daily Breakdown

`GET /api/analytics/daily-breakdown`

## Request

- Base URL: `https://api.soeru.biz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.soeru.biz/api/analytics/daily-breakdown`
- Auth: none declared. Required headers: `authorization`

Get daily message counts for a given month across all shops.

Returns per-day counts for the requested month, used by the
dashboard's accordion daily breakdown. Only fetched on demand
(lazy-loaded) for better performance.

## Query parameters

- `year` integer, required
- `month` integer, required

## Headers

- `authorization` string, required: Bearer <token>
- `x-shop-id` string, nullable: Optional shop ID

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
