Retrieve the totals for each email statistic metric for all subusers.

GET https://api.sendgrid.com/v3/subusers/stats/sums?sort_by_direction=desc&start_date={{start_date}}&end_date={{end_date}}&limit=5&offset=0&aggregated_by={{aggregated_by}}&sort_by_metric=delivered

This endpoint allows you to retrieve the total sums of each email statistic metric 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. Emails sent, bounces, and spam reports are always tracked for subusers. Unsubscribes, clicks, and opens are tracked if you have enabled the required settings.

For more information, see our User Guide.

Request Params

KeyDatatypeRequiredDescription
sort_by_directionstring
start_datestring
end_datestring
limitnumber
offsetnumber
aggregated_bystring
sort_by_metricstring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring