Skip to content

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/

Operations

Inbox Placement

Inbox Placement testing allows you to see the likely deliverability of your email campaigns.

Operations

Email Preview

This API provides functionality to create and manage email preview tests, as well as create shareable links.

Operations

Spam Traps Monitoring

Our spam trap monitoring service surfaces how much of your email is being sent to known spam traps.

Operations
Operations
Operations

Domain Blocklist Monitoring

Blocklist Monitoring enables you to keep an eye on your reputation. Monitor your domains against our curated list of blocklist providers to make sure you aren't being blocked.

Operations

Google Postmaster Tools

This API provides access to Google Postmaster data.

Operations

Microsoft SNDS

This API provides access to Microsoft SNDS data.

Operations
Operations

Request

Revoke Slack access token, delete Slack settings and Slack event settings.

NOTE: All Mailgun accounts connected to the same Slack workspace share the same token.

To completely remove the Slack App from Slack Workspace, go into App Configuration in Slack.

Security
basicAuth
curl -i -X DELETE \
  -u <username>:<password> \
  https://api.mailgun.net/v1/alerts/slack/oauth

Responses

A 204 response

Response
No content

Request

Returns Slack channel.

Security
basicAuth
Path
idstringrequired

The Slack channel ID.

curl -i -X GET \
  -u <username>:<password> \
  'https://api.mailgun.net/v1/alerts/slack/channels/{id}'

Responses

A 200 response

Bodyapplication/json
idstringrequired
namestringrequired
is_archivedbooleanrequired
Response
application/json
{ "id": "C012AB3CD", "name": "general" }

Request

List Slack channels for the connected Slack workspace.

Security
basicAuth
curl -i -X GET \
  -u <username>:<password> \
  https://api.mailgun.net/v1/alerts/slack/channels

Responses

A 200 response

Bodyapplication/json
itemsArray of objects(github.com-mailgun-alerts-internal-api-SlackChannel)required
items[].​idstringrequired
items[].​namestringrequired
items[].​is_archivedbooleanrequired
Response
application/json
{ "items": [ {} ] }