Articles in this section

Available Mailgun APIs

When you configure an export, import, or other type of flow step using the prebuilt Mailgun connector, you can select any of the API operations listed below, organized by API type.

Note

If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the Mailgun API documentation. You can also create a composite endpoint for this application in HTTP mode.

Resource

API endpoint

Export

Import

Alerts v1

Create a send alert for an account

X

Delete a send alert

X

Get a send alert

X

List account hits

X

List send alerts

X

Update a send alert

X

DKIM security v1

Rotate automatic sender security DKIM key for a domain

X

Update automatic sender security DKIM key rotation for a domain

X

Domain keys v1

Create a domain key

X

Delete a domain key

X

List keys for all domains

X

Dynamic IP pools v1

List account history

X

List all domains assigned to dynamic IP pools

X

List domain history

X

Override domain assignment

X

Preview domain assignment

X

Remove override

X

Tags new v1

Delete account tag

X

Get account tag limit information

X

Post query to list account tags or search for single tag

X

Update account tag

X

Keys v1

Create Mailgun API key

X

Delete Mailgun API key

X

List Mailgun API keys

X

Regenerate Mailgun public API key

X

Logs v1

List logs

X

Metrics v1

Query account metrics

X

Query account usage metrics

X

Bounce classification v2

List statistic v2

X

Domain tracking v2

Tracking certificate: Generate

X

Tracking certificate: Get certificate and status

X

Tracking certificate: Regenerate expired certificate

X

IP allowlist v2

Add Mailgun account IP allowlist entry

X

Delete Mailgun account IP allowlist entry

X

List Mailgun account IP allowlist entries

X

Update individual Mailgun account IP allowlist entry's description

X

Allowlist v3

Add allowlist record

X

Clear allowlist

X

Import allowlist

X

List allowlist records for domain

X

Look up allowlist record

X

Remove entry from allowlist

X

Bounces v3

Add bounces

X

Clear all bounces

X

Import list of bounces

X

List all bounces

X

Look up bounce record

X

Remove bounce

X

Complaints v3

Add complaints

X

Clear all complaints

X

Import complaint list

X

List all complaints

X

Look up complaint record

X

Remove complaint

X

Create Mailgun SMTP credentials for a given domain

X

Delete all Mailgun SMTP credentials for a domain

X

Delete Mailgun SMTP credentials

X

List Mailgun SMTP credential metadata for a given domain

X

Update Mailgun SMTP credentials

X

Domain keys v3

Update a DKIM selector

X

Update DKIM authority

X

Domain tracking v3

Get tracking settings

X

Update click tracking settings

X

Update open tracking settings

X

Update unsubscribe tracking settings

X

Domains v3

List domains

X

Get a single domain

X

List SMTP credentials

X

Get delivery connection settings

X

Get tracking settings

X

Verify a single domain

X

Create a new domain

X

Delete a domain

X

Create a new set of SMTP credentials

X

Update the specified SMTP credentials

X

Delete the defined SMTP credentials

X

Update the specified delivery connection settings.

X

Update the open tracking settings for a domain

X

Update the click tracking settings for a domain

X

Update unsubscribe tracking settings for a domain

X

Change the DKIM authority for a domain

X

Delete a domain

X

Dynamic IP pools v3

Add IP to dynamic IP pool

X

Enroll all account domains

X

Enroll domain

X

Initialize/set IPs for all pools

X

List all dynamic IP pools

X

List assignable domains

X

Remove all dynamic IP pools

X

Remove domain from dynamic IP pools

X

Update pool IPs

X

Events v3

List events

X

Retrieve a paginated list of events

X

IP address warmup v3

Cancel the warmup plan for an IP address

X

Create a warmup plan for an IP address

X

Retrieve the list of in-flight IP address warmup statuses.

X

Retrieve the status of an in-flight IP warmup

X

IP pools v3

Add a new DIPP to the account

X

Add an IP to a DIPP

X

Add multiple IPs to the DIPP

X

Delete the DIPP

X

Edit DIPP

X

Get DIPP details

X

Get domains linked to DIPP

X

List dedicated IP pools of the account

X

Remove an IP from a DIPP

X

Remove an IP from the domain pool, unlink a DIPP or remove the domain pool

X

IPs v3

List IPs

X

Get details about a specified IP

X

List IPs assigned to the specified domain

X

Add a new dedicated IP to the account

X

Assign an IP to all account domains

X

Get all domains of an account where a specific IP is assigned

X

Place account IP into a dedicated IP band

X

Remove an IP from all account domains

X

Return the number of IPs available to the account per its billing plan

X

Mailing lists v3

List mailing lists

X

Get a single mailing list

X

List members in the given mailing list

X

Get a mailing list member

X

Create a new mailing list

X

Update mailing list properties

X

Delete a mailing list

X

Add member to the mailing list

X

Update mailing list member

X

Delete mailing list member

X

Bulk upload members to a mailing list (CSV)

X

Bulk upload members to a mailing list (JSON)

X

Create a mailing list member

X

Delete a mailing list

X

Delete a member

X

Get a mailing list by address

X

Get a member

X

Get mailing lists

X

Get mailing lists members

X

Get members by page

X

Update a mailing list member

X

Update a mailing list

X

Messages v3

Send message

X

Delete scheduled and undelivered mail

X

Get messages queue status

X

Resend an email

X

Retrieve a stored email

X

Send an email in MIME format

X

Send an email

X

OpenAPI-scout other v3

List of supported country codes

X

List of supported devices

X

List of supported providers

X

Routes v3

List routes

X

Get a single route object

X

Create a new route

X

Update a given route

X

Delete a route

X

Match address to route

X

Suppressions v3

View all bounces

X

View a single bounce

X

View all unsubscribes

X

View a single unsubscribe

X

View all complaints

X

View a single complaint

X

Add a single bounce

X

Delete a single bounce

X

Delete an entire bounce list

X

Add a single unsubscribe

X

Delete a single unsubscribe

X

Add a single complaint

X

Delete a single complaint

X

Templates v3

Copy a version

X

Create a template

X

Create a template version

X

Delete a template

X

Delete a version

X

Delete all templates

X

Get a version

X

Get all template versions

X

Get template

X

Get templates

X

Update a version

X

Update template

X

Unsubscribe v3

Add unsubscribes

X

Clear all unsubscribes

X

Import unsubscribe list

X

List all unsubscribes

X

Look up unsubscribe record

X

Remove unsubscribe

X

Webhooks v3

Create a domain webhook

X

Delete domain webhooks by type

X

Get domain webhooks by type

X

Get domain webhooks

X

Update domain webhook

X

Routes v3

List routes

X

Get a single route object

X

Create a new route

X

Update a given route

X

Delete a route

X

Match address to route

X

Suppressions v3

View all bounces

X

View a single bounce

X

View all unsubscribes

X

View a single unsubscribe

X

View all complaints

X

View a single complaint

X

Add a single bounce

X

Delete a single bounce

X

Delete an entire bounce list

X

Add a single unsubscribe

X

Delete a single unsubscribe

X

Add a single complaint

X

Delete a single complaint

X

Templates v3

Copy a version

X

Create a template

X

Create a template version

X

Delete a template

X

Delete a version

X

Delete all templates

X

Get a version

X

Get all template versions

X

Get template

X

Get templates

X

Update a version

X

Update template

X

Unsubscribe v3

Add unsubscribes

X

Clear all unsubscribes

X

Import unsubscribe list

X

List all unsubscribes

X

Look up unsubscribe record

X

Remove unsubscribe

X

Webhooks v3

Create a domain webhook

X

Delete domain webhooks by type

X

Get domain webhooks by type

X

Get domain webhooks

X

Update domain webhook

X

Domain keys v4

Activate a domain key

X

Deactivate a domain key

X

List domain keys

X

Domains v4

Create a domain

X

Get domain details

X

Get domains

X

Update domain

X

Verify domain

X

Webhooks v4

Create domain webhooks (v4)

X

Delete domain webhooks (v4)

X

Update domain webhooks (v4)

X

Account management v5

Add authorized email recipient for a sandbox domain

X

Create or regenerate webhook signing key on an account

X

Get authorized email recipients for a sandbox domain

X

Get webhook signing key saved on the account

X

Remove an authorized sandbox domain email recipient

X

Resend account activation email to the account owner

X

Update variable account settings

X

Custom message limit v5

Delete a custom sending limit

X

Get current custom sending limit

X

Re-enable account disabled for hitting send limit

X

Set a custom sending limit

X

OpenAPI-tower other v5

Delegate a DIPP to a subaccount

X

List DIPPs delegated to subaccounts

X

Revoke a DIPP delegated to a subaccount

X

Subaccounts v5

Create a subaccount

X

Delete a custom sending limit

X

Delete a subaccount

X

Disable a subaccount

X

Enable a subaccount

X

Get a single subaccount

X

Get current custom sending limit

X

List all subaccounts

X

Set a custom sending limit

X

Update subaccount feature

X

Users v5

Get a user's details

X

Get one's own user details

X

Get users on an account

X