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

DMARC Reports

DMARC reporting provides valuable insights into your infrastructure, helping you identify potential issues like senders, misconfigured email servers, or phishing attempts.

Operations

Inbox Placement

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

Operations

Request

Create and run a new inbox placement test.

Either 'html' or 'template_name' field should be provided.

'variables' are Template variables, which could be used in html or template. You can use next recipient variables inside Template variables, which will be filled for every seed automatically: %recipient.first_name%, %recipient.last_name%.

Security
basicAuth
Bodyapplication/jsonrequired
fromstringrequired
subjectstringrequired
htmlstring
template_namestring

template from Mailgun Send

variablesobject
headersobject
seed_liststring

Use existing Seed List. If omitted creates new Seed List

provider_filterArray of strings

missing/null/[] means all providers

sending_ip_pool_idstring

If provided the email will be delivered with an IP that belongs in that pool

sending_ipstring

Used to specify an IP Address to send an email that is owned by your account

curl -i -X POST \
  -u <username>:<password> \
  https://api.mailgun.net/v4/inbox/tests \
  -H 'Content-Type: application/json' \
  -d '{
    "from": "First Last <mail@example.com>",
    "subject": "Buy our elephants",
    "html": "<html><body>Hello {{first_name}} {{last_name}}. Visit our new shop at {{address}}. <b>Our elephants are the best.</b> </body></html>",
    "template_name": "template1",
    "variables": {
      "address": "108, Robinson Ave, Richmond",
      "first_name": "%recipient.first_name%",
      "last_name": "%recipient.last_name%"
    },
    "seed_list": "ibp-123@mailgun.com",
    "provider_filter": [
      "gmail.com",
      "hotmail.com"
    ],
    "sending_ip_pool_id": "12345678901234567890abcd",
    "sending_ip": "1.2.3.4"
  }'

Responses

A 202 response

Bodyapplication/json
result_idstringrequired
mailing_liststringrequired
linksobject(Inbox_Placement_Testing_github.com-mailgun-spy-internal-api-CreateTestRespLinks)required
links.​resultsstringrequired
Response
application/json
{ "result_id": "uuid4", "links": { "results": "https://api.mailgun.net/v4/inbox/results/uuid4" } }

Request

List all available email providers.

Security
basicAuth
curl -i -X GET \
  -u <username>:<password> \
  https://api.mailgun.net/v4/inbox/providers

Responses

A 200 response

Bodyapplication/json
itemsArray of objects(Inbox_Placement_Testing_github.com-mailgun-spy-internal-api-PublicProvider)required
items[].​domainstringrequired
items[].​display_namestringrequired
items[].​regionstringrequired
items[].​created_atstring(date-time)required
items[].​updated_atstring(date-time)required
Response
application/json
{ "items": [ {} ] }

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