GET Email Sent Stats​
GET
/reports/email-sents
Retrieve email sending 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 emails sent on that date. The frequency (daily, weekly, monthly) 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
2Max Items
2Responses​
Email sent stats retrieved successfully.
application/json
JSON
{
"stats": {
"additionalProperties": 0
}
}