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/inboxready/domains
- EU Mailgun
https://api.eu.mailgun.net/v1/inboxready/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/inboxready/domains?limit=0&domain=string'
Response
application/json
{ "items": [ { … } ], "paging": { "previous": "https://....", "first": "https://....", "next": "https://....", "last": "https://...." } }
- US Mailgun
https://api.mailgun.net/v1/inboxready/domains
- EU Mailgun
https://api.eu.mailgun.net/v1/inboxready/domains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.mailgun.net/v1/inboxready/domains?domain=string'
Response
application/json
{ "message": "The domain has been added", "domain": { "name": "domain.tld", "verified": { … }, "services": { … }, "txt_record": "IR-hashed-txt-record-key" } }
- US Mailgun
https://api.mailgun.net/v1/inboxready/domains
- EU Mailgun
https://api.eu.mailgun.net/v1/inboxready/domains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
-u <username>:<password> \
'https://api.mailgun.net/v1/inboxready/domains?domain=string'
Response
application/json
{ "message": "domain.tld has been removed from Mailgun Optimize" }