---
title: "Refresh Engagement Snapshots"
method: POST
path: "/api/analytics/engagement/refresh"
tags: ["Analytics"]
---

# Refresh Engagement Snapshots

`POST /api/analytics/engagement/refresh`

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

Rebuild weekly engagement snapshots (admin action).

## Query parameters

- `weeks` integer

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