---
title: "Get Usage By Shop"
method: GET
path: "/api/billing/usage-by-shop"
tags: ["Billing"]
---

# Get Usage By Shop

`GET /api/billing/usage-by-shop`

## 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/billing/usage-by-shop`
- Auth: none declared. Required headers: `authorization`

Get current billing period message count broken down by shop.

Returns a list of {shop_id, shop_name, platform, message_count} for each
shop owned by the user, plus the total.

## Headers

- `authorization` string, required: Bearer <token>

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