---
title: "Subscribe to receive stats emails or update an existing subscription"
method: POST
path: "/api/accounts/{account_name}/sites/{site_name}/stats-email"
tags: ["Accounts"]
---

# Subscribe to receive stats emails or update an existing subscription

`POST /api/accounts/{account_name}/sites/{site_name}/stats-email`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/accounts/{account_name}/sites/{site_name}/stats-email`
- Auth: HTTP basic

Subscribes a customer or staff account to stats emails for a site, or changes the frequency of an existing subscription. Monthly emails go out on the 3rd of each month and weekly emails every Tuesday.

## Path parameters

- `account_name` string, required
- `site_name` string, required

## Request body

- SiteSubscriptionRDT
  - `frequency` 'WEEKLY' | 'MONTHLY'

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `405`: Method Not Allowed
- `429`: Too many requests. The rate limit was exceeded.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
