Description
Get global statistics from a specific message. To have details statistics, please use our reportEmailSent method.
Request URL
api.mailjet.com/0.1/messageStatistics
Code Sample
<?php # Parameters $params = array( 'id' => '123' ); # Call $response = $mj->messageStatistics($params); # Result $statistics = $response->result; ?>
Parameters
Return
| Label | Type | Description |
| bounce | Integer | Amount of emails bounced |
|---|---|---|
| bounce_pct | Integer | Percentage of emails bounce |
| click | Integer | Amount of emails clicked |
| click_pct | Integer | Percentage of emails click |
| open | Integer | Amount of emails opened |
| open_pct | Integer | Percentage of emails open |
| sent | Integer | Amount of emails sent |
| sent_pct | Integer | Percentage of emails sent |
| spam | Integer | Amount of spam emails |
| spam_pct | Float | Percentage of emails spam |
| total | Integer | Amount of emails |