- Run Inbox Placement Test
List Seed Lists
Generate a New Seed List
List Available Attributes for Seed Lists
Get List of Values for Seed List Attribute
Get List of Available Seed List Filters
Get Seed List
Update Seed List
Delete a Seed List
List Results
List Available Attributes for Results
Get List of Values for a Result Attribute
List available filters for Results
Get Result Details
Delete Result
Get Result Sharing Status
Update Result Sharing Status
Get Result by a Share ID
List Email Providers
Run Inbox Placement Test
Create and run a new inbox placement test.
Either 'html', 'template_name' or 'account_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
If provided the email will be delivered with an IP that belongs in that pool
- US Mailgunhttps://api.mailgun.net/v4/inbox/tests
- EU Mailgunhttps://api.eu.mailgun.net/v4/inbox/tests
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": "domain-template1",
"account_template_name": "account-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"
}'Response
{ "result_id": "uuid4", "links": { "results": "https://api.mailgun.net/v4/inbox/results/uuid4" } }