---
title: "Get History"
method: GET
path: "/api/messages/history"
tags: ["Messages"]
---

# Get History

`GET /api/messages/history`

## 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/messages/history`
- Auth: none declared. Required headers: `authorization`

Get message history for the shop (supports both list and paginated response).

Query params:
    search: customer name partial match
    date_from: YYYY-MM-DD start date (JST)
    date_to: YYYY-MM-DD end date (JST, inclusive)

## Query parameters

- `limit` integer
- `offset` integer
- `page` integer, nullable
- `search` string, nullable
- `date_from` string, nullable
- `date_to` string, nullable

## Headers

- `x-shop-id` string, nullable: Optional shop ID
- `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)
