Retrieve sums of email stats for each category [Needs: Stats object defined, has category ID?]

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

This endpoint allows you to retrieve the total sum of each email statistic for every category over the given date range.

If you do not define any query parameters, this endpoint will return a sum for each category in groups of 10.

Categories allow you to group your emails together according to broad topics that you define. For more information, please see our User Guide.

Request Params

KeyDatatypeRequiredDescription
sort_by_metricstring
sort_by_directionstring
start_datestring
end_datestring
limitnumber
offsetnumber
aggregated_bystring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring