Retrieves the trend of incoming and sent emails across the specified date range. - If no startDate or endDate is provided, the system defaults to the last 7 days (a week from today). - Each label in labels corresponds to a date in the range, and series contains counts of sent and received emails for each day.
Retrieves the trend of incoming and sent emails across the specified date range. Each label inDocumentation Index
Fetch the complete documentation index at: https://compass.docs.sunnyscoach.com/llms.txt
Use this file to discover all available pages before exploring further.
labels corresponds to a date in the range, and series contains counts of sent and received emails for each day.
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token |
| Parameter | Type | Required | Description |
|---|---|---|---|
| startDate | string | Yes | Start date of the range (ISO 8601). Defaults to 7 days before today |
| endDate | string | Yes | End date of the range (ISO 8601). Defaults to today |
YYYY-MM-DD (ISO 8601 date)| Field | Type | Description |
|---|---|---|
| name | string | Series name (“Incoming” or “Sent”) |
| data | array | Email counts corresponding to each date |
| Field | Type | Description |
|---|---|---|
| labels | array | Dates in YYYY-MM-DD format |
series[0].data[i] corresponds to labels[i] for Incoming emailsseries[1].data[i] corresponds to labels[i] for Sent emails/email-meter/stats/hourly-trends for hourly breakdown/email-meter/stats/email-counts for aggregate statistics/email-meter/stats/clients/incoming-trends for client-specific trendsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Start date of the range (ISO 8601). Defaults to 7 days before today if not provided.
End date of the range (ISO 8601). Defaults to today if not provided.