Alerts (0.0.1)
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.
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/dmarc/setup
- EU Mailgun
https://api.eu.mailgun.net/v1/dmarc/setup
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://api.mailgun.net/v1/dmarc/setup
Response
application/json
{ "InstanceID": "d8798aa87905456b123c98745987f21379f9102389cc0981", "LastAccessed": "2025-01-22T21:16:25.55Z", "CreatedAt": "2025-01-22T21:16:25.55Z", "UpdatedAt": "2025-01-22T21:16:25.55Z" }
- US Mailgun
https://api.mailgun.net/v1/dmarc/referral
- EU Mailgun
https://api.eu.mailgun.net/v1/dmarc/referral
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.mailgun.net/v1/dmarc/referral \
-H 'Content-Type: application/json' \
-d '{
"email": "string"
}'
Response
application/json
{ "referral_uri": "https://redsift.com/partners/mailgun?token=token" }
- US Mailgun
https://api.mailgun.net/v1/dmarc/domains
- EU Mailgun
https://api.eu.mailgun.net/v1/dmarc/domains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.mailgun.net/v1/dmarc/domains?from=1736790000&to=1736790285'
Response
application/json
{ "domains": [ { … }, { … } ], "pfqr_chart": [ { … }, { … } ] }