patch https://app.mailivery.io/api/v1/campaigns//get-metrics
This Api will return Analytics about sendings
This API gives analytic data about the campaigns.
This data is grouped by date.
Each date contains Two Categories
- Warm Up - Emails sent for warming up
- Replied - Replies sent to received emails
Within the above categories, you can find 'total' emails sent and folders where emails are 'Landed In' along with Email count.
To get the number of emails 'saved from spam' Please check the 'spam' parameter from 'Landed in' the array.
Just for an example 1 Email was saved from the spam on 10th May 2024.
"2024-05-10": {
"Warm Up": {
"Total": 6,
"landed In": {
"inbox": 5,
"spam": 1
}
},
"Replies": {
"Total": 4,
"landed In": {
"inbox": 4
}
}
}