Our alerting solution is centered around two concepts: events and channels. The occurrence of an event can be configured to trigger an alert. A channel describes the delivery method for an alert. Every configured alert consists of an event type / channel pair. This level of granularity allows alerting to be configured to your exact preference.
- Get Email Health score and rates for account and subaccounts
List Email Health score and rates grouped by domains/ips/subaccounts/timestamps
Get Email Health score an...
Alerts (0.0.1)
Download OpenAPI description
Languages
Servers
US Mailgun
https://api.mailgun.net/
EU Mailgun
https://api.eu.mailgun.net/
- US Mailgun
https://api.mailgun.net/v1/maverick-score/total
- EU Mailgun
https://api.eu.mailgun.net/v1/maverick-score/total
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.mailgun.net/v1/maverick-score/total?include_subaccounts=true'Response
application/json
{ "score": 37, "rates": { "bounce_rate": 9, "complaint_rate": 19, "trap_rate": 3, "full_mailbox_rate": 3, "bad_failure_rate": 29 }, "counters": { "delivered": 100500 } }
Query
The key to group score by.
Default "domain"
| Enum Value | Description |
|---|---|
| domain | Group by domain |
| ip | Group by IP |
| subaccount | Group by subaccount |
| timestamp | Group by timestamp in 'YYYY-MM-DD' format |
Supports the following syntax 'sort=field:direction'. 'direction' must be one of asc, desc. Default 'direction' is asc.
| Enum Value | Description |
|---|---|
| domain:asc | domain:asc |
| domain:desc | domain:desc |
| ip:asc | ip:asc |
| ip:desc | ip:desc |
| subaccount:asc | subaccount:asc |
| subaccount:desc | subaccount:desc |
| timestamp:asc | timestamp:asc |
| timestamp:desc | timestamp:desc |
| score:asc | score:asc |
| score:desc | score:desc |
- US Mailgun
https://api.mailgun.net/v1/maverick-score/grouped
- EU Mailgun
https://api.eu.mailgun.net/v1/maverick-score/grouped
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.mailgun.net/v1/maverick-score/grouped?include_subaccounts=true&skip=0&limit=10&group=domain&term=string&query=string&sort=domain%3Aasc'Response
application/json
{ "items": [ { … } ], "total": 1 }