Retrieve monthly stats for all subusers

GET https://api.sendgrid.com/v3/subusers/stats/monthly?date={{date}}&subuser={{subuser}}&sort_by_metric=delivered&sort_by_direction=desc&limit=5&offset=0

This endpoint allows you to retrieve the monthly email statistics for all subusers over the given date range.

While you can always view the statistics for all email activity on your account, subuser statistics enable you to view specific segments of your stats for your subusers. Emails sent, bounces, and spam reports are always tracked for subusers. Unsubscribes, clicks, and opens are tracked if you have enabled the required settings.

When using the sort_by_metric to sort your stats by a specific metric, you can not sort by the following metrics: bounce_drops, deferred, invalid_emails, processed, spam_report_drops, spam_reports, or unsubscribe_drops.

For more information, see our User Guide.

Request Params

KeyDatatypeRequiredDescription
datestring
subuserstring
sort_by_metricstring
sort_by_directionstring
limitnumber
offsetnumber

HEADERS

KeyDatatypeRequiredDescription
Acceptstring