Skip to content
View as Markdown

GET Email Unsubscribe Stats​

GET
/reports/email-unsubs

Retrieve email unsubscribe statistics over a date range. Returns a date-keyed object where each key is a date (or month label) and the value is the count of unsubscribes recorded on that date. The frequency is automatically determined by the length of the date range.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Parameters​

Query Parameters

date_range

Date range as a two-element array [from, to] in YYYY-MM-DD format. Defaults to the last 30 days if omitted.

Type
array
Min Items
2
Max Items
2

Responses​

Email unsubscribe stats retrieved successfully.

application/json
JSON
{
"stats": {
"additionalProperties": 0
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI