---
title: "Email spam"
method: POST
path: "/stats/email_spam"
tags: ["STATISTICS"]
---

# Email spam

`POST /stats/email_spam`

Retrieve a summary of spam complaints and rejects, for the last 30 days.

## Request body

- object
  - `username` string — Allows statistics to be returned for a specific user.

## Response `200`

Spam report

- object
  - `request_id` string, required
  - `data` object, required
    - `spam_percent` string, required
    - `emails` integer, required
    - `spams` integer, required
    - `rejects` integer, required

## Other responses

- `400` — 400

---

[API](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4.md) · [All operations](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smtp2go/smtp2go-api-v3-0-4/versions/1ba6b25eebb9/schema)
