Code preference:
Curl
Ruby
Php
Python
Node.js
C#
Java

Aggregate reports

Developers can access information about aggregate / date-wise report of the SendinBlue SMTP account using this API. Following is the operation supported by this API.

Input Parameter Description
aggregate This is used to indicate, you are interested in all-time totals. Possible values – 0 & 1. aggregate = 0 means it will not aggregate records, and will show stats per day/date wise [Optional].
start_date The start date to look up statistics. Date must be in YYYY-MM-DD format and should be before the end_date [Optional].
end_date The end date to look up statistics. Date must be in YYYY-MM-DD format and should be after the start_date [Optional].
days Number of days in the past to include statistics ( Includes today ). It must be an integer greater than 0 [Optional].
tag The tag you will specify to retrieve detailed stats. It must be an existing tag that has statistics [Optional].

Example :

Sample Output :