电子邮件

电子邮件统计

每日发送、交付和反弹数量。

GET/emails/stats
1curl -X GET 'https://sendtern.com/emails/stats?days=7' \
2  -H 'Authorization: Bearer st_your_api_key'
回应
1{
2  "series": [
3    { "date": "2026-11-21", "label": "Nov 21", "sent": 412, "delivered": 405, "bounced": 7 }
4  ],
5  "totals": { "sent": 2814, "delivered": 2770, "bounced": 44 }
6}

Returns one entry per day plus totals for the range. Requires a Full access key.

查询参数

daysnumber

范围长度:7,14 或 30,默认值为 7。