# Daily review analytics snapshot

**Event:** `review_analytics.daily_snapshot`

**Event name:** `review_analytics.daily_snapshot`

The daily review-analytics roll-up for a location. Scope: location-scoped. Delivered as a signed HTTP POST to your Webhooks URL.

Source: https://developer.synup.com/webhooks/review-analytics-daily-snapshot

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Synup-Signature` | string | required | sha256=base64(HMAC-SHA256(signing_secret, raw_request_body)). Verify with your signing secret before processing; reject on mismatch. |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `event` | string | optional | Dotted event name. |
| `timestamp` | string | optional | ISO-8601 UTC time the event was emitted. |
| `account_id` | integer | optional | Synup account the event belongs to. |
| `location_id` | string | optional | Numeric string for location-scoped events; null for brand-scoped events. |
| `data` | object | optional |  |
| `data.period` | string | optional | Period start, YYYY-MM-DD. |
| `data.granularity` | string | optional | "daily" or "weekly". |
| `data.total_reviews` | integer | optional | All-time total review count for the location. |
| `data.new_reviews_in_period` | integer | optional | New reviews received during this period. |
| `data.average_rating` | number | optional | Average star rating this period (4-dp float; 0.0 if none). |
| `data.previous_average_rating` | number | optional | Average rating for the preceding period. |

## Responses

| Status | Description |
| --- | --- |
| `200` | Your endpoint acknowledges receipt with any 2xx. A non-2xx response or a timeout (>10s) is treated as a failed delivery. |
