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/records/{domain}
- EU Mailgun
https://api.eu.mailgun.net/v1/dmarc/records/{domain}
- 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/records/example.com
Response
application/json
{ "entry": "v=DMARC1; p=none; pct=100; fo=1; ri=3600; rua=mailto:abcdef12@inbox.ondmarc.com; ruf=mailto:abcdef12@inbox.ondmarc.com;", "current": "v=DMARC1; p=none; pct=100; fo=1; ri=3600; rua=mailto:abcdef12@inbox.ondmarc.com; ruf=mailto:abcdef12@inbox.ondmarc.com;", "configured": true }
- 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" }