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.
Alerts (0.0.1)
Download OpenAPI description
Languages
Servers
US Mailgun
https://api.mailgun.net/
EU Mailgun
https://api.eu.mailgun.net/
Query
The start date in UTC (format YYYY-MM-DD) of the timeframe for which you wish to see data.
The end date in UTC (format YYYY-MM-DD) of the timeframe for which you wish to see data.
Acceptable values include date, totals, domain, subject, ip, and from. Defaults to date.
Use this field to group results. Acceptable values include domain, subject, ip, and from.
- US Mailgun
https://api.mailgun.net/v1/spamtraps
- EU Mailgun
https://api.eu.mailgun.net/v1/spamtraps
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.mailgun.net/v1/spamtraps?start=string&end=string&sortby=string&groupby=string&subject=string&domain=string&ip=string&from=string&limit=0'Response
application/json
{ "items": [ { … }, { … } ], "paging": {} }