Open Connector
所有 Tools

Mailgun

Use Mailgun APIs to send and track email, manage domains, mailing lists, suppressions, routes, webhooks, email validation, deliverability, and pre-send inspection.

mailgunv1.0.0413 个 Tools

认证方式

方式底层类型状态说明
Basic Authbasicavailable

调用示例

import { createClient } from "@open-connector/sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "MAILGUN_API_INIT_V3_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC1_12",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("MAILGUN_API_INIT_V3_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC1_12", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute MAILGUN_API_INIT_V3_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC1_12 --data '{ }'

Tool 目录

可用 Tools

413 个可调用操作

Delete Job V3MAILGUN_API_INIT_V3_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC1_12Cancels a selected job by list ID.

Cancels a selected job by list ID.

认证

需要 Connected Account

Tags

Bulk Validations
Get Job V3MAILGUN_API_INIT_V3_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC2_13Gets a selected job by list ID.

Gets a selected job by list ID.

认证

需要 Connected Account

Tags

Bulk Validations
Create Job V3MAILGUN_API_INIT_V3_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC3_14Starts a V3 list validation job.

Starts a V3 list validation job.

认证

需要 Connected Account

Tags

Bulk Validations
Delete Job V4MAILGUN_API_INIT_V4_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC1_8Cancels a selected job by list ID.

Cancels a selected job by list ID.

认证

需要 Connected Account

Tags

Bulk Validations
Get Job V4MAILGUN_API_INIT_V4_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC2_9Gets a selected job by list ID.

Gets a selected job by list ID.

认证

需要 Connected Account

Tags

Bulk Validations
List Bulk and Preview V4 JobsMAILGUN_API_INIT_V4_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC3_10Returns all jobs.

Returns all jobs.

认证

需要 Connected Account

Tags

openapi-bulkvalidations_other
List Jobs V4MAILGUN_API_INIT_V4_API_API_HELPERS_IS_FREE_OR_FISHY_FUNC4_11Returns all jobs.

Returns all jobs.

认证

需要 Connected Account

Tags

Bulk Validations
Delete a memberMAILGUN_DELETE_LISTS_LIST_ADDRESS_MEMBERS_MEMBER_ADDRESSDeletes a member from a mailing list

Deletes a member from a mailing list

认证

需要 Connected Account

Tags

Mailing Lists
Remove AlertMAILGUN_DELETE_V1_ALERTS_SETTINGS_EVENTS_IDRemove Alert

Remove Alert

认证

需要 Connected Account

Tags

Alerts
Delete Slack settingsMAILGUN_DELETE_V1_ALERTS_SETTINGS_SLACKDelete Slack settings and Slack event settings for the Mailgun account. To revoke the Slack access token, use DELETE /v1/alerts/slack/oauth. To completely remove the Slack App from Slack Workspace, go into App Configuration in Slack.

Delete Slack settings and Slack event settings for the Mailgun account. To revoke the Slack access token, use DELETE /v1/alerts/slack/oauth. To completely remove the Slack App from Slack Workspace, go into App Configuration in Slack.

认证

需要 Connected Account

Tags

Alerts
Revoke Slack access tokenMAILGUN_DELETE_V1_ALERTS_SLACK_OAUTHRevoke 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.

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.

认证

需要 Connected Account

Tags

Alerts
Delete account tagMAILGUN_DELETE_V1_ANALYTICS_TAGSDeletes the tag for an account

Deletes the tag for an account

认证

需要 Connected Account

Tags

Tags New
Delete a domain keyMAILGUN_DELETE_V1_DKIM_KEYSDomain keys are not recoverable after deletion so use with care

Domain keys are not recoverable after deletion so use with care

认证

需要 Connected Account

Tags

Domain Keys
Remove overrideMAILGUN_DELETE_V1_DYNAMIC_POOLS_DOMAINS_NAME_OVERRIDERemoves any dynamic IP pool override for a domain. The domain's pool assignment will be managed by health checks.

Removes any dynamic IP pool override for a domain. The domain's pool assignment will be managed by health checks.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Deletes a single domain from an accountMAILGUN_DELETE_V1_INBOXREADY_DOMAINSDeletes a single domain from an account

Deletes a single domain from an account

认证

需要 Connected Account

Tags

Domains
Removes IP from monitoringMAILGUN_DELETE_V1_INBOXREADY_IP_ADDRESSES_IPRemoves IP from monitoring

Removes IP from monitoring

认证

需要 Connected Account

Tags

IP Blocklist Monitoring
Delete Accessibility TestMAILGUN_DELETE_V1_INSPECT_ACCESSIBILITY_IDDelete a specific accessibility test by its unique test ID. This endpoint allows you to remove an accessibility test from the system. If the test ID does not exist, the appropriate error message is returned.

Delete a specific accessibility test by its unique test ID. This endpoint allows you to remove an accessibility test from the system. If the test ID does not exist, the appropriate error message is returned.

认证

需要 Connected Account

Tags

Accessibility
Delete Code Analysis TestMAILGUN_DELETE_V1_INSPECT_ANALYZE_TEST_IDDeletes all versions of a code analysis test by test ID.

Deletes all versions of a code analysis test by test ID.

认证

需要 Connected Account

Tags

Code Analysis
Delete Image Validation TestMAILGUN_DELETE_V1_INSPECT_IMAGES_IDDelete a specific image validation test by its unique test ID. This endpoint allows you to remove an image validation test from the system. If the test ID does not exist, the appropriate error message is returned.

Delete a specific image validation test by its unique test ID. This endpoint allows you to remove an image validation test from the system. If the test ID does not exist, the appropriate error message is returned.

认证

需要 Connected Account

Tags

Image Validation
Delete Link Validation TestMAILGUN_DELETE_V1_INSPECT_LINKS_IDDelete a specific link validation test by its unique test ID. This endpoint allows you to remove a link validation test from the system. If the test ID does not exist, the appropriate error message is returned.

Delete a specific link validation test by its unique test ID. This endpoint allows you to remove a link validation test from the system. If the test ID does not exist, the appropriate error message is returned.

认证

需要 Connected Account

Tags

Link Validation
Delete Spam Test (V1)MAILGUN_DELETE_V1_INSPECT_SPAM_SPAM_TEST_IDPermanently deletes the spam test and its results.

Permanently deletes the spam test and its results.

认证

需要 Connected Account

Tags

Spam Testing
Delete Mailgun API keyMAILGUN_DELETE_V1_KEYS_KEY_IDDelete Mailgun API key

Delete Mailgun API key

认证

需要 Connected Account

Tags

Keys
Delete PreviewShareMAILGUN_DELETE_V1_PREVIEW_SHARING_TEST_IDDelete PreviewShare record by TID.

Delete PreviewShare record by TID.

认证

需要 Connected Account

Tags

Email Preview
Delete Emailpreview TestMAILGUN_DELETE_V1_PREVIEW_TESTS_TEST_IDDeletes the specified test.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/DELETE-v2-preview-tests--test-id-)._

Deletes the specified test.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/DELETE-v2-preview-tests--test-id-)._

认证

需要 Connected Account

Tags

Email Preview
Delete a send alertMAILGUN_DELETE_V1_THRESHOLDS_ALERTS_SEND_NAMEDelete a send alert

Delete a send alert

认证

需要 Connected Account

Tags

Send Alerts
Delete a limit threshold for an accountMAILGUN_DELETE_V1_THRESHOLDS_LIMITS_NAMEDelete a limit threshold for an account

Delete a limit threshold for an account

认证

需要 Connected Account

Tags

Limits
Delete account-level webhooksMAILGUN_DELETE_V1_WEBHOOKSDelete account-level webhooks for the authenticated account. You can either delete all webhooks by setting all=true, or specify specific webhook IDs to delete via webhook_ids. If both are provided, the specific webhook_ids will be deleted. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

Delete account-level webhooks for the authenticated account. You can either delete all webhooks by setting all=true, or specify specific webhook IDs to delete via webhook_ids. If both are provided, the specific webhook_ids will be deleted. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

认证

需要 Connected Account

Tags

Account Webhooks
Delete account-level webhook by IDMAILGUN_DELETE_V1_WEBHOOKS_WEBHOOK_IDDelete a specific account-level webhook by its webhook ID. This removes the webhook from all associated event types. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

Delete a specific account-level webhook by its webhook ID. This removes the webhook from all associated event types. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

认证

需要 Connected Account

Tags

Account Webhooks
Delete Mailgun account IP allowlist entryMAILGUN_DELETE_V2_IP_WHITELISTDelete Mailgun account IP allowlist entry

Delete Mailgun account IP allowlist entry

认证

需要 Connected Account

Tags

IP Allowlist
Delete Emailpreview Test V2MAILGUN_DELETE_V2_PREVIEW_TESTS_TEST_IDDeletes the specified test and its content checking. Once it is deleted, it cannot be recovered.

Deletes the specified test and its content checking. Once it is deleted, it cannot be recovered.

认证

需要 Connected Account

Tags

Email Preview
Clear all bouncesMAILGUN_DELETE_V3_DOMAIN_ID_BOUNCESClears all email addresses with bounces from the domain. Delivery to the deleted email addresses will longer be suppressed.

Clears all email addresses with bounces from the domain. Delivery to the deleted email addresses will longer be suppressed.

认证

需要 Connected Account

Tags

Bounces
Remove bounceMAILGUN_DELETE_V3_DOMAIN_ID_BOUNCES_ADDRESSDelivery to the deleted email address resumes until it bounces again.

Delivery to the deleted email address resumes until it bounces again.

认证

需要 Connected Account

Tags

Bounces
Clear all complaintsMAILGUN_DELETE_V3_DOMAIN_ID_COMPLAINTSClears all email addresses with complaints from the domain. Delivery to the deleted email addresses will longer be suppressed.

Clears all email addresses with complaints from the domain. Delivery to the deleted email addresses will longer be suppressed.

认证

需要 Connected Account

Tags

Complaints
Remove complaintMAILGUN_DELETE_V3_DOMAIN_ID_COMPLAINTS_ADDRESSDelivery to the deleted email address resumes until there is another complaint.

Delivery to the deleted email address resumes until there is another complaint.

认证

需要 Connected Account

Tags

Complaints
Clear all unsubscribesMAILGUN_DELETE_V3_DOMAIN_ID_UNSUBSCRIBESClear all unsubscribe email addresses for the domain. Delivery to the deleted email addresses will no longer be suppressed.

Clear all unsubscribe email addresses for the domain. Delivery to the deleted email addresses will no longer be suppressed.

认证

需要 Connected Account

Tags

Unsubscribe
Remove unsubscribeMAILGUN_DELETE_V3_DOMAIN_ID_UNSUBSCRIBES_ADDRESSDelivery to the deleted email address resumes until it unsubscribes again.

Delivery to the deleted email address resumes until it unsubscribes again.

认证

需要 Connected Account

Tags

Unsubscribe
Clear allowlistMAILGUN_DELETE_V3_DOMAIN_ID_WHITELISTSDelete an entire allowlist for a domain

Delete an entire allowlist for a domain

认证

需要 Connected Account

Tags

Allowlist
Remove entry from allowlistMAILGUN_DELETE_V3_DOMAIN_ID_WHITELISTS_VALUERemove a single entry from the allowlist

Remove a single entry from the allowlist

认证

需要 Connected Account

Tags

Allowlist
Delete scheduled and undelivered mailMAILGUN_DELETE_V3_DOMAIN_NAME_ENVELOPESDeletes all scheduled and undelivered mail from the domain queue. This endpoint must be called on the same storage API host as the mail's generated storage URL. e.g. https://storage-us-east4.api.mailgun.net/v3/example.com/envelopes The storage hosts are: `storage-us-east4.api.mailgun.net`, `storage-us-west1.api.mailgun.net`, and `storage-europe-west1.api.mailgun.net`.

Deletes all scheduled and undelivered mail from the domain queue. This endpoint must be called on the same storage API host as the mail's generated storage URL. e.g. https://storage-us-east4.api.mailgun.net/v3/example.com/envelopes The storage hosts are: `storage-us-east4.api.mailgun.net`, `storage-us-west1.api.mailgun.net`, and `storage-europe-west1.api.mailgun.net`.

认证

需要 Connected Account

Tags

Messages
Delete all templatesMAILGUN_DELETE_V3_DOMAIN_NAME_TEMPLATESDelete all templates and their versions for the domain.

Delete all templates and their versions for the domain.

认证

需要 Connected Account

Tags

Domain Templates
Delete a templateMAILGUN_DELETE_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAMEDelete the template specified in the url. NOTE: This method deletes all versions of the specified template.

Delete the template specified in the url. NOTE: This method deletes all versions of the specified template.

认证

需要 Connected Account

Tags

Domain Templates
Delete a versionMAILGUN_DELETE_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAMEDelete a specific template version.

Delete a specific template version.

认证

需要 Connected Account

Tags

Domain Templates
Delete tagMAILGUN_DELETE_V3_DOMAIN_TAGDelete a tag associated with a domain

Delete a tag associated with a domain

认证

需要 Connected Account

Tags

Tags
Delete all Mailgun SMTP credentials for a domainMAILGUN_DELETE_V3_DOMAINS_DOMAIN_NAME_CREDENTIALSDelete Mailgun SMTP credentials for a given domain

Delete Mailgun SMTP credentials for a given domain

认证

需要 Connected Account

Tags

Credentials
Delete Mailgun SMTP credentialsMAILGUN_DELETE_V3_DOMAINS_DOMAIN_NAME_CREDENTIALS_SPECDelete Mailgun SMTP credentials for a given domain and SMTP user

Delete Mailgun SMTP credentials for a given domain and SMTP user

认证

需要 Connected Account

Tags

Credentials
Delete domain webhooks by typeMAILGUN_DELETE_V3_DOMAINS_DOMAIN_NAME_WEBHOOKS_WEBHOOK_NAMERemove all url(s) for a specified webhook type.

Remove all url(s) for a specified webhook type.

认证

需要 Connected Account

Tags

Domain Webhooks
Delete a domainMAILGUN_DELETE_V3_DOMAINS_NAMEThe domain must not be disabled or used as an authority for an other domain. Sandbox domain can't be deleted.

The domain must not be disabled or used as an authority for an other domain. Sandbox domain can't be deleted.

认证

需要 Connected Account

Tags

Domains
Remove domain from dynamic IP poolsMAILGUN_DELETE_V3_DOMAINS_NAME_DYNAMIC_POOLSThe behavior of this endpoint depends on the value of the `replacement_ip` and `replacement_pool_id` parameters. One of these parameters (but not both) must be provided. If `replacement_ip` is provided, the IP(s) will be assigned to the domain. `replacement_ip` can include one of the following: * valid IP(s): this IP address or addresses will be added to the domain * string `shared`: if the account is eligible for shared IPs, a suitable shared IP will be chosen and added to the domain The 'replacement_ip' parameter cannot include any IPs that are already assigned to a Dedicated IP Pool or a Dynamic IP Pool. If `replacement_pool_id` is provided, the Dedicated IP Pool will be assigned to the domain.

The behavior of this endpoint depends on the value of the `replacement_ip` and `replacement_pool_id` parameters. One of these parameters (but not both) must be provided. If `replacement_ip` is provided, the IP(s) will be assigned to the domain. `replacement_ip` can include one of the following: * valid IP(s): this IP address or addresses will be added to the domain * string `shared`: if the account is eligible for shared IPs, a suitable shared IP will be chosen and added to the domain The 'replacement_ip' parameter cannot include any IPs that are already assigned to a Dedicated IP Pool or a Dynamic IP Pool. If `replacement_pool_id` is provided, the Dedicated IP Pool will be assigned to the domain.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Remove an IP from the domain pool, unlink a DIPP or remove the domain poolMAILGUN_DELETE_V3_DOMAINS_NAME_IPS_IPThe behavior of the endpoint depends on the value of the `ip` parameter. It can be one of the following: * a valid IP address: this IP address will be removed from the domain pool. * string `all`: the entire domain pool will be removed. As far as the system is concerned, such domain will no longer exist. * string `ip_pool`: the DIPP which is currently linked to the domain will be unlinked. ### Removing An IP Note that it's impossible to alter domain IPs if a DIPP is linked to the domain. If the account is not eligible for shared IPs, additional rules apply: * removing the last IP from the domain is not allowed; * if all of the remaining dedicated IPs are on warmup, an extra IP might be added to the domain pool. ### Unlinking The DIPP The account must have 'DIPPs' feature enabled. Either `ip` or `pool_id` query parameter must be specified, but not both. If the special value `shared` is used for the replacement IP, the account must be eligible for shared IPs. In this case the system will assign a shared IP as the replacement.

The behavior of the endpoint depends on the value of the `ip` parameter. It can be one of the following: * a valid IP address: this IP address will be removed from the domain pool. * string `all`: the entire domain pool will be removed. As far as the system is concerned, such domain will no longer exist. * string `ip_pool`: the DIPP which is currently linked to the domain will be unlinked. ### Removing An IP Note that it's impossible to alter domain IPs if a DIPP is linked to the domain. If the account is not eligible for shared IPs, additional rules apply: * removing the last IP from the domain is not allowed; * if all of the remaining dedicated IPs are on warmup, an extra IP might be added to the domain pool. ### Unlinking The DIPP The account must have 'DIPPs' feature enabled. Either `ip` or `pool_id` query parameter must be specified, but not both. If the special value `shared` is used for the replacement IP, the account must be eligible for shared IPs. In this case the system will assign a shared IP as the replacement.

认证

需要 Connected Account

Tags

IPsIP Pools
Remove an IP from the domain pool, unlink a DIPP or remove the domain poolMAILGUN_DELETE_V3_DOMAINS_NAME_POOL_IPThe behavior of the endpoint depends on the value of the `ip` parameter. It can be one of the following: * a valid IP address: this IP address will be removed from the domain pool. * string `all`: the entire domain pool will be removed. As far as the system is concerned, such domain will no longer exist. * string `ip_pool`: the DIPP which is currently linked to the domain will be unlinked. ### Removing An IP Note that it's impossible to alter domain IPs if a DIPP is linked to the domain. If the account is not eligible for shared IPs, additional rules apply: * removing the last IP from the domain is not allowed; * if all of the remaining dedicated IPs are on warmup, an extra IP might be added to the domain pool. ### Unlinking The DIPP The account must have 'DIPPs' feature enabled. Either `ip` or `pool_id` query parameter must be specified, but not both. If the special value `shared` is used for the replacement IP, the account must be eligible for shared IPs. In this case the system will assign a shared IP as the replacement.

The behavior of the endpoint depends on the value of the `ip` parameter. It can be one of the following: * a valid IP address: this IP address will be removed from the domain pool. * string `all`: the entire domain pool will be removed. As far as the system is concerned, such domain will no longer exist. * string `ip_pool`: the DIPP which is currently linked to the domain will be unlinked. ### Removing An IP Note that it's impossible to alter domain IPs if a DIPP is linked to the domain. If the account is not eligible for shared IPs, additional rules apply: * removing the last IP from the domain is not allowed; * if all of the remaining dedicated IPs are on warmup, an extra IP might be added to the domain pool. ### Unlinking The DIPP The account must have 'DIPPs' feature enabled. Either `ip` or `pool_id` query parameter must be specified, but not both. If the special value `shared` is used for the replacement IP, the account must be eligible for shared IPs. In this case the system will assign a shared IP as the replacement.

认证

需要 Connected Account

Tags

IPsIP Pools
Remove all dynamic IP poolsMAILGUN_DELETE_V3_DYNAMIC_POOLS_ALLRemoves all dynamic IP pools from the account. All domains on the account (and subaccounts, if any) must be removed from dynamic IP pools before the pools can be removed. Any standard dedicated IP pools will not be modified.

Removes all dynamic IP pools from the account. All domains on the account (and subaccounts, if any) must be removed from dynamic IP pools before the pools can be removed. Any standard dedicated IP pools will not be modified.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Delete a single forward rule by IDMAILGUN_DELETE_V3_FORWARDS_IDBy default this call is scoped to the entire account. You can scope the request by providing the 'domain.name' query parameter. If the 'domain.name' parameter is provided and the requested rule is not defined for that domain the call will return 404 Not Found

By default this call is scoped to the entire account. You can scope the request by providing the 'domain.name' query parameter. If the 'domain.name' parameter is provided and the requested rule is not defined for that domain the call will return 404 Not Found

认证

需要 Connected Account

Tags

Forwards
Delete the DIPPMAILGUN_DELETE_V3_IP_POOLS_POOL_IDThe `DIPPs` feature must be enabled for the account. It is not allowed to delete a DIPP inherited from the parent account. If the DIPP is delegated to subaccounts, those will also be updated. If the replacement DIPP is specified, all domains linked to the deleted DIPP will be relinked to the replacement DIPP. The latter must contain at least one IP. If the replacement IP is specified, all domains linked to the deleted DIPP will be unlinked, and the replacement IP will be assigned to them. It is not allowed to delete a DIPP inherited from the parent account and replace it with an IP (subaccounts do not explicitly manage their IPs). The replacement IP must be a dedicated one; it can't belong to another DIPP. If a special value `shared` is used, appropriate shared IPs will be used (the account must be eligible for shared IPs in this case). Omitting both replacement DIPP and replacement IP is allowed only if the DIPP being deleted contains no IPs. The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

The `DIPPs` feature must be enabled for the account. It is not allowed to delete a DIPP inherited from the parent account. If the DIPP is delegated to subaccounts, those will also be updated. If the replacement DIPP is specified, all domains linked to the deleted DIPP will be relinked to the replacement DIPP. The latter must contain at least one IP. If the replacement IP is specified, all domains linked to the deleted DIPP will be unlinked, and the replacement IP will be assigned to them. It is not allowed to delete a DIPP inherited from the parent account and replace it with an IP (subaccounts do not explicitly manage their IPs). The replacement IP must be a dedicated one; it can't belong to another DIPP. If a special value `shared` is used, appropriate shared IPs will be used (the account must be eligible for shared IPs in this case). Omitting both replacement DIPP and replacement IP is allowed only if the DIPP being deleted contains no IPs. The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

认证

需要 Connected Account

Tags

IP Pools
Revoke DIPP from SubaccountMAILGUN_DELETE_V3_IP_POOLS_POOL_ID_DELEGATERevokes delegation of a dedicated IP pool (DIPP) from a specified subaccount. The DIPP will no longer be available to the subaccount. Unlike legacy endpoints, this supports accounts with multiple delegated DIPPs. Request parameters are encoded as form data.

Revokes delegation of a dedicated IP pool (DIPP) from a specified subaccount. The DIPP will no longer be available to the subaccount. Unlike legacy endpoints, this supports accounts with multiple delegated DIPPs. Request parameters are encoded as form data.

认证

需要 Connected Account

Tags

IP Pools
Remove an IP from a DIPPMAILGUN_DELETE_V3_IP_POOLS_POOL_ID_IPS_IPThe account must have 'DIPPs' feature enabled. It's not allowed to edit a DIPP inherited from the parent account. If the DIPP is linked to domains, the domains will be updated asynchronously (after this endpoint returns response).

The account must have 'DIPPs' feature enabled. It's not allowed to edit a DIPP inherited from the parent account. If the DIPP is linked to domains, the domains will be updated asynchronously (after this endpoint returns response).

认证

需要 Connected Account

Tags

IP Pools
Cancels the warmup plan for an IP addressMAILGUN_DELETE_V3_IP_WARMUPS_ADDRCancels the warmup plan for an IP address. The IP must be dedicated and owned by the account.

Cancels the warmup plan for an IP address. The IP must be dedicated and owned by the account.

认证

需要 Connected Account

Tags

IP Address Warmup
Remove an IP from all account domainsMAILGUN_DELETE_V3_IPS_IP_DOMAINSThe IP must belong to the account. If the `alternative` parameter is present, it is used to replace the removed ip on all domains.

The IP must belong to the account. If the `alternative` parameter is present, it is used to replace the removed ip on all domains.

认证

需要 Connected Account

Tags

IPs
Delete a mailing listMAILGUN_DELETE_V3_LISTS_ADDRESSDeletes a mailing list

Deletes a mailing list

认证

需要 Connected Account

Tags

Mailing Lists
Delete a routeMAILGUN_DELETE_V3_ROUTES_IDRemove the rotue from the account.

Remove the rotue from the account.

认证

需要 Connected Account

Tags

Routes
Delete List Health Preview JobMAILGUN_DELETE_V4_ADDRESS_VALIDATE_PREVIEW_LIST_IDDeletes a single list health previewk job by ID.

Deletes a single list health previewk job by ID.

认证

需要 Connected Account

Tags

List Health Preview
Delete domain webhooks (v4)MAILGUN_DELETE_V4_DOMAINS_DOMAIN_WEBHOOKSDelete webhook URLs from all event types they are associated with. Supports deleting multiple URLs at once by repeating the `url` query parameter.

Delete webhook URLs from all event types they are associated with. Supports deleting multiple URLs at once by repeating the `url` query parameter.

认证

需要 Connected Account

Tags

Domain Webhooks
Delete ResultMAILGUN_DELETE_V4_INBOX_RESULTS_RESULTDelete the result and all associated information.

Delete the result and all associated information.

认证

需要 Connected Account

Tags

Inbox Placement
Delete ResultMAILGUN_DELETE_V4_INBOX_RESULTS_RESULT_IDDelete the result and all associated information.

Delete the result and all associated information.

认证

需要 Connected Account

Tags

Inbox Placement
Delete a Seed ListMAILGUN_DELETE_V4_INBOX_SEEDLISTS_ADDRESSDelete a Seed List

Delete a Seed List

认证

需要 Connected Account

Tags

Inbox Placement
Delete all account-level templatesMAILGUN_DELETE_V4_TEMPLATESDelete all account-level templates and their versions.

Delete all account-level templates and their versions.

认证

需要 Connected Account

Tags

Account Templates
Delete an account-level templateMAILGUN_DELETE_V4_TEMPLATES_TEMPLATE_NAMEDelete the account-level template specified in the url NOTE: This method deletes all versions of the specified template.

Delete the account-level template specified in the url NOTE: This method deletes all versions of the specified template.

认证

需要 Connected Account

Tags

Account Templates
Delete an account-level template versionMAILGUN_DELETE_V4_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAMEDelete a specific version of an account-level template.

Delete a specific version of an account-level template.

认证

需要 Connected Account

Tags

Account Templates
Delete a custom sending limitMAILGUN_DELETE_V5_ACCOUNTS_LIMIT_CUSTOM_MONTHLYDelete a custom sending limit

Delete a custom sending limit

认证

需要 Connected Account

Tags

Custom Message Limit
Delete a subaccountMAILGUN_DELETE_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_IDDelete a subaccount

Delete a subaccount

认证

需要 Connected Account

Tags

Subaccounts
Revoke a DIPP delegated to a subaccountMAILGUN_DELETE_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_IP_POOL#### Description Initiates the process to revoke a DIPP delegated to a subaccount. All domains linked to the DIPP will be unlinked. This endpoint cannot be used with subaccounts that have multiple inherited DIPPs.

#### Description Initiates the process to revoke a DIPP delegated to a subaccount. All domains linked to the DIPP will be unlinked. This endpoint cannot be used with subaccounts that have multiple inherited DIPPs.

认证

需要 Connected Account

Tags

openapi-tower_other
Delete a custom sending limitMAILGUN_DELETE_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_LIMIT_CUSTOM_MONTHLYDelete a custom sending limit

Delete a custom sending limit

认证

需要 Connected Account

Tags

Subaccounts
Remove an authorized sandbox domain email recipientMAILGUN_DELETE_V5_SANDBOX_AUTH_RECIPIENTS_EMAILRemove an authorized sandbox domain email recipient

Remove an authorized sandbox domain email recipient

认证

需要 Connected Account

Tags

Account Management
Get a memberMAILGUN_GET_LISTS_LIST_ADDRESS_MEMBERS_MEMBER_ADDRESSGet details about a specific mailing list member

Get details about a specific mailing list member

认证

需要 Connected Account

Tags

Mailing Lists
Get members by pageMAILGUN_GET_LISTS_LIST_ADDRESS_MEMBERS_PAGESPaginate over list members in a given mailing list in ascending order

Paginate over list members in a given mailing list in ascending order

认证

需要 Connected Account

Tags

Mailing Lists
Get mailing lists membersMAILGUN_GET_LISTS_STRING_LIST_ADDRESS_MEMBERSLists members in a given mailing list

Lists members in a given mailing list

认证

需要 Connected Account

Tags

Mailing Lists
List eventsMAILGUN_GET_V1_ALERTS_EVENTSThe current list of events that you can chose to receive alerts for.

The current list of events that you can chose to receive alerts for.

认证

需要 Connected Account

Tags

Alerts
List AlertsMAILGUN_GET_V1_ALERTS_SETTINGSThis endpoint returns a list of all configured alert settings for your account.

This endpoint returns a list of all configured alert settings for your account.

认证

需要 Connected Account

Tags

Alerts
List Slack channelsMAILGUN_GET_V1_ALERTS_SLACK_CHANNELSList Slack channels for the connected Slack workspace.

List Slack channels for the connected Slack workspace.

认证

需要 Connected Account

Tags

Alerts
Get Slack channelMAILGUN_GET_V1_ALERTS_SLACK_CHANNELS_IDReturns Slack channel.

Returns Slack channel.

认证

需要 Connected Account

Tags

Alerts
Get account tag limit informationMAILGUN_GET_V1_ANALYTICS_TAGS_LIMITSGets the tag limit and current number of unique tags for an account

Gets the tag limit and current number of unique tags for an account

认证

需要 Connected Account

Tags

Tags New
List entitiesMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_CONFIG_ENTITIESDeprecated: use POST /v2/bounce-classification/metrics

Deprecated: use POST /v2/bounce-classification/metrics

认证

需要 Connected Account

Tags

Bounce Classification
List rulesMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_CONFIG_RULESDeprecated: use GET /v2/bounce-classification/config/groups/{group-id}

Deprecated: use GET /v2/bounce-classification/config/groups/{group-id}

认证

需要 Connected Account

Tags

Bounce Classification
List domains statistic per accountMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_DOMAINSDeprecated: use POST /v2/bounce-classification/metrics

Deprecated: use POST /v2/bounce-classification/metrics

认证

需要 Connected Account

Tags

Bounce Classification
List statistic per domainMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_DOMAINS_DOMAIN_ENTITIESDeprecated: use POST /v2/bounce-classification/metrics

Deprecated: use POST /v2/bounce-classification/metrics

认证

需要 Connected Account

Tags

Bounce Classification
List statistic per entityMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_DOMAINS_DOMAIN_ENTITIES_ENTITY_ID_RULESDeprecated: use POST /v2/bounce-classification/metrics

Deprecated: use POST /v2/bounce-classification/metrics

认证

需要 Connected Account

Tags

Bounce Classification
List Bounce LogsMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_DOMAINS_DOMAIN_EVENTSDeprecated: use POST /v1/analytics/logs - https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/logs

Deprecated: use POST /v1/analytics/logs - https://documentation.mailgun.com/docs/mailgun/api-reference/send/mailgun/logs

认证

需要 Connected Account

Tags

Bounce Classification
List statistics, ordered by total bouncesMAILGUN_GET_V1_BOUNCE_CLASSIFICATION_STATSDeprecated: use POST /v2/bounce-classification/metrics instead

Deprecated: use POST /v2/bounce-classification/metrics instead

认证

需要 Connected Account

Tags

Bounce Classification
List keys for all domainsMAILGUN_GET_V1_DKIM_KEYSList domain keys, and optionally filter by signing domain or selector. Results are paginated - use the 'limit' parameter to control page size (default 10, max 100). Use the 'page' parameter from the paging response URLs to navigate through pages.

List domain keys, and optionally filter by signing domain or selector. Results are paginated - use the 'limit' parameter to control page size (default 10, max 100). Use the 'page' parameter from the paging response URLs to navigate through pages.

认证

需要 Connected Account

Tags

Domain Keys
Retrieves the list of domains that have DMARC monitoring.MAILGUN_GET_V1_DMARC_DOMAINSRetrieves the list of domains that have DMARC monitoring.

Retrieves the list of domains that have DMARC monitoring.

认证

需要 Connected Account

Tags

DMARC Reports
Retrieve DMARC reporting data for a domain.MAILGUN_GET_V1_DMARC_DOMAINS_DOMAINRetrieve DMARC reporting data for a domain.

Retrieve DMARC reporting data for a domain.

认证

需要 Connected Account

Tags

DMARC Reports
Retrieve DMARC reporting data from a specific source.MAILGUN_GET_V1_DMARC_DOMAINS_DOMAIN_S_SOURCERetrieve DMARC reporting data from a specific source.

Retrieve DMARC reporting data from a specific source.

认证

需要 Connected Account

Tags

DMARC Reports
Retrieve DMARC reporting data for a hostname.MAILGUN_GET_V1_DMARC_DOMAINS_DOMAIN_S_SOURCE_H_HOSTRetrieve DMARC reporting data for a hostname.

Retrieve DMARC reporting data for a hostname.

认证

需要 Connected Account

Tags

DMARC Reports
Retrieve DMARC reporting data for an IP Address.MAILGUN_GET_V1_DMARC_DOMAINS_DOMAIN_S_SOURCE_H_HOST_IP_IPRetrieve DMARC reporting data for an IP Address.

Retrieve DMARC reporting data for an IP Address.

认证

需要 Connected Account

Tags

DMARC Reports
Retrieves the DMARC DNS records to be used for configurationMAILGUN_GET_V1_DMARC_RECORDS_DOMAINRetrieves the DMARC DNS records to be used for configuration

Retrieves the DMARC DNS records to be used for configuration

认证

需要 Connected Account

Tags

DMARC Reports
Checks if DMARC has been setup for userMAILGUN_GET_V1_DMARC_SETUPChecks if DMARC has been setup for user

Checks if DMARC has been setup for user

认证

需要 Connected Account

Tags

DMARC Reports
List all domains assigned to dynamic IP poolsMAILGUN_GET_V1_DYNAMIC_POOLS_DOMAINSRetrieves all domains enrolled in dynamic IP pools across the parent account and subaccounts.

Retrieves all domains enrolled in dynamic IP pools across the parent account and subaccounts.

认证

需要 Connected Account

Tags

Dynamic IP Pools
List domain historyMAILGUN_GET_V1_DYNAMIC_POOLS_DOMAINS_NAME_HISTORYRetrieves a domain's history records

Retrieves a domain's history records

认证

需要 Connected Account

Tags

Dynamic IP Pools
Preview domain assignmentMAILGUN_GET_V1_DYNAMIC_POOLS_DOMAINS_NAME_PREVIEWRuns a health check on a domain and returns which pool it would be placed in. It does NOT enroll the domain or set the band

Runs a health check on a domain and returns which pool it would be placed in. It does NOT enroll the domain or set the band

认证

需要 Connected Account

Tags

Dynamic IP Pools
List account historyMAILGUN_GET_V1_DYNAMIC_POOLS_HISTORYRetrieve history records for all domains assigned to Dynamic IP Pools across the parent and subaccounts.

Retrieve history records for all domains assigned to Dynamic IP Pools across the parent and subaccounts.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Returns Domains on Mailgun Optimize servicesMAILGUN_GET_V1_INBOXREADY_DOMAINSWill return details on an Mailgun Optimize Domain. If no Domain is provided, then a list of all Mailgun Optimize Domains on an account will be returned.

Will return details on an Mailgun Optimize Domain. If no Domain is provided, then a list of all Mailgun Optimize Domains on an account will be returned.

认证

需要 Connected Account

Tags

Domains
Lists monitored IP addressesMAILGUN_GET_V1_INBOXREADY_IP_ADDRESSESLists monitored IP addresses

Lists monitored IP addresses

认证

需要 Connected Account

Tags

IP Blocklist Monitoring
Get the IP addressMAILGUN_GET_V1_INBOXREADY_IP_ADDRESSES_IPGet the IP address

Get the IP address

认证

需要 Connected Account

Tags

IP Blocklist Monitoring
Get Accessibility TestsMAILGUN_GET_V1_INSPECT_ACCESSIBILITYRetrieve a paginated list of all accessibility tests that have been submitted. Each test includes details such as its status, the number of checks performed, and, of those checks, how many passes and failures there were. The response is paginated, with a limit of up to 1000 items per page. The total count of records will display in the meta object under the key, 'count'.

Retrieve a paginated list of all accessibility tests that have been submitted. Each test includes details such as its status, the number of checks performed, and, of those checks, how many passes and failures there were. The response is paginated, with a limit of up to 1000 items per page. The total count of records will display in the meta object under the key, 'count'.

认证

需要 Connected Account

Tags

Accessibility
Get Accessibility TestMAILGUN_GET_V1_INSPECT_ACCESSIBILITY_IDRetrieve the details of a specific accessibility test using the provided test ID. This endpoint returns comprehensive details about the test, including metadata and test results.

Retrieve the details of a specific accessibility test using the provided test ID. This endpoint returns comprehensive details about the test, including metadata and test results.

认证

需要 Connected Account

Tags

Accessibility
List Code Analysis JobsMAILGUN_GET_V1_INSPECT_ANALYZEReturns a paginated list of all code analysis jobs under the account, showing only the latest version of each test. Uses skip/limit pagination and supports filtering by status.

Returns a paginated list of all code analysis jobs under the account, showing only the latest version of each test. Uses skip/limit pagination and supports filtering by status.

认证

需要 Connected Account

Tags

Code Analysis
Get Code Analysis DictionaryMAILGUN_GET_V1_INSPECT_ANALYZE_DICTIONARYReturns the lookup dictionary containing variants, clients, platforms, application types, support levels, and categories used in code analysis.

Returns the lookup dictionary containing variants, clients, platforms, application types, support levels, and categories used in code analysis.

认证

需要 Connected Account

Tags

Code Analysis
Get Code Analysis ResultsMAILGUN_GET_V1_INSPECT_ANALYZE_TEST_IDReturns the latest version of code analysis test results for a given test ID.

Returns the latest version of code analysis test results for a given test ID.

认证

需要 Connected Account

Tags

Code Analysis
Get All Code Analysis VersionsMAILGUN_GET_V1_INSPECT_ANALYZE_TEST_ID_VERSIONSReturns all versions available for a given test ID.

Returns all versions available for a given test ID.

认证

需要 Connected Account

Tags

Code Analysis
Get Code Analysis Results by VersionMAILGUN_GET_V1_INSPECT_ANALYZE_TEST_ID_VERSIONS_VERSION_IDReturns code analysis test results for a specific test ID and version.

Returns code analysis test results for a specific test ID and version.

认证

需要 Connected Account

Tags

Code Analysis
Get Image Validation TestsMAILGUN_GET_V1_INSPECT_IMAGESRetrieve a paginated list of all image validation tests that have been submitted. The response is paginated, with a limit of up to 1000 items per page. The total count of records will display in the meta object under the key, 'count'.

Retrieve a paginated list of all image validation tests that have been submitted. The response is paginated, with a limit of up to 1000 items per page. The total count of records will display in the meta object under the key, 'count'.

认证

需要 Connected Account

Tags

Image Validation
Get Image Validation ResultsMAILGUN_GET_V1_INSPECT_IMAGES_IDReturns the results of an image validation test.

Returns the results of an image validation test.

认证

需要 Connected Account

Tags

Image Validation
List Link ValidationsMAILGUN_GET_V1_INSPECT_LINKSRetrieve a list of previous link validation tests based on various filters.

Retrieve a list of previous link validation tests based on various filters.

认证

需要 Connected Account

Tags

Link Validation
Get Link Validation ResultsMAILGUN_GET_V1_INSPECT_LINKS_IDReturns the results of a link validation test.

Returns the results of a link validation test.

认证

需要 Connected Account

Tags

Link Validation
List Spam Tests (V1)MAILGUN_GET_V1_INSPECT_SPAMReturns a paginated list of all spam tests for the account, ordered by created_at desc. Supports filtering by status and region.

Returns a paginated list of all spam tests for the account, ordered by created_at desc. Supports filtering by status and region.

认证

需要 Connected Account

Tags

Spam Testing
List Supported ESP ProvidersMAILGUN_GET_V1_INSPECT_SPAM_PROVIDERSReturns the static list of ESPs supported by spam testing, grouped by category (B2C / B2B).

Returns the static list of ESPs supported by spam testing, grouped by category (B2C / B2B).

认证

需要 Connected Account

Tags

Spam Testing
Get Spam Test (V1)MAILGUN_GET_V1_INSPECT_SPAM_SPAM_TEST_IDReturns the current state of a spam test. A Retry-After: 10 header is set when the test is still processing.

Returns the current state of a spam test. A Retry-After: 10 header is set when the test is still processing.

认证

需要 Connected Account

Tags

Spam Testing
List Mailgun API keysMAILGUN_GET_V1_KEYSList Mailgun API keys

List Mailgun API keys

认证

需要 Connected Account

Tags

Keys
List Email Health score and rates grouped by domains/ips/subaccounts/timestampsMAILGUN_GET_V1_MAVERICK_SCORE_GROUPEDList Email Health score and rates grouped by domains/ips/subaccounts/timestamps

List Email Health score and rates grouped by domains/ips/subaccounts/timestamps

认证

需要 Connected Account

Tags

Email Health Score
Get Email Health score and rates for account and subaccountsMAILGUN_GET_V1_MAVERICK_SCORE_TOTALGet Email Health score and rates for account and subaccounts

Get Email Health score and rates for account and subaccounts

认证

需要 Connected Account

Tags

Email Health Score
Get Monitored DomainsMAILGUN_GET_V1_MONITORING_DOMAINSGets all domains that are being monitored for blocklisting

Gets all domains that are being monitored for blocklisting

认证

需要 Connected Account

Tags

Domain Blocklist Monitoring
Get Lists Domain is Listed inMAILGUN_GET_V1_MONITORING_DOMAINS_DOMAIN_BLOCKLISTSGet blocklists that the domain is listed in

Get blocklists that the domain is listed in

认证

需要 Connected Account

Tags

Domain Blocklist Monitoring
Get Events for DomainMAILGUN_GET_V1_MONITORING_DOMAINS_DOMAIN_EVENTSGet events for a specific domain

Get events for a specific domain

认证

需要 Connected Account

Tags

Domain Blocklist Monitoring
Get All EventsMAILGUN_GET_V1_MONITORING_DOMAINS_EVENTSGet all events for all domains monitored

Get all events for all domains monitored

认证

需要 Connected Account

Tags

Domain Blocklist Monitoring
Returns PreviewShare record by UUID.MAILGUN_GET_V1_PREVIEW_SHARING_PUBLIC_IDReturns PreviewShare record by UUID.

Returns PreviewShare record by UUID.

认证

需要 Connected Account

Tags

Email Preview
Get PreviewShareMAILGUN_GET_V1_PREVIEW_SHARING_TEST_IDReturns PreviewShare record by TID.

Returns PreviewShare record by TID.

认证

需要 Connected Account

Tags

Email Preview
List Emailpreview TestsMAILGUN_GET_V1_PREVIEW_TESTSReturns a list of email preview tests.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/GET-v2-preview-tests)._

Returns a list of email preview tests.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/GET-v2-preview-tests)._

认证

需要 Connected Account

Tags

Email Preview
List ClientsMAILGUN_GET_V1_PREVIEW_TESTS_CLIENTSReturns a list of clients that can perform an email preview.

Returns a list of clients that can perform an email preview.

认证

需要 Connected Account

Tags

Email Preview
Get Emailpreview Test InfoMAILGUN_GET_V1_PREVIEW_TESTS_TEST_IDReturns test info.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/GET-v2-preview-tests--test-id-)._

Returns test info.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/GET-v2-preview-tests--test-id-)._

认证

需要 Connected Account

Tags

Email Preview
Get Test Content (empty)MAILGUN_GET_V1_PREVIEW_TESTS_TEST_ID_CONTENTGets HTML content of the passed test.

Gets HTML content of the passed test.

认证

需要 Connected Account

Tags

Email Preview
Get Test ContentMAILGUN_GET_V1_PREVIEW_TESTS_TEST_ID_CONTENT_CONTENTGets HTML content of the passed test.

Gets HTML content of the passed test.

认证

需要 Connected Account

Tags

Email Preview
Get Test ResultsMAILGUN_GET_V1_PREVIEW_TESTS_TEST_ID_RESULTSReturns the results for the specified email preview test.

Returns the results for the specified email preview test.

认证

需要 Connected Account

Tags

Email Preview
Get GPT AddressesMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_ADDRESSESReturns a list of all address records for an account. Each address record is for a single address on a single day.

Returns a list of all address records for an account. Each address record is for a single address on a single day.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT AddressMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_ADDRESSES_ADDRESSReturns address records for an single address on the account. Each address record is for a single address on a single day.

Returns address records for an single address on the account. Each address record is for a single address on a single day.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get all GPT AddressesMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_ADDRESSES_LISTReturns a list of all addresses for an account

Returns a list of all addresses for an account

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT DomainsMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_DOMAINSReturns a list of all domain records for an account. Each domain record is for a single domain on a single day.

Returns a list of all domain records for an account. Each domain record is for a single domain on a single day.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT DomainMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_DOMAINS_DOMAINReturns domain records for a single domain on the account. Each domain record is for a single domain on a single day.

Returns domain records for a single domain on the account. Each domain record is for a single domain on a single day.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT Domain AddressesMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_DOMAINS_DOMAIN_ADDRESSESReturns a list of all address records for an account belonging to a specific domain. Each address record is for a single address on a single day.

Returns a list of all address records for an account belonging to a specific domain. Each address record is for a single address on a single day.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT DomainsMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_DOMAINS_LISTReturns a list of all domains for an account

Returns a list of all domains for an account

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT FBLMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_DOMAINSFBLReturns the FBL for the account or domain

Returns the FBL for the account or domain

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT FBLMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_DOMAINSFBL_DOMAINReturns the FBL for the account or domain

Returns the FBL for the account or domain

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT SummaryMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_SUMMARYReturns a list of all summary records for an account. Each record is for a single domain's summary and error summary data.

Returns a list of all summary records for an account. Each record is for a single domain's summary and error summary data.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT Addresses SummaryMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_SUMMARY_ADDRESSESReturns a list of all address summary records for an account. Each record is for a single address's summary data.

Returns a list of all address summary records for an account. Each record is for a single address's summary data.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT Domains SummaryMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_SUMMARY_DOMAINSReturns a list of all domain summary records for an account. Each record is for a single domain's summary data.

Returns a list of all domain summary records for an account. Each record is for a single domain's summary data.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get GPT Domains Error SummaryMAILGUN_GET_V1_REPUTATIONANALYTICS_GPT_SUMMARY_ERRORSReturns a list of all domain error summary records for an account. Each record is for a single domain's error summary data.

Returns a list of all domain error summary records for an account. Each record is for a single domain's error summary data.

认证

需要 Connected Account

Tags

Google Postmaster Tools
Get SNDS Address InfoMAILGUN_GET_V1_REPUTATIONANALYTICS_SNDSReturns a list of all address summary records for an account. Each record is for a single address's summary data.

Returns a list of all address summary records for an account. Each record is for a single address's summary data.

认证

需要 Connected Account

Tags

Microsoft SNDS
Get SNDS Address InfoMAILGUN_GET_V1_REPUTATIONANALYTICS_SNDS_IPReturns a list of all address summary records for an account and a single address

Returns a list of all address summary records for an account and a single address

认证

需要 Connected Account

Tags

Microsoft SNDS
Get Spam Trap HitsMAILGUN_GET_V1_SPAMTRAPSUse this endpoint to understand how much of your mail being sent to known spam traps. This endpoint returns daily spam trap hit counts for a provided timerange, categorized by trap type. Deprecated: Use /v2/spamtraps endpoint.

Use this endpoint to understand how much of your mail being sent to known spam traps. This endpoint returns daily spam trap hit counts for a provided timerange, categorized by trap type. Deprecated: Use /v2/spamtraps endpoint.

认证

需要 Connected Account

Tags

Spam Traps Monitoring
Get Spam Trap FiltersMAILGUN_GET_V1_SPAMTRAPS_FILTERSGet a list of domain, ip, subject, From that hit spamtraps, like spamtraps totals but no counts. Deprecated: Use /v2/spamtraps endpoint.

Get a list of domain, ip, subject, From that hit spamtraps, like spamtraps totals but no counts. Deprecated: Use /v2/spamtraps endpoint.

认证

需要 Connected Account

Tags

openapi-spamtraps_other
Get Spam Trap Hits TotalMAILGUN_GET_V1_SPAMTRAPS_TOTALSDeprecated: Use /v2/spamtraps endpoint without dimension parameter.

Deprecated: Use /v2/spamtraps endpoint without dimension parameter.

认证

需要 Connected Account

Tags

openapi-spamtraps_other
List send alertsMAILGUN_GET_V1_THRESHOLDS_ALERTS_SENDList send alerts

List send alerts

认证

需要 Connected Account

Tags

Send Alerts
Get a send alertMAILGUN_GET_V1_THRESHOLDS_ALERTS_SEND_NAMEGet a send alert

Get a send alert

认证

需要 Connected Account

Tags

Send Alerts
List account hitsMAILGUN_GET_V1_THRESHOLDS_HITSList account hits

List account hits

认证

需要 Connected Account

Tags

Send Alerts
List limit thresholds for an accountMAILGUN_GET_V1_THRESHOLDS_LIMITSList limit thresholds for an account

List limit thresholds for an account

认证

需要 Connected Account

Tags

Limits
Get a limit threshold for an accountMAILGUN_GET_V1_THRESHOLDS_LIMITS_NAMEGet a limit threshold for an account

Get a limit threshold for an account

认证

需要 Connected Account

Tags

Limits
List account-level webhooksMAILGUN_GET_V1_WEBHOOKSRetrieve all account-level webhooks or filter by specific webhook IDs. Returns webhook details including associated event types.

Retrieve all account-level webhooks or filter by specific webhook IDs. Returns webhook details including associated event types.

认证

需要 Connected Account

Tags

Account Webhooks
Get account-level webhook by IDMAILGUN_GET_V1_WEBHOOKS_WEBHOOK_IDRetrieve a specific account-level webhook by its webhook ID. Returns webhook details including associated event types.

Retrieve a specific account-level webhook by its webhook ID. Returns webhook details including associated event types.

认证

需要 Connected Account

Tags

Account Webhooks
List Mailgun account IP allowlist entriesMAILGUN_GET_V2_IP_WHITELISTList Mailgun account IP allowlist entries

List Mailgun account IP allowlist entries

认证

需要 Connected Account

Tags

IP Allowlist
List/Search Tests V2MAILGUN_GET_V2_PREVIEW_TESTSThis call returns a list of Email Tests along with metadata about each test. Email Tests are stored for 90 days. When query parameters are provided, only the tests matching the specified criteria will be returned; otherwise, all available tests are returned. The response structure remains identical in both cases.

This call returns a list of Email Tests along with metadata about each test. Email Tests are stored for 90 days. When query parameters are provided, only the tests matching the specified criteria will be returned; otherwise, all available tests are returned. The response structure remains identical in both cases.

认证

需要 Connected Account

Tags

Email Preview
Get Emailpreview Test Information V2MAILGUN_GET_V2_PREVIEW_TESTS_TEST_IDRetrieves detailed information about a specific test, including the subject, submission time (in UNIX timestamp format), processing statuses, and any content checking results. The response includes one to three properties containing arrays of clients: completed (clients that have successfully uploaded screenshots), processing (clients that are still being processed by our system), and bounced (clients that were bounced by the destination and cannot be retried). Additionally, the system will automatically requeue screenshots if they remain in processing for more than three minutes.

Retrieves detailed information about a specific test, including the subject, submission time (in UNIX timestamp format), processing statuses, and any content checking results. The response includes one to three properties containing arrays of clients: completed (clients that have successfully uploaded screenshots), processing (clients that are still being processed by our system), and bounced (clients that were bounced by the destination and cannot be retried). Additionally, the system will automatically requeue screenshots if they remain in processing for more than three minutes.

认证

需要 Connected Account

Tags

Email Preview
Retrieve Export Job Details for Email Preview Test ScreenshotsMAILGUN_GET_V2_PREVIEW_TESTS_TEST_ID_EXPORTSRetrieves the status and details of an export job created to collect screenshots for an Email Preview Test. Provide the test ID to fetch the latest export job information.

Retrieves the status and details of an export job created to collect screenshots for an Email Preview Test. Provide the test ID to fetch the latest export job information.

认证

需要 Connected Account

Tags

Email Preview
Retrieve Export Job Details for Email Preview Test ScreenshotsMAILGUN_GET_V2_PREVIEW_TESTS_TEST_ID_EXPORTS_JOB_IDRetrieves the status and details of an export job created to collect screenshots for an Email Preview Test. Provide both the test ID and the job ID to fetch the export job information.

Retrieves the status and details of an export job created to collect screenshots for an Email Preview Test. Provide both the test ID and the job ID to fetch the export job information.

认证

需要 Connected Account

Tags

Email Preview
Get Test Results by client ID V2MAILGUN_GET_V2_PREVIEW_TESTS_TEST_ID_RESULTS_CLIENT_IDThis call returns detailed results for screenshots including their upload locations, send times, completion times, and information about bounces, if any. <test_id> is a test ID returned from test creation or the get test list functions. The <client_id> is required and restricts the returned data exclusively to the specified client. If the client is not present in the test or is invalid, an error will be returned.

This call returns detailed results for screenshots including their upload locations, send times, completion times, and information about bounces, if any. <test_id> is a test ID returned from test creation or the get test list functions. The <client_id> is required and restricts the returned data exclusively to the specified client. If the client is not present in the test or is invalid, an error will be returned.

认证

需要 Connected Account

Tags

Email Preview
List Spam Trap HitsMAILGUN_GET_V2_SPAMTRAPSUse this endpoint to understand how much of your mail being sent to known spam traps. This endpoint returns daily spam trap hit counts for a provided timerange, categorized by trap type.

Use this endpoint to understand how much of your mail being sent to known spam traps. This endpoint returns daily spam trap hit counts for a provided timerange, categorized by trap type.

认证

需要 Connected Account

Tags

Spam Traps Monitoring
Tracking Certificate: Get certificate and statusMAILGUN_GET_V2_X509_DOMAIN_STATUSGet x509 TLS certificate and status

Get x509 TLS certificate and status

认证

需要 Connected Account

Tags

Domain Tracking
Parse AddressesMAILGUN_GET_V3_ADDRESS_PARSEParses a list of comma separated addresses and optionally perform light weight validation of addresses.

Parses a list of comma separated addresses and optionally perform light weight validation of addresses.

认证

需要 Connected Account

Tags

openapi-validations_other
Get ThresholdMAILGUN_GET_V3_ADDRESS_PLATFORM_THRESHOLDThe validation threshold for this account.

The validation threshold for this account.

认证

需要 Connected Account

Tags

openapi-validations_other
Parse AddressesMAILGUN_GET_V3_ADDRESS_PRIVATE_PARSEParses a list of comma separated addresses and optionally perform light weight validation of addresses.

Parses a list of comma separated addresses and optionally perform light weight validation of addresses.

认证

需要 Connected Account

Tags

openapi-validations_other
Validate Address V3MAILGUN_GET_V3_ADDRESS_PRIVATE_VALIDATEA single email address to validate.

A single email address to validate.

认证

需要 Connected Account

Tags

openapi-validations_other
Get ThresholdMAILGUN_GET_V3_ADDRESS_PUBLIC_THRESHOLDThe validation threshold for this account.

The validation threshold for this account.

认证

需要 Connected Account

Tags

openapi-validations_other
Validate Address V3MAILGUN_GET_V3_ADDRESS_VALIDATEA single email address to validate.

A single email address to validate.

认证

需要 Connected Account

Tags

openapi-validations_other
Aggregate counts by countryMAILGUN_GET_V3_DOMAIN_AGGREGATES_COUNTRIESGets aggregate counts by country (USA, RUS, etc…)

Gets aggregate counts by country (USA, RUS, etc…)

认证

需要 Connected Account

Tags

Stats
Aggregate counts by devices triggering eventsMAILGUN_GET_V3_DOMAIN_AGGREGATES_DEVICESGets aggregate counts on devices that triggered events ('tablet', 'phone', 'pc', etc…)

Gets aggregate counts on devices that triggered events ('tablet', 'phone', 'pc', etc…)

认证

需要 Connected Account

Tags

Stats
Aggregate counts by ESPMAILGUN_GET_V3_DOMAIN_AGGREGATES_PROVIDERSGets aggregate counts by email service provider

Gets aggregate counts by email service provider

认证

需要 Connected Account

Tags

Stats
List all bouncesMAILGUN_GET_V3_DOMAIN_ID_BOUNCESPaginate over a list of bounces for a domain.

Paginate over a list of bounces for a domain.

认证

需要 Connected Account

Tags

Bounces
Lookup bounce recordMAILGUN_GET_V3_DOMAIN_ID_BOUNCES_ADDRESSFetch a single bounce event by a given email address.

Fetch a single bounce event by a given email address.

认证

需要 Connected Account

Tags

Bounces
List all complaintsMAILGUN_GET_V3_DOMAIN_ID_COMPLAINTSPaginate a list of complaints for the domain.

Paginate a list of complaints for the domain.

认证

需要 Connected Account

Tags

Complaints
Lookup complaint recordMAILGUN_GET_V3_DOMAIN_ID_COMPLAINTS_ADDRESSFetch a single complaint records to check if a given address is present in the list of complaints.

Fetch a single complaint records to check if a given address is present in the list of complaints.

认证

需要 Connected Account

Tags

Complaints
List all unsubscribesMAILGUN_GET_V3_DOMAIN_ID_UNSUBSCRIBESPaginate over a list of unsubscribes for domain.

Paginate over a list of unsubscribes for domain.

认证

需要 Connected Account

Tags

Unsubscribe
Lookup unsubscribe recordMAILGUN_GET_V3_DOMAIN_ID_UNSUBSCRIBES_ADDRESSFetch a single unsubscribe record to check if a given address is present in a list of unsubscribed users.

Fetch a single unsubscribe record to check if a given address is present in a list of unsubscribed users.

认证

需要 Connected Account

Tags

Unsubscribe
List allowlist records for domainMAILGUN_GET_V3_DOMAIN_ID_WHITELISTSPaginate over all allowlist records for a domain.

Paginate over all allowlist records for a domain.

认证

需要 Connected Account

Tags

Allowlist
Lookup allowlist recordMAILGUN_GET_V3_DOMAIN_ID_WHITELISTS_VALUEFetch a single allowlist record to check if a given address or domain is present.

Fetch a single allowlist record to check if a given address or domain is present.

认证

需要 Connected Account

Tags

Allowlist
Retrieves a paginated list of eventsMAILGUN_GET_V3_DOMAIN_NAME_EVENTSMailgun tracks every inbound and outbound message event and retains this data for at least 3 days. See [Filter expression](https://documentation.mailgun.com/docs/mailgun/user-manual/events/#filter-expression) for details about filtering expressions

Mailgun tracks every inbound and outbound message event and retains this data for at least 3 days. See [Filter expression](https://documentation.mailgun.com/docs/mailgun/user-manual/events/#filter-expression) for details about filtering expressions

认证

需要 Connected Account

Tags

Events
Get templatesMAILGUN_GET_V3_DOMAIN_NAME_TEMPLATESReturns a list of templates for the domain.

Returns a list of templates for the domain.

认证

需要 Connected Account

Tags

Domain Templates
Get templateMAILGUN_GET_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAMEReturns metadata information about the stored template specified in the url. If the active flag is provided, the content of the active version of the template is returned. If the version_name flag is provided, version information will be included as well. By default: the `version` field is not provided. To see available versions other than the active version, use the `/versions` API instead

Returns metadata information about the stored template specified in the url. If the active flag is provided, the content of the active version of the template is returned. If the version_name flag is provided, version information will be included as well. By default: the `version` field is not provided. To see available versions other than the active version, use the `/versions` API instead

认证

需要 Connected Account

Tags

Domain Templates
Get all template versionsMAILGUN_GET_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_VERSIONSReturns a paginated list of template versions.

Returns a paginated list of template versions.

认证

需要 Connected Account

Tags

Domain Templates
Get a versionMAILGUN_GET_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAMERetrieve the information and content of the specified version of a template.

Retrieve the information and content of the specified version of a template.

认证

需要 Connected Account

Tags

Domain Templates
Totals for entire domainMAILGUN_GET_V3_DOMAIN_STATS_TOTALGets stat totals for an entire domain

Gets stat totals for an entire domain

认证

需要 Connected Account

Tags

Stats
Get a tagMAILGUN_GET_V3_DOMAIN_TAGGet a tag associated with a domain

Get a tag associated with a domain

认证

需要 Connected Account

Tags

Tags
Get stats by tagMAILGUN_GET_V3_DOMAIN_TAG_STATSRetrieve stats by tag

Retrieve stats by tag

认证

需要 Connected Account

Tags

Tags
Get aggregate stat types by tagMAILGUN_GET_V3_DOMAIN_TAG_STATS_AGGREGATESReturns a list for a given domain for different event types

Returns a list for a given domain for different event types

认证

需要 Connected Account

Tags

Tags
List all tagsMAILGUN_GET_V3_DOMAIN_TAGSList all tags associated with a domain

List all tags associated with a domain

认证

需要 Connected Account

Tags

Tags
Get tag limitsMAILGUN_GET_V3_DOMAINS_DOMAIN_LIMITS_TAGGet tag limits by domain

Get tag limits by domain

认证

需要 Connected Account

Tags

Tags
List Mailgun SMTP credential metadata for a given domainMAILGUN_GET_V3_DOMAINS_DOMAIN_NAME_CREDENTIALSList Mailgun SMTP credential metadata for a given domain

List Mailgun SMTP credential metadata for a given domain

认证

需要 Connected Account

Tags

Credentials
Retrieve a stored emailMAILGUN_GET_V3_DOMAINS_DOMAIN_NAME_MESSAGES_STORAGE_KEYEvent(s) created from sending an email with Mailgun will contain a `storage.key` to use to retrieve the email.

Event(s) created from sending an email with Mailgun will contain a `storage.key` to use to retrieve the email.

认证

需要 Connected Account

Tags

Messages
Get domain webhooks by typeMAILGUN_GET_V3_DOMAINS_DOMAIN_NAME_WEBHOOKS_WEBHOOK_NAMEGet the list of url(s) for a webhook identified by its webhook_name.

Get the list of url(s) for a webhook identified by its webhook_name.

认证

需要 Connected Account

Tags

Domain Webhooks
List of supported country codesMAILGUN_GET_V3_DOMAINS_DOMAIN_TAG_COUNTRIESGets a list of country codes scout curently supports

Gets a list of country codes scout curently supports

认证

需要 Connected Account

Tags

openapi-scout_other
List of supported devicesMAILGUN_GET_V3_DOMAINS_DOMAIN_TAG_DEVICESGets a list of devices scout currently supports

Gets a list of devices scout currently supports

认证

需要 Connected Account

Tags

openapi-scout_other
List of supported providersMAILGUN_GET_V3_DOMAINS_DOMAIN_TAG_PROVIDERSGets a list of providers scout currently supports

Gets a list of providers scout currently supports

认证

需要 Connected Account

Tags

openapi-scout_other
Get domain webhooksMAILGUN_GET_V3_DOMAINS_DOMAIN_WEBHOOKSReturns all webhooks for the domain.

Returns all webhooks for the domain.

认证

需要 Connected Account

Tags

Domain Webhooks
List assignable domainsMAILGUN_GET_V3_DOMAINS_DYNAMIC_POOLS_ASSIGNABLELists all domains that are not already enrolled in dynamic IP pools.

Lists all domains that are not already enrolled in dynamic IP pools.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Get messages queue statusMAILGUN_GET_V3_DOMAINS_NAME_SENDING_QUEUESProvides default and scheduled message queue information.

Provides default and scheduled message queue information.

认证

需要 Connected Account

Tags

Messages
Get tracking settingsMAILGUN_GET_V3_DOMAINS_NAME_TRACKINGUse to check if open, click and unsubscribe tracking are active/inactive.

Use to check if open, click and unsubscribe tracking are active/inactive.

认证

需要 Connected Account

Tags

Domain Tracking
List all Dynamic IP poolsMAILGUN_GET_V3_DYNAMIC_POOLSReturns the list of IPs belonging to each of the account's Dynamic IP Pools.

Returns the list of IPs belonging to each of the account's Dynamic IP Pools.

认证

需要 Connected Account

Tags

Dynamic IP Pools
List forward rulesMAILGUN_GET_V3_FORWARDSBy default this endpoint lists all rules defined on the account. You can scope the list of rules by domain by providing the 'domain.name' query parameter.

By default this endpoint lists all rules defined on the account. You can scope the list of rules by domain by providing the 'domain.name' query parameter.

认证

需要 Connected Account

Tags

Forwards
Get a single forward rule by IDMAILGUN_GET_V3_FORWARDS_IDRetrieve a forward rule by ID

Retrieve a forward rule by ID

认证

需要 Connected Account

Tags

Forwards
List dedicated IP pools of the accountMAILGUN_GET_V3_IP_POOLS#### Description Lists all dedicated IP pools of the account. For each pool returns its basic properties (name, description, the list of IPs) and indicates whether the pool is linked to any domains and whether it's an inherited one.

#### Description Lists all dedicated IP pools of the account. For each pool returns its basic properties (name, description, the list of IPs) and indicates whether the pool is linked to any domains and whether it's an inherited one.

认证

需要 Connected Account

Tags

IP Pools
Get DIPP detailsMAILGUN_GET_V3_IP_POOLS_POOL_ID`is_linked` in the response indicates whether the DIPP is currently linked to any domains. If it's `true`, `linked_domain` lists those domains.

`is_linked` in the response indicates whether the DIPP is currently linked to any domains. If it's `true`, `linked_domain` lists those domains.

认证

需要 Connected Account

Tags

IP Pools
Get domains linked to DIPPMAILGUN_GET_V3_IP_POOLS_POOL_ID_DOMAINSReturns a paginated list of domains that are linked to the specified dedicated IP pool.

Returns a paginated list of domains that are linked to the specified dedicated IP pool.

认证

需要 Connected Account

Tags

IP Pools
Retrieves the list of in-flight IP address warmup statuses.MAILGUN_GET_V3_IP_WARMUPSRetrieves a list of in-flight IP warmup statuses for dedicated IP addresses owned by the account. The response includes pagination URLs for navigating through the results.

Retrieves a list of in-flight IP warmup statuses for dedicated IP addresses owned by the account. The response includes pagination URLs for navigating through the results.

认证

需要 Connected Account

Tags

IP Address Warmup
Retrieves the status of an in-flight IP warmupMAILGUN_GET_V3_IP_WARMUPS_ADDRRetrieves the status of an in-flight IP warmup, which must be a dedicated IP owned by the account.

Retrieves the status of an in-flight IP warmup, which must be a dedicated IP owned by the account.

认证

需要 Connected Account

Tags

IP Address Warmup
List account IPsMAILGUN_GET_V3_IPS`assignable_to_pool` in response lists which IPs can be assigned to DIPPs; this field is present only if the account has 'DIPPs' feature enabled. `total_count` contains the number of items returned in `items` (this depends on the filters applied).

`assignable_to_pool` in response lists which IPs can be assigned to DIPPs; this field is present only if the account has 'DIPPs' feature enabled. `total_count` contains the number of items returned in `items` (this depends on the filters applied).

认证

需要 Connected Account

Tags

IPs
Get DIPP spillover settings for an accountMAILGUN_GET_V3_IPS_ACCOUNT_SETTINGSThis endpoint retrieves the DIPP spillover settings for a specific account.

This endpoint retrieves the DIPP spillover settings for a specific account.

认证

需要 Connected Account

Tags

IPs
List account IPs - detailed viewMAILGUN_GET_V3_IPS_DETAILS_ALLList IPs belonging to the account and subaccounts. For IPs linked to subaccounts, there will be an additional record returned per subaccount The detailed IP view feature must be enabled for the account.

List IPs belonging to the account and subaccounts. For IPs linked to subaccounts, there will be an additional record returned per subaccount The detailed IP view feature must be enabled for the account.

认证

需要 Connected Account

Tags

IPs
Get the dedicated IP pool used for spillover for a domainMAILGUN_GET_V3_IPS_DOMAIN_NAMEThis endpoint retrieves the DIPP spillover settings for a specific domain.

This endpoint retrieves the DIPP spillover settings for a specific domain.

认证

需要 Connected Account

Tags

IPs
Get details about account IPMAILGUN_GET_V3_IPS_IPGet details about account IP

Get details about account IP

认证

需要 Connected Account

Tags

IPs
Get all domains of an account where a specific IP is assignedMAILGUN_GET_V3_IPS_IP_DOMAINSThe IP must belong to the account. Matching domains are ordered by increasing id, then the `limit` and `skip` parameters are applied. If the `search` parameter is present, it is used to limit the results to domains whose names match the search query. The search query is split into words by whitespace and punctuation, then the logical OR is applied.

The IP must belong to the account. Matching domains are ordered by increasing id, then the `limit` and `skip` parameters are applied. If the `search` parameter is present, it is used to limit the results to domains whose names match the search query. The search query is split into words by whitespace and punctuation, then the logical OR is applied.

认证

需要 Connected Account

Tags

IPs
Return the number of IPs available to the account per its billing planMAILGUN_GET_V3_IPS_REQUEST_NEWThis endpoint remains active for backwards compatibility. Do not use it in new code. Field `shared` in the response is deprecated and should not be used.

This endpoint remains active for backwards compatibility. Do not use it in new code. Field `shared` in the response is deprecated and should not be used.

认证

需要 Connected Account

Tags

IPs
Get mailing listsMAILGUN_GET_V3_LISTSA mailing list is a group of members (recipients) which itself has an email address. This address becomes an ID for this mailing list.

A mailing list is a group of members (recipients) which itself has an email address. This address becomes an ID for this mailing list.

认证

需要 Connected Account

Tags

Mailing Lists
Get a mailing list by addressMAILGUN_GET_V3_LISTS_ADDRESSReturns the matching mailing list for the given address

Returns the matching mailing list for the given address

认证

需要 Connected Account

Tags

Mailing Lists
Get mailing lists by pageMAILGUN_GET_V3_LISTS_PAGESPaginate over mailing lists

Paginate over mailing lists

认证

需要 Connected Account

Tags

Mailing Lists
Get all routesMAILGUN_GET_V3_ROUTESGet the list of routes. Note that routes are defined globally, per account, not per domain.

Get the list of routes. Note that routes are defined globally, per account, not per domain.

认证

需要 Connected Account

Tags

Routes
Get a routeMAILGUN_GET_V3_ROUTES_IDReturns a detailed view of the route

Returns a detailed view of the route

认证

需要 Connected Account

Tags

Routes
Match address to routeMAILGUN_GET_V3_ROUTES_MATCHChecks if an address matches at least one route.

Checks if an address matches at least one route.

认证

需要 Connected Account

Tags

Routes
Filtered/grouped totals for entire accountMAILGUN_GET_V3_STATS_FILTERGets filtered and group stat totals for an entire account

Gets filtered and group stat totals for an entire account

认证

需要 Connected Account

Tags

Stats
Totals for entire accountMAILGUN_GET_V3_STATS_TOTALGets stat totals for an entire account

Gets stat totals for an entire account

认证

需要 Connected Account

Tags

Stats
Totals for account domains for a single time resolutionMAILGUN_GET_V3_STATS_TOTAL_DOMAINSGets stat totals for domains in an account for a single time resolution

Gets stat totals for domains in an account for a single time resolution

认证

需要 Connected Account

Tags

Stats
Validate Address V4MAILGUN_GET_V4_ADDRESS_VALIDATEA single email address to validate.

A single email address to validate.

认证

需要 Connected Account

Tags

Validations
List List Health Preview JobsMAILGUN_GET_V4_ADDRESS_VALIDATE_PREVIEWAll list health preview jobs you have started.

All list health preview jobs you have started.

认证

需要 Connected Account

Tags

List Health Preview
Get List Health Preview JobMAILGUN_GET_V4_ADDRESS_VALIDATE_PREVIEW_LIST_IDA single list health preview job by ID.

A single list health preview job by ID.

认证

需要 Connected Account

Tags

List Health Preview
Get domainsMAILGUN_GET_V4_DOMAINSGet the list of domains. Can be filtered by state or authority. Sorting is optional. The list is paginated and limited to 1000 items per page.

Get the list of domains. Can be filtered by state or authority. Sorting is optional. The list is paginated and limited to 1000 items per page.

认证

需要 Connected Account

Tags

Domains
List domain keysMAILGUN_GET_V4_DOMAINS_AUTHORITY_NAME_KEYSList all domain keys for your domain, including active/inactive and valid/invalid ones.

List all domain keys for your domain, including active/inactive and valid/invalid ones.

认证

需要 Connected Account

Tags

Domain Keys
Get domain detailsMAILGUN_GET_V4_DOMAINS_NAMEFetches json representation of a domain that includes details about the domain's state and settings.

Fetches json representation of a domain that includes details about the domain's state and settings.

认证

需要 Connected Account

Tags

Domains
List Email ProvidersMAILGUN_GET_V4_INBOX_PROVIDERSList all available email providers.

List all available email providers.

认证

需要 Connected Account

Tags

Inbox Placement
List ResultsMAILGUN_GET_V4_INBOX_RESULTSGet the details for all placement test results.

Get the details for all placement test results.

认证

需要 Connected Account

Tags

Inbox Placement
List Available Attributes for ResultsMAILGUN_GET_V4_INBOX_RESULTS_AThe attributes that can have values listed (for autocomplete).

The attributes that can have values listed (for autocomplete).

认证

需要 Connected Account

Tags

Inbox Placement
Get List of Values for a Result AttributeMAILGUN_GET_V4_INBOX_RESULTS_A_ATTRIBUTEFor the given attribute list the known values (for autocomplete).

For the given attribute list the known values (for autocomplete).

认证

需要 Connected Account

Tags

Inbox Placement
List available filters for ResultsMAILGUN_GET_V4_INBOX_RESULTS_FILTERSThe filters that can be used when querying for results.

The filters that can be used when querying for results.

认证

需要 Connected Account

Tags

Inbox Placement
Get Result DetailsMAILGUN_GET_V4_INBOX_RESULTS_RESULTGet the details for a single result.

Get the details for a single result.

认证

需要 Connected Account

Tags

Inbox Placement
Get Result DetailsMAILGUN_GET_V4_INBOX_RESULTS_RESULT_IDGet the details for a single result.

Get the details for a single result.

认证

需要 Connected Account

Tags

Inbox Placement
List Seed ListsMAILGUN_GET_V4_INBOX_SEEDLISTSList Seed Lists

List Seed Lists

认证

需要 Connected Account

Tags

Inbox Placement
List Available Attributes for Seed ListsMAILGUN_GET_V4_INBOX_SEEDLISTS_AList Available Attributes for Seed Lists

List Available Attributes for Seed Lists

认证

需要 Connected Account

Tags

Inbox Placement
Get List of Values for Seed List AttributeMAILGUN_GET_V4_INBOX_SEEDLISTS_A_ATTRIBUTEGet List of Values for Seed List Attribute

Get List of Values for Seed List Attribute

认证

需要 Connected Account

Tags

Inbox Placement
Get Seed ListMAILGUN_GET_V4_INBOX_SEEDLISTS_ADDRESSGet Seed List

Get Seed List

认证

需要 Connected Account

Tags

Inbox Placement
Get List of Available Seed List FiltersMAILGUN_GET_V4_INBOX_SEEDLISTS_FILTERSGet List of Available Seed List Filters

Get List of Available Seed List Filters

认证

需要 Connected Account

Tags

Inbox Placement
Get Result by a Share IDMAILGUN_GET_V4_INBOX_SHARING_PUBLIC_SHAREIDGet a result by the share ID.

Get a result by the share ID.

认证

需要 Connected Account

Tags

Inbox Placement
Get Result Sharing StatusMAILGUN_GET_V4_INBOX_SHARING_RESULTThe sharing status of a result.

The sharing status of a result.

认证

需要 Connected Account

Tags

Inbox Placement
Get Result Sharing StatusMAILGUN_GET_V4_INBOX_SHARING_RESULT_IDThe sharing status of a result.

The sharing status of a result.

认证

需要 Connected Account

Tags

Inbox Placement
Get account-level templatesMAILGUN_GET_V4_TEMPLATESReturns a list of account-level templates.

Returns a list of account-level templates.

认证

需要 Connected Account

Tags

Account Templates
Get an account-level templateMAILGUN_GET_V4_TEMPLATES_TEMPLATE_NAMEReturns metadata information about the stored account-level template. If the active flag is provided, the content of the active version of the template is returned.

Returns metadata information about the stored account-level template. If the active flag is provided, the content of the active version of the template is returned.

认证

需要 Connected Account

Tags

Account Templates
Get all account-level template versionsMAILGUN_GET_V4_TEMPLATES_TEMPLATE_NAME_VERSIONSReturns a paginated list of versions for an account-level template.

Returns a paginated list of versions for an account-level template.

认证

需要 Connected Account

Tags

Account Templates
Get an account-level template versionMAILGUN_GET_V4_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAMERetrieve the information and content of the specified version of an account-level template.

Retrieve the information and content of the specified version of an account-level template.

认证

需要 Connected Account

Tags

Account Templates
Get webhook signing key saved on the accountMAILGUN_GET_V5_ACCOUNTS_HTTP_SIGNING_KEYGet webhook signing key saved on the account

Get webhook signing key saved on the account

认证

需要 Connected Account

Tags

Account Management
Get current custom sending limitMAILGUN_GET_V5_ACCOUNTS_LIMIT_CUSTOM_MONTHLYFetch the details of custom sending limit on the account

Fetch the details of custom sending limit on the account

认证

需要 Connected Account

Tags

Custom Message Limit
List all subaccountsMAILGUN_GET_V5_ACCOUNTS_SUBACCOUNTSFetch all subaccounts

Fetch all subaccounts

认证

需要 Connected Account

Tags

Subaccounts
List DIPPs delegated to subaccountsMAILGUN_GET_V5_ACCOUNTS_SUBACCOUNTS_IP_POOLS_ALL#### Description Lists all subaccounts of the parent account to which the parent account has delegated DIPPs.

#### Description Lists all subaccounts of the parent account to which the parent account has delegated DIPPs.

认证

需要 Connected Account

Tags

Delegated DIPPs
Get a single subaccountMAILGUN_GET_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_IDFetch the details of a single subaccount

Fetch the details of a single subaccount

认证

需要 Connected Account

Tags

Subaccounts
Get current custom sending limitMAILGUN_GET_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_LIMIT_CUSTOM_MONTHLYFetch the details of custom sending limit on the account

Fetch the details of custom sending limit on the account

认证

需要 Connected Account

Tags

Subaccounts
Get authorized email recipients for a sandbox domainMAILGUN_GET_V5_SANDBOX_AUTH_RECIPIENTSGet webhook signing key saved on the account

Get webhook signing key saved on the account

认证

需要 Connected Account

Tags

Account Management
Get users on an accountMAILGUN_GET_V5_USERSGet users on an account

Get users on an account

认证

需要 Connected Account

Tags

Users
Get one's own user detailsMAILGUN_GET_V5_USERS_MEGet one's own user details, requires use of an API key with a `user_id` saved on it, typically of 'web' kind

Get one's own user details, requires use of an API key with a `user_id` saved on it, typically of 'web' kind

认证

需要 Connected Account

Tags

Users
Get a user's detailsMAILGUN_GET_V5_USERS_USER_IDGet details for a user on the account

Get details for a user on the account

认证

需要 Connected Account

Tags

Users
Update pool IPsMAILGUN_PATCH_V3_DYNAMIC_POOLS_POOL_NAMEAdds and/or removes IPs to/from the specified dynamic IP pool. A given pool is required to have at least 1 IP that is not actively warming. Additionally, a single IP cannot be assigned to multiple dynamic pools.

Adds and/or removes IPs to/from the specified dynamic IP pool. A given pool is required to have at least 1 IP that is not actively warming. Additionally, a single IP cannot be assigned to multiple dynamic pools.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Edit DIPPMAILGUN_PATCH_V3_IP_POOLS_POOL_IDThe account must have 'DIPPs' feature enabled. It's not allowed to edit a DIPP inherited from the parent account. IPs being added to the DIPP must be dedicated ones and belong to the account. If IPs of the DIPP end up modified, and the DIPP is linked to domains, the domains will be updated asynchronously (after this endpoint returns response). Returns an error if the passed parameters won't result in any changes.

The account must have 'DIPPs' feature enabled. It's not allowed to edit a DIPP inherited from the parent account. IPs being added to the DIPP must be dedicated ones and belong to the account. If IPs of the DIPP end up modified, and the DIPP is linked to domains, the domains will be updated asynchronously (after this endpoint returns response). Returns an error if the passed parameters won't result in any changes.

认证

需要 Connected Account

Tags

IP Pools
Set or Modify the dedicated IP pool used for IP spilloverMAILGUN_PATCH_V3_IPS_ACCOUNT_SETTINGSThis endpoint allows you to set or update the DIPP spillover settings for an account . You can specify the ID of the IP pool that spillover IPs are assigned to. The IP pool must contain at least one fully warmed IP address to be valid. To disable DIPP spillover, set the pool_id to an empty string ("").

This endpoint allows you to set or update the DIPP spillover settings for an account . You can specify the ID of the IP pool that spillover IPs are assigned to. The IP pool must contain at least one fully warmed IP address to be valid. To disable DIPP spillover, set the pool_id to an empty string ("").

认证

需要 Connected Account

Tags

IPs
Set or modify the dediciated IP pool used for spillover for a domainMAILGUN_PATCH_V3_IPS_DOMAIN_NAMEThis endpoint allows you to set or update the DIPP spillover settings for a specific domain. You can specify the ID of the IP pool that spillover IPs are assigned to. The IP pool must contain at least one fully warmed IP address to be valild. To disable DIPP spillover, set the pool_id to an empty string ("").

This endpoint allows you to set or update the DIPP spillover settings for a specific domain. You can specify the ID of the IP pool that spillover IPs are assigned to. The IP pool must contain at least one fully warmed IP address to be valild. To disable DIPP spillover, set the pool_id to an empty string ("").

认证

需要 Connected Account

Tags

IPs
Update subaccount IP assignmentsMAILGUN_PATCH_V3_IPS_SUBACCOUNTS#### Description Links and/or unlinks dedicated IPs to/from one or more subaccounts in a single operation. IPs linked to subaccounts can be linked to subaccount domains and placed in subaccount IP pools. The account must have the centralized IP assignment feature enabled. Either subaccount_id (one or more) or all_subaccounts=true must be specified, but not both. When all_subaccounts=true or over 100 subaccounts are specified, the operation is applied to every subaccount asynchronously and the response will contain 'queued' instead of 'success'. Rules for linking an IP: The IP must be a dedicated IP belonging to the parent account. The IP must not be assigned to a Dynamic IP Pool on the parent account. Rules for unlinking an IP: The IP must not be assigned to any IP pools on the subaccount. The IP must not be assigned to any domains on the subaccount. #### Request Schema Request parameters are encoded as form data. Name | Description | Required | Type --- | --- | --- | --- subaccount_id | Id of a subaccount to update (may be specified multiple times). Required unless all_subaccounts is true. | false | string all_subaccounts | When true, applies the operation to all subaccounts of the parent account asynchronously. Cannot be combined with subaccount_id. | false | string link_ip | Dedicated IP address to link to the subaccount (may be specified multiple times) | false | string unlink_ip | Dedicated IP address to unlink from the subaccount (may be specified multiple times) | false | string

#### Description Links and/or unlinks dedicated IPs to/from one or more subaccounts in a single operation. IPs linked to subaccounts can be linked to subaccount domains and placed in subaccount IP pools. The account must have the centralized IP assignment feature enabled. Either subaccount_id (one or more) or all_subaccounts=true must be specified, but not both. When all_subaccounts=true or over 100 subaccounts are specified, the operation is applied to every subaccount asynchronously and the response will contain 'queued' instead of 'success'. Rules for linking an IP: The IP must be a dedicated IP belonging to the parent account. The IP must not be assigned to a Dynamic IP Pool on the parent account. Rules for unlinking an IP: The IP must not be assigned to any IP pools on the subaccount. The IP must not be assigned to any domains on the subaccount. #### Request Schema Request parameters are encoded as form data. Name | Description | Required | Type --- | --- | --- | --- subaccount_id | Id of a subaccount to update (may be specified multiple times). Required unless all_subaccounts is true. | false | string all_subaccounts | When true, applies the operation to all subaccounts of the parent account asynchronously. Cannot be combined with subaccount_id. | false | string link_ip | Dedicated IP address to link to the subaccount (may be specified multiple times) | false | string unlink_ip | Dedicated IP address to unlink from the subaccount (may be specified multiple times) | false | string

认证

需要 Connected Account

Tags

IPs
Bulk upload members to a mailing list (CSV)MAILGUN_POST_LISTS_LIST_ADDRESS_MEMBERS_CSVAdds multiple members, up to 1000 per call, to a mailing list via CSV file.

Adds multiple members, up to 1000 per call, to a mailing list via CSV file.

认证

需要 Connected Account

Tags

Mailing Lists
Bulk upload members to a mailing list (JSON)MAILGUN_POST_LISTS_LIST_ADDRESS_MEMBERS_JSONAdds multiple members, up to 1000 per call, to a mailing list, using JSON array format. If the request includes more than 100 entries, the mailing list will be updated asynchronously.

Adds multiple members, up to 1000 per call, to a mailing list, using JSON array format. If the request includes more than 100 entries, the mailing list will be updated asynchronously.

认证

需要 Connected Account

Tags

Mailing Lists
Create a mailing list memberMAILGUN_POST_LISTS_STRING_LIST_ADDRESS_MEMBERSAdds a new member to the mailing list. For adding many list members, consider bulk upload endpoints "POST /v3/lists/{list_address}/members.json" or "members.csv".

Adds a new member to the mailing list. For adding many list members, consider bulk upload endpoints "POST /v3/lists/{list_address}/members.json" or "members.csv".

认证

需要 Connected Account

Tags

Mailing Lists
Test messageMAILGUN_POST_V1_ALERTS_EMAIL_TESTSends test message to emails with dummy data.

Sends test message to emails with dummy data.

认证

需要 Connected Account

Tags

Alerts
Add AlertMAILGUN_POST_V1_ALERTS_SETTINGS_EVENTSUse this endpoint to add new alert settings record. This service facilitates notifications (Webhook, Slack, or Email) for both Mailgun Optimize and Send Alert threshold breaches. ### Webhooks This section covers details around consuming alerts via webhooks. If you are familiar with Mailgun Send webhooks (which provide status updates on individual email deliveries), there is a lot of overlapping similarity, however, there are also a few minor nuances to account for. #### Securing Webhooks HMAC is used to verify the integrity as well as the authenticity of received webhooks. To verify the origin of a webhook: 1. Encode the webhook’s entire POST request body with the HMAC algorithm (using your webhook signing key and SHA256 digest mode) 2. Compare the resulting hexdigest to the signature provided in the POST request’s X-Sign header. NOTE: If you’re consuming Mailgun Send webhooks, please note that your Mailgun Send webhook signing key differs from your Alerts webhook signing key. Your Alerts webhook signing keys, used for both Optimize and Send Alert products, are available within the Mailgun Alerts UI. #### Webhook URL Validation When adding or updating a webhook URL for alerts, we will ensure the endpoint is reachable by sending a GET request to the provided URL. If a 200 response is not returned from your endpoint, the request will be rejected and your alert setting will not be saved. We intentionally chose to send a GET request instead of a POST when validating URLs so that your webhook endpoint does not have to account for test requests. Additionally, when a POST request is sent to your webhook URL, if a 2xx is not returned, we will attempt retries via an exponential backoff strategy for up to ~8 hours. If the max retry count is reached, the alert will be disabled and the related alert settings record’s disabled_at field will be populated.

Use this endpoint to add new alert settings record. This service facilitates notifications (Webhook, Slack, or Email) for both Mailgun Optimize and Send Alert threshold breaches. ### Webhooks This section covers details around consuming alerts via webhooks. If you are familiar with Mailgun Send webhooks (which provide status updates on individual email deliveries), there is a lot of overlapping similarity, however, there are also a few minor nuances to account for. #### Securing Webhooks HMAC is used to verify the integrity as well as the authenticity of received webhooks. To verify the origin of a webhook: 1. Encode the webhook’s entire POST request body with the HMAC algorithm (using your webhook signing key and SHA256 digest mode) 2. Compare the resulting hexdigest to the signature provided in the POST request’s X-Sign header. NOTE: If you’re consuming Mailgun Send webhooks, please note that your Mailgun Send webhook signing key differs from your Alerts webhook signing key. Your Alerts webhook signing keys, used for both Optimize and Send Alert products, are available within the Mailgun Alerts UI. #### Webhook URL Validation When adding or updating a webhook URL for alerts, we will ensure the endpoint is reachable by sending a GET request to the provided URL. If a 200 response is not returned from your endpoint, the request will be rejected and your alert setting will not be saved. We intentionally chose to send a GET request instead of a POST when validating URLs so that your webhook endpoint does not have to account for test requests. Additionally, when a POST request is sent to your webhook URL, if a 2xx is not returned, we will attempt retries via an exponential backoff strategy for up to ~8 hours. If the max retry count is reached, the alert will be disabled and the related alert settings record’s disabled_at field will be populated.

认证

需要 Connected Account

Tags

Alerts
Test messageMAILGUN_POST_V1_ALERTS_SLACK_TESTSends test message to slack channels with dummy data.

Sends test message to slack channels with dummy data.

认证

需要 Connected Account

Tags

Alerts
Test webhookMAILGUN_POST_V1_ALERTS_WEBHOOKS_TESTSends test webhook request to specified url with dummy data.

Sends test webhook request to specified url with dummy data.

认证

需要 Connected Account

Tags

Alerts
List logsMAILGUN_POST_V1_ANALYTICS_LOGSGets customer event logs for an account

Gets customer event logs for an account

认证

需要 Connected Account

Tags

Logs
Query account metricsMAILGUN_POST_V1_ANALYTICS_METRICSQueries filtered metrics for an account

Queries filtered metrics for an account

认证

需要 Connected Account

Tags

Metrics
Post query to list account tags or search for single tagMAILGUN_POST_V1_ANALYTICS_TAGSGets the list of all tags, or filtered by tag prefix, for an account

Gets the list of all tags, or filtered by tag prefix, for an account

认证

需要 Connected Account

Tags

Tags New
Query account usage metricsMAILGUN_POST_V1_ANALYTICS_USAGE_METRICSQueries filtered usage metrics for an account

Queries filtered usage metrics for an account

认证

需要 Connected Account

Tags

Metrics
Create a domain keyMAILGUN_POST_V1_DKIM_KEYSCreate a domain key. Note that once private keys are created or imported they are never exported. Alternatively, you can import an existing PEM file containing a RSA private key in PKCS #1, ASn.1 DER format. Note, the pem can be passed as a file attachment or as a form-string parameter.

Create a domain key. Note that once private keys are created or imported they are never exported. Alternatively, you can import an existing PEM file containing a RSA private key in PKCS #1, ASn.1 DER format. Note, the pem can be passed as a file attachment or as a form-string parameter.

认证

需要 Connected Account

Tags

Domain Keys
Rotate Automatic Sender Security DKIM key for a domainMAILGUN_POST_V1_DKIM_MANAGEMENT_DOMAINS_NAME_ROTATEImmediately rotate your DKIM key. This will trigger a rotation even if auto-rotation is disabled on the domain.

Immediately rotate your DKIM key. This will trigger a rotation even if auto-rotation is disabled on the domain.

认证

需要 Connected Account

Tags

DKIM Security
Gets referral link to redsiftMAILGUN_POST_V1_DMARC_REFERRALGets referral link to redsift

Gets referral link to redsift

认证

需要 Connected Account

Tags

DMARC Reports
Add a single domain to an accountMAILGUN_POST_V1_INBOXREADY_DOMAINSAdd a single domain to an account

Add a single domain to an account

认证

需要 Connected Account

Tags

Domains
Register an IP addressMAILGUN_POST_V1_INBOXREADY_IP_ADDRESSESRegister an IP address

Register an IP address

认证

需要 Connected Account

Tags

IP Blocklist Monitoring
Create Accessibility TestMAILGUN_POST_V1_INSPECT_ACCESSIBILITYThis endpoint allows users to submit an accessibility test for processing. It accepts a set of HTML content, processes it for accessibility issues, and returns a unique job ID for tracking the status of the test. The status of the job will display in the meta object, with a status of 'Processing'.

This endpoint allows users to submit an accessibility test for processing. It accepts a set of HTML content, processes it for accessibility issues, and returns a unique job ID for tracking the status of the test. The status of the job will display in the meta object, with a status of 'Processing'.

认证

需要 Connected Account

Tags

Accessibility
Create a Code Analysis TestMAILGUN_POST_V1_INSPECT_ANALYZECreate a code analysis test to analyze HTML content for email client feature compatibility.

Create a code analysis test to analyze HTML content for email client feature compatibility.

认证

需要 Connected Account

Tags

Code Analysis
Create New Code Analysis VersionMAILGUN_POST_V1_INSPECT_ANALYZE_TEST_IDCreates a new version of an existing code analysis test with incremented version number.

Creates a new version of an existing code analysis test with incremented version number.

认证

需要 Connected Account

Tags

Code Analysis
Update Resolved StatusMAILGUN_POST_V1_INSPECT_ANALYZE_TEST_ID_RESOLVE_IDUpdates the resolved status of a specific instance within a feature in the latest version of a test.

Updates the resolved status of a specific instance within a feature in the latest version of a test.

认证

需要 Connected Account

Tags

Code Analysis
Create an Image Validation TestMAILGUN_POST_V1_INSPECT_IMAGESCreate an image validation test.

Create an image validation test.

认证

需要 Connected Account

Tags

Image Validation
Create an Image Validation Test by HTMLMAILGUN_POST_V1_INSPECT_IMAGES_HTML_VALIDATECreate an image validation test with HTML

Create an image validation test with HTML

认证

需要 Connected Account

Tags

Image Validation
Optimize Images By Test IDMAILGUN_POST_V1_INSPECT_IMAGES_ID_OPTIMIZEOptimizes images by test id

Optimizes images by test id

认证

需要 Connected Account

Tags

Image Validation
Optimize Single Image By Test IDMAILGUN_POST_V1_INSPECT_IMAGES_ID_OPTIMIZE_IMAGE_IDOptimizes a single image by test id

Optimizes a single image by test id

认证

需要 Connected Account

Tags

Image Validation
Reprocess Image Validation TestMAILGUN_POST_V1_INSPECT_IMAGES_ID_REPROCESSReprocess an image validation test.

Reprocess an image validation test.

认证

需要 Connected Account

Tags

Image Validation
Create an Image Validation Test by Image UploadMAILGUN_POST_V1_INSPECT_IMAGES_UPLOADCreate an image validation test by image upload

Create an image validation test by image upload

认证

需要 Connected Account

Tags

Image Validation
Create a Link Validation TestMAILGUN_POST_V1_INSPECT_LINKSCreate a link validation test.

Create a link validation test.

认证

需要 Connected Account

Tags

Link Validation
Create a Link Validation Test from an html inputMAILGUN_POST_V1_INSPECT_LINKS_HTML_VALIDATECreate a link validation test from an HTML input.

Create a link validation test from an HTML input.

认证

需要 Connected Account

Tags

Link Validation
Reprocess Link Validation TestMAILGUN_POST_V1_INSPECT_LINKS_IDReprocess a link validation test.

Reprocess a link validation test.

认证

需要 Connected Account

Tags

Link Validation
Validates link test results against the provided spreadsheet fileMAILGUN_POST_V1_INSPECT_LINKS_ID_CSVCompares link validation test results to the spreadsheet provided as a CSV, XLS or XLSX file.

Compares link validation test results to the spreadsheet provided as a CSV, XLS or XLSX file.

认证

需要 Connected Account

Tags

Link Validation
Create Spam Test (V1)MAILGUN_POST_V1_INSPECT_SPAMInitiates an inbox placement test with subject and HTML provided directly in the request body. Returns immediately with status=processing; poll GET using the Retry-After interval.

Initiates an inbox placement test with subject and HTML provided directly in the request body. Returns immediately with status=processing; poll GET using the Retry-After interval.

认证

需要 Connected Account

Tags

Spam Testing
Create Mailgun API keyMAILGUN_POST_V1_KEYSCreate Mailgun API key

Create Mailgun API key

认证

需要 Connected Account

Tags

Keys
Regenerate Mailgun Public API keyMAILGUN_POST_V1_KEYS_PUBLICRegenerate Mailgun Public API key

Regenerate Mailgun Public API key

认证

需要 Connected Account

Tags

Keys
Generate Preview AddressMAILGUN_POST_V1_PREVIEW_ADDRESSReturns or generates an account's email preview address.

Returns or generates an account's email preview address.

认证

需要 Connected Account

Tags

Email Preview
Create PreviewShareMAILGUN_POST_V1_PREVIEW_SHARINGCreate a shareable link to an email preview test.

Create a shareable link to an email preview test.

认证

需要 Connected Account

Tags

Email Preview
Rotate PreviewShareMAILGUN_POST_V1_PREVIEW_SHARING_TEST_ID_ROTATERe-generates the uuid and share url, and resets the expiration.

Re-generates the uuid and share url, and resets the expiration.

认证

需要 Connected Account

Tags

Email Preview
Create Emailpreview TestMAILGUN_POST_V1_PREVIEW_TESTSCreates a new email preview test.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/POST-v2-preview-tests)._

Creates a new email preview test.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/POST-v2-preview-tests)._

认证

需要 Connected Account

Tags

Email Preview
Create a send alert for an accountMAILGUN_POST_V1_THRESHOLDS_ALERTS_SENDCreate a send alert for an account

Create a send alert for an account

认证

需要 Connected Account

Tags

Send Alerts
Create a limit threshold for an accountMAILGUN_POST_V1_THRESHOLDS_LIMITSCreate a limit threshold for an account

Create a limit threshold for an account

认证

需要 Connected Account

Tags

Limits
Create an account-level webhookMAILGUN_POST_V1_WEBHOOKSCreate account-level webhook URLs to receive Mailgun's POST requests containing event information across all domains in your account. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

Create account-level webhook URLs to receive Mailgun's POST requests containing event information across all domains in your account. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

认证

需要 Connected Account

Tags

Account Webhooks
List statistic v2MAILGUN_POST_V2_BOUNCE_CLASSIFICATION_METRICSItems that have no bounces and no delays(classified_failures_count==0) are not returned.

Items that have no bounces and no delays(classified_failures_count==0) are not returned.

认证

需要 Connected Account

Tags

Bounce Classification
Add Mailgun account IP allowlist entryMAILGUN_POST_V2_IP_WHITELISTAdd Mailgun account IP allowlist entry

Add Mailgun account IP allowlist entry

认证

需要 Connected Account

Tags

IP Allowlist
Generate Preview AddressMAILGUN_POST_V2_PREVIEW_ADDRESSReturns or generates an account's email preview address.

Returns or generates an account's email preview address.

认证

需要 Connected Account

Tags

Email Preview
Create Email Preview Test V2MAILGUN_POST_V2_PREVIEW_TESTSThis call creates a new email test and submits it to our system for processing.<br>All requests must contain a subject property and one source property (either html or url). All other properties are optional. In the following table, each property and its default value is shown. <br>If content-checking variables (such as those for link validation, image validation, or accessibility) are set in the body of the request, the endpoint will run content-checking on the email content. <br>The response will include an id property that should be used to request the results or trigger further processes on the email content.<br>For enterprise customers, the response will also include the customer_id and reference_id that were submitted with the test.

This call creates a new email test and submits it to our system for processing.<br>All requests must contain a subject property and one source property (either html or url). All other properties are optional. In the following table, each property and its default value is shown. <br>If content-checking variables (such as those for link validation, image validation, or accessibility) are set in the body of the request, the endpoint will run content-checking on the email content. <br>The response will include an id property that should be used to request the results or trigger further processes on the email content.<br>For enterprise customers, the response will also include the customer_id and reference_id that were submitted with the test.

认证

需要 Connected Account

Tags

Email Preview
Create Export Job for Email Preview Test ScreenshotsMAILGUN_POST_V2_PREVIEW_TESTS_TEST_ID_EXPORTSInitiates an export job that collects screenshots for a specified Email Preview Test. Provide the list of client IDs whose screenshots you want to export. The job status can be monitored using the job ID returned in the response.

Initiates an export job that collects screenshots for a specified Email Preview Test. Provide the list of client IDs whose screenshots you want to export. The job status can be monitored using the job ID returned in the response.

认证

需要 Connected Account

Tags

Email Preview
Tracking Certificate: GenerateMAILGUN_POST_V2_X509_DOMAINInitiates generation of a TLS certificate for the tracking domain in a background task. Once generation is enqueued, you may poll the status endpoint in `location` field to check for success

Initiates generation of a TLS certificate for the tracking domain in a background task. Once generation is enqueued, you may poll the status endpoint in `location` field to check for success

认证

需要 Connected Account

Tags

Domain Tracking
Parse AddressesMAILGUN_POST_V3_ADDRESS_PARSEParses a list of comma separated addresses and optionally perform light weight validation of addresses.

Parses a list of comma separated addresses and optionally perform light weight validation of addresses.

认证

需要 Connected Account

Tags

openapi-validations_other
Parse AddressesMAILGUN_POST_V3_ADDRESS_PRIVATE_PARSEParses a list of comma separated addresses and optionally perform light weight validation of addresses.

Parses a list of comma separated addresses and optionally perform light weight validation of addresses.

认证

需要 Connected Account

Tags

openapi-validations_other
Validate Address V3MAILGUN_POST_V3_ADDRESS_PRIVATE_VALIDATEA single email address to validate.

A single email address to validate.

认证

需要 Connected Account

Tags

openapi-validations_other
Validate Address V3MAILGUN_POST_V3_ADDRESS_VALIDATEA single email address to validate.

A single email address to validate.

认证

需要 Connected Account

Tags

openapi-validations_other
Add bouncesMAILGUN_POST_V3_DOMAIN_ID_BOUNCESRequest body is expected to be a valid JSON encoded sting containing up to 1000 bounce records or a single bounce record as application/form-data

Request body is expected to be a valid JSON encoded sting containing up to 1000 bounce records or a single bounce record as application/form-data

认证

需要 Connected Account

Tags

Bounces
Import list of bouncesMAILGUN_POST_V3_DOMAIN_ID_BOUNCES_IMPORTImport a CSV file containing a list of addresses to add to the bounce list. The CSV file must be 25MB or under and must contain the following column headers: address, code, error, created_at. address is a valid email address. code is error code (optional, default: 550). error is error description (optional, default: empty string). created_at is timestamp of bounce event in RFC2822 format (optional, default: current time)

Import a CSV file containing a list of addresses to add to the bounce list. The CSV file must be 25MB or under and must contain the following column headers: address, code, error, created_at. address is a valid email address. code is error code (optional, default: 550). error is error description (optional, default: empty string). created_at is timestamp of bounce event in RFC2822 format (optional, default: current time)

认证

需要 Connected Account

Tags

Bounces
Add complaintsMAILGUN_POST_V3_DOMAIN_ID_COMPLAINTSRequest body is expected to be a valid JSON encoded sting containing up to 1000 complaint records or a single complaint record as application/form-data

Request body is expected to be a valid JSON encoded sting containing up to 1000 complaint records or a single complaint record as application/form-data

认证

需要 Connected Account

Tags

Complaints
Import complaint listMAILGUN_POST_V3_DOMAIN_ID_COMPLAINTS_IMPORTImport a CSV file containing a list of addresses to add to the complaint list. The CSV file must be 25MB or under and can contain the following column headers: address, created_at. address is a valid email address (required). created_at is timestamp of complaint event in RFC2822 format (optional, default: current time)

Import a CSV file containing a list of addresses to add to the complaint list. The CSV file must be 25MB or under and can contain the following column headers: address, created_at. address is a valid email address (required). created_at is timestamp of complaint event in RFC2822 format (optional, default: current time)

认证

需要 Connected Account

Tags

Complaints
Add unsubscribesMAILGUN_POST_V3_DOMAIN_ID_UNSUBSCRIBESRequest body is expected to be a valid JSON encoded sting containing up to 1000 unsubscribe records or a single unsubscribe record as application/form-data

Request body is expected to be a valid JSON encoded sting containing up to 1000 unsubscribe records or a single unsubscribe record as application/form-data

认证

需要 Connected Account

Tags

Unsubscribe
Import unsubscribe listMAILGUN_POST_V3_DOMAIN_ID_UNSUBSCRIBES_IMPORTImport a CSV file containing a list of addresses to add to the unsubscribe list. The CSV file must be 25MB or under and can contain the following column headers: address, tags, created_at. address is a valid email address (required). tags is tag to unsubscribe from, use * to unsubscribe an address from all domain's correspondence (optional, default: *). created_at is timestamp of unsubscribe event in RFC2822 format (optional, default: current time)

Import a CSV file containing a list of addresses to add to the unsubscribe list. The CSV file must be 25MB or under and can contain the following column headers: address, tags, created_at. address is a valid email address (required). tags is tag to unsubscribe from, use * to unsubscribe an address from all domain's correspondence (optional, default: *). created_at is timestamp of unsubscribe event in RFC2822 format (optional, default: current time)

认证

需要 Connected Account

Tags

Unsubscribe
Add allowlist recordMAILGUN_POST_V3_DOMAIN_ID_WHITELISTSAdd an address or domain to the allowlist table

Add an address or domain to the allowlist table

认证

需要 Connected Account

Tags

Allowlist
Import allowlistMAILGUN_POST_V3_DOMAIN_ID_WHITELISTS_IMPORTImport a CSV file containing a list of addresses and/or domains to add to the allowlist. The CSV file must be 25MB or under and must contain the following column headers: address, domain. For each row provide either an address or a domain, but not both - choose one, keep the other blank.

Import a CSV file containing a list of addresses and/or domains to add to the allowlist. The CSV file must be 25MB or under and must contain the following column headers: address, domain. For each row provide either an address or a domain, but not both - choose one, keep the other blank.

认证

需要 Connected Account

Tags

Allowlist
Send an emailMAILGUN_POST_V3_DOMAIN_NAME_MESSAGESPass the components of the messages such as To, From, Subject, HTML, text parts, attachments, etc. Mailgun will build a MIME representation of the message and send it. In order to send you must provide one of the following parameters: 'text', 'html', 'amp-html' or 'template'. Important: Send options (parameters starting with o:, h:, v:, or t:) are limited to 16KB total

Pass the components of the messages such as To, From, Subject, HTML, text parts, attachments, etc. Mailgun will build a MIME representation of the message and send it. In order to send you must provide one of the following parameters: 'text', 'html', 'amp-html' or 'template'. Important: Send options (parameters starting with o:, h:, v:, or t:) are limited to 16KB total

认证

需要 Connected Account

Tags

Messages
Send an email in MIME formatMAILGUN_POST_V3_DOMAIN_NAME_MESSAGES_MIMEBuild a MIME string yourself using a MIME library and submit it to Mailgun. Important: Send options (parameters starting with o:, h:, v:, or t:) are limited to 16KB total

Build a MIME string yourself using a MIME library and submit it to Mailgun. Important: Send options (parameters starting with o:, h:, v:, or t:) are limited to 16KB total

认证

需要 Connected Account

Tags

Messages
Create a templateMAILGUN_POST_V3_DOMAIN_NAME_TEMPLATESStore a new template, including its name, description and (optionally) the template content. If the template content is provided, a new version is automatically created and becomes the active version.

Store a new template, including its name, description and (optionally) the template content. If the template content is provided, a new version is automatically created and becomes the active version.

认证

需要 Connected Account

Tags

Domain Templates
Create a template versionMAILGUN_POST_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_VERSIONSAdds a new template version. If the template doesn’t contain any other versions, the first version becomes active. A template can store up to 40 versions.

Adds a new template version. If the template doesn’t contain any other versions, the first version becomes active. A template can store up to 40 versions.

认证

需要 Connected Account

Tags

Domain Templates
Enroll all account domainsMAILGUN_POST_V3_DOMAINS_ALL_DYNAMIC_POOLS_ENROLLBegins an asynchronous background job to assign all domains to Dynamic IP Pools. This can also include domains belonging to subaccounts depending on the provided parameters. The Dynamic IP Pools feature must be enabled for the account and the request must come from a parent account user.

Begins an asynchronous background job to assign all domains to Dynamic IP Pools. This can also include domains belonging to subaccounts depending on the provided parameters. The Dynamic IP Pools feature must be enabled for the account and the request must come from a parent account user.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Create Mailgun SMTP credentials for a given domainMAILGUN_POST_V3_DOMAINS_DOMAIN_NAME_CREDENTIALSCreate Mailgun SMTP credentials for a given domain

Create Mailgun SMTP credentials for a given domain

认证

需要 Connected Account

Tags

Credentials
Resend an emailMAILGUN_POST_V3_DOMAINS_DOMAIN_NAME_MESSAGES_STORAGE_KEYResend an email

Resend an email

认证

需要 Connected Account

Tags

Messages
Create a domain webhookMAILGUN_POST_V3_DOMAINS_DOMAIN_WEBHOOKSCreate a list of webhook URLs you'd like to receive Mailgun's POST requests containing event information.

Create a list of webhook URLs you'd like to receive Mailgun's POST requests containing event information.

认证

需要 Connected Account

Tags

Domain Webhooks
Enroll domainMAILGUN_POST_V3_DOMAINS_NAME_DYNAMIC_POOLSDomains enrolled in the Dynamic IP pools feature will be assigned an IP pool based on reputation. The feature must be enabled and configured before enrolling domains.

Domains enrolled in the Dynamic IP pools feature will be assigned an IP pool based on reputation. The feature must be enabled and configured before enrolling domains.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Initialize/set IPs for all poolsMAILGUN_POST_V3_DYNAMIC_POOLS_ALLAny existing IPs in dynamic IP pools will be replaced. All IPs must be dedicated IPs and belong to the account. Additionally, each dynamic IP pool must contain at least 1 IP that is not currently warming.

Any existing IPs in dynamic IP pools will be replaced. All IPs must be dedicated IPs and belong to the account. Additionally, each dynamic IP pool must contain at least 1 IP that is not currently warming.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Add IP to Dynamic IP PoolMAILGUN_POST_V3_DYNAMIC_POOLS_POOL_NAME_IPAdds a given IP to a Dynamic IP Pool. The IP must be dedicated and belong to the account.

Adds a given IP to a Dynamic IP Pool. The IP must be dedicated and belong to the account.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Create a forward ruleMAILGUN_POST_V3_FORWARDS### Examples You can add multiple email recipients by including the 'forward.recipient' parameter multiple times up to a maximum of 5. ``` $ curl -X POST https://api.mailgun.net/v3/forwards -F match='[email protected]' -F [email protected] -F [email protected] ``` The `match` parameter can contain a wild card expression ``` $ curl -X POST https://api.mailgun.net/v3/forwards -F match='match*@mg.example.com' -F [email protected] ``` Rules only support `*` or literal characters where `*` matches any sequence of characters. So `a.*@example.com` matches email addresses that start with `a.` not email addresses that start with `a` like a regex match would.

### Examples You can add multiple email recipients by including the 'forward.recipient' parameter multiple times up to a maximum of 5. ``` $ curl -X POST https://api.mailgun.net/v3/forwards -F match='[email protected]' -F [email protected] -F [email protected] ``` The `match` parameter can contain a wild card expression ``` $ curl -X POST https://api.mailgun.net/v3/forwards -F match='match*@mg.example.com' -F [email protected] ``` Rules only support `*` or literal characters where `*` matches any sequence of characters. So `a.*@example.com` matches email addresses that start with `a.` not email addresses that start with `a` like a regex match would.

认证

需要 Connected Account

Tags

Forwards
Add a new DIPP to the accountMAILGUN_POST_V3_IP_POOLSThe account must have 'DIPPs' feature enabled. Returns the id of the newly created DIPP.

The account must have 'DIPPs' feature enabled. Returns the id of the newly created DIPP.

认证

需要 Connected Account

Tags

IP Pools
Add multiple IPs to the DIPPMAILGUN_POST_V3_IP_POOLS_POOL_ID_IPS_JSONThe account must have 'DIPPs' feature enabled. It is not allowed to modify a DIPP inherited from the parent account. All IPs must be dedicated ones, belong to the account and not belong to any other DIPP. All domains linked to the DIPP will be updated so that their IPs include the newly added addresses. If the DIPP is delegated to subaccounts, those will also be updated. The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

The account must have 'DIPPs' feature enabled. It is not allowed to modify a DIPP inherited from the parent account. All IPs must be dedicated ones, belong to the account and not belong to any other DIPP. All domains linked to the DIPP will be updated so that their IPs include the newly added addresses. If the DIPP is delegated to subaccounts, those will also be updated. The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

认证

需要 Connected Account

Tags

IP Pools
Creates a warmup plan for an IP AddressMAILGUN_POST_V3_IP_WARMUPS_ADDRCreates a new warmup plan for an IP address. The IP must be dedicated and owned by the account.

Creates a new warmup plan for an IP address. The IP must be dedicated and owned by the account.

认证

需要 Connected Account

Tags

IP Address Warmup
Place account IP into a dedicated IP bandMAILGUN_POST_V3_IPS_ADDR_IP_BANDThe `Dedicated IP Bands` feature must be enabled for the account. The IP must be a dedicated one belonging to the account.

The `Dedicated IP Bands` feature must be enabled for the account. The IP must be a dedicated one belonging to the account.

认证

需要 Connected Account

Tags

IPs
Assign an IP to all account domainsMAILGUN_POST_V3_IPS_IP_DOMAINSThe IP must belong to the account.

The IP must belong to the account.

认证

需要 Connected Account

Tags

IPs
Add a new dedicated IP to the accountMAILGUN_POST_V3_IPS_REQUEST_NEWA new IP can be assigned only if billing limits allow that.

A new IP can be assigned only if billing limits allow that.

认证

需要 Connected Account

Tags

IPs
Create a mailing listMAILGUN_POST_V3_LISTSAdds a mailing list to the account.

Adds a mailing list to the account.

认证

需要 Connected Account

Tags

Mailing Lists
Create a routeMAILGUN_POST_V3_ROUTESAdds a new route to the account

Adds a new route to the account

认证

需要 Connected Account

Tags

Routes
Create Bulk JobMAILGUN_POST_V4_ADDRESS_VALIDATE_BULK_LIST_IDValidate a full list of addresses.

Validate a full list of addresses.

认证

需要 Connected Account

Tags

Bulk Validations
Create a List Health Preview JobMAILGUN_POST_V4_ADDRESS_VALIDATE_PREVIEW_LIST_IDStart a list health preview job from a list of addresses. We will sample the list and run validations on a small percentage.

Start a list health preview job from a list of addresses. We will sample the list and run validations on a small percentage.

认证

需要 Connected Account

Tags

List Health Preview
Create a domainMAILGUN_POST_V4_DOMAINSCreates a domain for sending emails

Creates a domain for sending emails

认证

需要 Connected Account

Tags

Domains
Create domain webhooks (v4)MAILGUN_POST_V4_DOMAINS_DOMAIN_WEBHOOKSCreate webhook URLs for multiple event types in a single operation. This v4 endpoint allows associating one URL with multiple webhook event types.

Create webhook URLs for multiple event types in a single operation. This v4 endpoint allows associating one URL with multiple webhook event types.

认证

需要 Connected Account

Tags

Domain Webhooks
Generate a New Seed ListMAILGUN_POST_V4_INBOX_SEEDLISTSGenerate a New Seed List

Generate a New Seed List

认证

需要 Connected Account

Tags

Inbox Placement
Run Inbox Placement TestMAILGUN_POST_V4_INBOX_TESTSCreate and run a new inbox placement test. Either 'html' or 'template_name' field should be provided. 'variables' are [Template variables](https://documentation.mailgun.com/docs/mailgun/user-manual/sending-messages/send-templates), 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%.

Create and run a new inbox placement test. Either 'html' or 'template_name' field should be provided. 'variables' are [Template variables](https://documentation.mailgun.com/docs/mailgun/user-manual/sending-messages/send-templates), 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%.

认证

需要 Connected Account

Tags

Inbox Placement
Create an account-level templateMAILGUN_POST_V4_TEMPLATESStore a new account-level template that is available across all domains for the account. Include the template name, description and (optionally) the template content. If the template content is provided, a new version is automatically created and becomes the active version.

Store a new account-level template that is available across all domains for the account. Include the template name, description and (optionally) the template content. If the template content is provided, a new version is automatically created and becomes the active version.

认证

需要 Connected Account

Tags

Account Templates
Create an account-level template versionMAILGUN_POST_V4_TEMPLATES_TEMPLATE_NAME_VERSIONSAdds a new version to an account-level template. If the template doesn't contain any other versions, the first version becomes active. A template can store up to 40 versions.

Adds a new version to an account-level template. If the template doesn't contain any other versions, the first version becomes active. A template can store up to 40 versions.

认证

需要 Connected Account

Tags

Account Templates
Create or regenerate webhook signing key on an accountMAILGUN_POST_V5_ACCOUNTS_HTTP_SIGNING_KEYCreate or regenerate webhook signing key on an account

Create or regenerate webhook signing key on an account

认证

需要 Connected Account

Tags

Account Management
Resend account activation email to the account ownerMAILGUN_POST_V5_ACCOUNTS_RESEND_ACTIVATION_EMAILResend account activation email to the account owner

Resend account activation email to the account owner

认证

需要 Connected Account

Tags

Account Management
Create a subaccountMAILGUN_POST_V5_ACCOUNTS_SUBACCOUNTSCreate a subaccount

Create a subaccount

认证

需要 Connected Account

Tags

Subaccounts
Disable a subaccountMAILGUN_POST_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_DISABLEDisable a subaccount

Disable a subaccount

认证

需要 Connected Account

Tags

Subaccounts
Enable a subaccountMAILGUN_POST_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_ENABLEEnable a subaccount

Enable a subaccount

认证

需要 Connected Account

Tags

Subaccounts
Add authorized email recipient for a sandbox domainMAILGUN_POST_V5_SANDBOX_AUTH_RECIPIENTSAdd authorized email recipient for a sandbox domain

Add authorized email recipient for a sandbox domain

认证

需要 Connected Account

Tags

Account Management
Update a mailing list memberMAILGUN_PUT_LISTS_LIST_ADDRESS_MEMBERS_MEMBER_ADDRESSUpdates a mailing list member with the given properties. Existing properties not included in the request will not be changed.

Updates a mailing list member with the given properties. Existing properties not included in the request will not be changed.

认证

需要 Connected Account

Tags

Mailing Lists
Update AlertMAILGUN_PUT_V1_ALERTS_SETTINGS_EVENTS_IDUse this endpoint to update an existing alert setting record. NOTE: When updating a webhook alert, we will ensure the endpoint is reachable by sending a GET request to the provided URL. If a 200 response is not returned, a 400 will be returned and the alert setting update will be rejected.

Use this endpoint to update an existing alert setting record. NOTE: When updating a webhook alert, we will ensure the endpoint is reachable by sending a GET request to the provided URL. If a 200 response is not returned, a 400 will be returned and the alert setting update will be rejected.

认证

需要 Connected Account

Tags

Alerts
Update Slack settingsMAILGUN_PUT_V1_ALERTS_SETTINGS_SLACKUpdate Slack settings

Update Slack settings

认证

需要 Connected Account

Tags

Alerts
Reset Webhook Signing KeyMAILGUN_PUT_V1_ALERTS_SETTINGS_WEBHOOKS_SIGNING_KEYReset Webhook Signing Key

Reset Webhook Signing Key

认证

需要 Connected Account

Tags

Alerts
Update account tagMAILGUN_PUT_V1_ANALYTICS_TAGSUpdates the tag description for an account

Updates the tag description for an account

认证

需要 Connected Account

Tags

Tags New
Update Automatic Sender Security DKIM key rotation for a domainMAILGUN_PUT_V1_DKIM_MANAGEMENT_DOMAINS_NAME_ROTATIONThe minimum allowed interval for rotation is 5 days.

The minimum allowed interval for rotation is 5 days.

认证

需要 Connected Account

Tags

DKIM Security
Override domain assignmentMAILGUN_PUT_V1_DYNAMIC_POOLS_DOMAINS_NAME_OVERRIDEOverrides a domain's dynamic IP pool assignment. A domain's pool will not be updated by health checks while an override is present.

Overrides a domain's dynamic IP pool assignment. A domain's pool will not be updated by health checks while an override is present.

认证

需要 Connected Account

Tags

Dynamic IP Pools
Queues a domain to be processed for verificationMAILGUN_PUT_V1_INBOXREADY_DOMAINS_VERIFYQueues a domain to be processed for verification

Queues a domain to be processed for verification

认证

需要 Connected Account

Tags

Domains
Update the IP addressMAILGUN_PUT_V1_INBOXREADY_IP_ADDRESSES_IPUpdate the IP address

Update the IP address

认证

需要 Connected Account

Tags

IP Blocklist Monitoring
Update PreviewShareMAILGUN_PUT_V1_PREVIEW_SHARING_TEST_IDUpdates PreviewShare record enabled field.

Updates PreviewShare record enabled field.

认证

需要 Connected Account

Tags

Email Preview
Reprocess Emailpreview TestMAILGUN_PUT_V1_PREVIEW_TESTS_TEST_ID_RESULTS_REPROCESSReprocesses the test for the passed clients.

Reprocesses the test for the passed clients.

认证

需要 Connected Account

Tags

Email Preview
Update a send alertMAILGUN_PUT_V1_THRESHOLDS_ALERTS_SEND_NAMEUpdates the configuration of an existing send alert. NOTE: This endpoint performs a full replacement (PUT) of the alert resource. To update specific fields like 'alert_channels' without losing existing configuration, you should first fetch the current alert object via a GET request. Use the attributes from the existing alert to populate the request body, modifying only the 'alert_channels' array (or other desired fields) before sending the PUT request. Omitting existing attributes may result in validation errors or the loss of current settings.

Updates the configuration of an existing send alert. NOTE: This endpoint performs a full replacement (PUT) of the alert resource. To update specific fields like 'alert_channels' without losing existing configuration, you should first fetch the current alert object via a GET request. Use the attributes from the existing alert to populate the request body, modifying only the 'alert_channels' array (or other desired fields) before sending the PUT request. Omitting existing attributes may result in validation errors or the loss of current settings.

认证

需要 Connected Account

Tags

Send Alerts
Update a limit threshold for an accountMAILGUN_PUT_V1_THRESHOLDS_LIMITS_NAMEUpdate a limit threshold for an account

Update a limit threshold for an account

认证

需要 Connected Account

Tags

Limits
Update an account-level webhookMAILGUN_PUT_V1_WEBHOOKS_WEBHOOK_IDUpdate an existing account-level webhook by replacing its URL, description, and event types. The webhook is identified by webhook_id and completely replaced with the new configuration. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

Update an existing account-level webhook by replacing its URL, description, and event types. The webhook is identified by webhook_id and completely replaced with the new configuration. Note: Webhook changes can take up to 10 minutes to become effective due to caching.

认证

需要 Connected Account

Tags

Account Webhooks
Update individual Mailgun account IP allowlist entry's descriptionMAILGUN_PUT_V2_IP_WHITELISTUpdate individual Mailgun account IP allowlist entry's description

Update individual Mailgun account IP allowlist entry's description

认证

需要 Connected Account

Tags

IP Allowlist
Tracking Certificate: Regenerate expired certificateMAILGUN_PUT_V2_X509_DOMAINInitiates regeneration of an expired TLS certificate for the tracking domain in a background task. Once generation is enqueued, you may poll status endpoint in location field to check for success. This will not regenerate an existing certificate that is still valid

Initiates regeneration of an expired TLS certificate for the tracking domain in a background task. Once generation is enqueued, you may poll status endpoint in location field to check for success. This will not regenerate an existing certificate that is still valid

认证

需要 Connected Account

Tags

Domain Tracking
Update templateMAILGUN_PUT_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAMEUpdate the description of a template.

Update the description of a template.

认证

需要 Connected Account

Tags

Domain Templates
Copy a templateMAILGUN_PUT_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_COPYCopies an existing template into new templates with the provided names and account IDs.

Copies an existing template into new templates with the provided names and account IDs.

认证

需要 Connected Account

Tags

Domain Templates
Rename a templateMAILGUN_PUT_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_RENAME_NEW_TEMPLATE_NAMERenames the specified template

Renames the specified template

认证

需要 Connected Account

Tags

Domain Templates
Update a versionMAILGUN_PUT_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAMEUpdate information or content of the specific template version. Existing fields not included in the request will not be changed

Update information or content of the specific template version. Existing fields not included in the request will not be changed

认证

需要 Connected Account

Tags

Domain Templates
Copy a versionMAILGUN_PUT_V3_DOMAIN_NAME_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAME_COPY_NEW_VERSION_NAMECopies an existing version into a new version with the provided name.

Copies an existing version into a new version with the provided name.

认证

需要 Connected Account

Tags

Domain Templates
Update tagMAILGUN_PUT_V3_DOMAIN_TAGUpdate a tag associated with a domain

Update a tag associated with a domain

认证

需要 Connected Account

Tags

Tags
Update Mailgun SMTP credentialsMAILGUN_PUT_V3_DOMAINS_DOMAIN_NAME_CREDENTIALS_SPECUpdate Mailgun SMTP credentials for a given domain and SMTP user

Update Mailgun SMTP credentials for a given domain and SMTP user

认证

需要 Connected Account

Tags

Credentials
Update domain webhookMAILGUN_PUT_V3_DOMAINS_DOMAIN_NAME_WEBHOOKS_WEBHOOK_NAMEReplace the list of urls by the given one with the `url` param. Here is the list of supported webhook: `accepted`, `opened`, `clicked`, `unsubscribed`, `delivered`, `permanent_fail`, `temporary_fail` and `complained`.

Replace the list of urls by the given one with the `url` param. Here is the list of supported webhook: `accepted`, `opened`, `clicked`, `unsubscribed`, `delivered`, `permanent_fail`, `temporary_fail` and `complained`.

认证

需要 Connected Account

Tags

Domain Webhooks
Update DKIM authorityMAILGUN_PUT_V3_DOMAINS_NAME_DKIM_AUTHORITYYou can delegate the domain authority to an other domain. Domain's authority is set to itself by default.

You can delegate the domain authority to an other domain. Domain's authority is set to itself by default.

认证

需要 Connected Account

Tags

Domain Keys
Update a DKIM selectorMAILGUN_PUT_V3_DOMAINS_NAME_DKIM_SELECTORSelector is the unique identifier of your key. It has to be different from other keys selector.

Selector is the unique identifier of your key. It has to be different from other keys selector.

认证

需要 Connected Account

Tags

Domain Keys
Update click tracking settingsMAILGUN_PUT_V3_DOMAINS_NAME_TRACKING_CLICKUse to turn on/off the click tracking at the domain level.

Use to turn on/off the click tracking at the domain level.

认证

需要 Connected Account

Tags

Domain Tracking
Update open tracking settingsMAILGUN_PUT_V3_DOMAINS_NAME_TRACKING_OPENUse to turn on/off the open tracking at the domain level.

Use to turn on/off the open tracking at the domain level.

认证

需要 Connected Account

Tags

Domain Tracking
Update unsubscribe tracking settingsMAILGUN_PUT_V3_DOMAINS_NAME_TRACKING_UNSUBSCRIBEUse to turn on/off the unsubscribe tracking at the domain level.

Use to turn on/off the unsubscribe tracking at the domain level.

认证

需要 Connected Account

Tags

Domain Tracking
Update a single forward rule by IDMAILGUN_PUT_V3_FORWARDS_IDAll parameters are optional, only the provided fields will be updated

All parameters are optional, only the provided fields will be updated

认证

需要 Connected Account

Tags

Forwards
Delegate DIPP to SubaccountMAILGUN_PUT_V3_IP_POOLS_POOL_ID_DELEGATEDelegates a dedicated IP pool (DIPP) from the parent account to a specified subaccount. Unlike legacy endpoints, this supports accounts with multiple delegated DIPPs. Request parameters are encoded as form data.

Delegates a dedicated IP pool (DIPP) from the parent account to a specified subaccount. Unlike legacy endpoints, this supports accounts with multiple delegated DIPPs. Request parameters are encoded as form data.

认证

需要 Connected Account

Tags

IP Pools
Add an IP to a DIPPMAILGUN_PUT_V3_IP_POOLS_POOL_ID_IPS_IPThe account must have 'DIPPs' feature enabled. It is not allowed to modify a DIPP inherited from the parent account. The IP must be a dedicated one, belong to the account and not belong to any other DIPP. All domains linked to the DIPP will be updated so that their IPs include the newly added address. If the DIPP is delegated to subaccounts, those will also be updated. The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

The account must have 'DIPPs' feature enabled. It is not allowed to modify a DIPP inherited from the parent account. The IP must be a dedicated one, belong to the account and not belong to any other DIPP. All domains linked to the DIPP will be updated so that their IPs include the newly added address. If the DIPP is delegated to subaccounts, those will also be updated. The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

认证

需要 Connected Account

Tags

IP Pools
Update a mailing listMAILGUN_PUT_V3_LISTS_ADDRESSUpdate mailing list properties, such as address, description or name

Update mailing list properties, such as address, description or name

认证

需要 Connected Account

Tags

Mailing Lists
Update a routeMAILGUN_PUT_V3_ROUTES_IDUpdates a given route. All parameters are optional. This only updates the specified fields, leaving others unchanged.

Updates a given route. All parameters are optional. This only updates the specified fields, leaving others unchanged.

认证

需要 Connected Account

Tags

Routes
Promote List Health Preview JobMAILGUN_PUT_V4_ADDRESS_VALIDATE_PREVIEW_LIST_IDA currently running list health preview job can be promoted to a full bulk validations job, which will validate all addresses in the list.

A currently running list health preview job can be promoted to a full bulk validations job, which will validate all addresses in the list.

认证

需要 Connected Account

Tags

List Health Preview
Activate a domain keyMAILGUN_PUT_V4_DOMAINS_AUTHORITY_NAME_KEYS_SELECTOR_ACTIVATEActivate a key to be used to DKIM sign emails with. Note: dns records must be valid for a domain key to be activated

Activate a key to be used to DKIM sign emails with. Note: dns records must be valid for a domain key to be activated

认证

需要 Connected Account

Tags

Domain Keys
Deactivate a domain keyMAILGUN_PUT_V4_DOMAINS_AUTHORITY_NAME_KEYS_SELECTOR_DEACTIVATEDeactivating for a specified authority and/or selector means a key won't be used for signing email anymore, even if they are valid.

Deactivating for a specified authority and/or selector means a key won't be used for signing email anymore, even if they are valid.

认证

需要 Connected Account

Tags

Domain Keys
Update domain webhooks (v4)MAILGUN_PUT_V4_DOMAINS_DOMAIN_WEBHOOKSUpdate webhook URL to associate it with different event types. This replaces the existing event type associations for the given URL.

Update webhook URL to associate it with different event types. This replaces the existing event type associations for the given URL.

认证

需要 Connected Account

Tags

Domain Webhooks
Update domainMAILGUN_PUT_V4_DOMAINS_NAMEUpdate domain configuration like smtp credentials, enable/disable automatic sender security, spam actions, wildcard, or tracking web scheme.

Update domain configuration like smtp credentials, enable/disable automatic sender security, spam actions, wildcard, or tracking web scheme.

认证

需要 Connected Account

Tags

Domains
Verify DomainMAILGUN_PUT_V4_DOMAINS_NAME_VERIFYVerify the domains DNS records (includes A, CNAME, SPF, DKIM and MX records) to ensure the domain is ready and able to send

Verify the domains DNS records (includes A, CNAME, SPF, DKIM and MX records) to ensure the domain is ready and able to send

认证

需要 Connected Account

Tags

Domains
Update Seed ListMAILGUN_PUT_V4_INBOX_SEEDLISTS_ADDRESSUpdate Seed List

Update Seed List

认证

需要 Connected Account

Tags

Inbox Placement
Update Result Sharing StatusMAILGUN_PUT_V4_INBOX_SHARING_RESULTChange the sharing status of a result or create a new share URL

Change the sharing status of a result or create a new share URL

认证

需要 Connected Account

Tags

Inbox Placement
Update Result Sharing StatusMAILGUN_PUT_V4_INBOX_SHARING_RESULT_IDChange the sharing status of a result or create a new share URL

Change the sharing status of a result or create a new share URL

认证

需要 Connected Account

Tags

Inbox Placement
Update an account-level templateMAILGUN_PUT_V4_TEMPLATES_TEMPLATE_NAMEUpdate the description of an account-level template.

Update the description of an account-level template.

认证

需要 Connected Account

Tags

Account Templates
Copy a templateMAILGUN_PUT_V4_TEMPLATES_TEMPLATE_NAME_COPYCopies an existing template into new templates with the provided names and account IDs.

Copies an existing template into new templates with the provided names and account IDs.

认证

需要 Connected Account

Tags

Account Templates
Rename a templateMAILGUN_PUT_V4_TEMPLATES_TEMPLATE_NAME_RENAME_NEW_TEMPLATE_NAMERenames the specified account level template

Renames the specified account level template

认证

需要 Connected Account

Tags

Account Templates
Update an account-level template versionMAILGUN_PUT_V4_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAMEUpdate information or content of the specific version of an account-level template. Existing fields not included in the request will not be changed.

Update information or content of the specific version of an account-level template. Existing fields not included in the request will not be changed.

认证

需要 Connected Account

Tags

Account Templates
Copy an account-level template versionMAILGUN_PUT_V4_TEMPLATES_TEMPLATE_NAME_VERSIONS_VERSION_NAME_COPY_NEW_VERSION_NAMECopies an existing version of an account-level template into a new version with the provided name.

Copies an existing version of an account-level template into a new version with the provided name.

认证

需要 Connected Account

Tags

Account Templates
Update variable account settingsMAILGUN_PUT_V5_ACCOUNTSUpdate variable account settings

Update variable account settings

认证

需要 Connected Account

Tags

Account Management
Update account featureMAILGUN_PUT_V5_ACCOUNTS_FEATURESUpdate account feature

Update account feature

认证

需要 Connected Account

Tags

Account Management
Re-enable account disabled for hitting send limitMAILGUN_PUT_V5_ACCOUNTS_LIMIT_CUSTOM_ENABLERe-enable an account that was disabled for reaching the custom sending limit

Re-enable an account that was disabled for reaching the custom sending limit

认证

需要 Connected Account

Tags

Custom Message Limit
Set a custom sending limitMAILGUN_PUT_V5_ACCOUNTS_LIMIT_CUSTOM_MONTHLYSet a custom sending limit

Set a custom sending limit

认证

需要 Connected Account

Tags

Custom Message Limit
Update subaccount featureMAILGUN_PUT_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_FEATURESUpdate subaccount feature

Update subaccount feature

认证

需要 Connected Account

Tags

Subaccounts
Delegate a DIPP to a subaccountMAILGUN_PUT_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_IP_POOL#### Description Initiates the process to delegate a DIPP to a subaccount. If the subaccount already has a DIPP delegated to it, that DIPP will be replaced. The success of this API call only indicates that the process has been started; it can still fail midway for various reasons. This endpoint cannot be used with subaccounts that have multiple inherited DIPPs. #### Request Schema Request parameters are encoded as form data. Name | Description | Required | Type --- | --- | --- | --- pool_id | Id of the DIPP to delegate | true | string

#### Description Initiates the process to delegate a DIPP to a subaccount. If the subaccount already has a DIPP delegated to it, that DIPP will be replaced. The success of this API call only indicates that the process has been started; it can still fail midway for various reasons. This endpoint cannot be used with subaccounts that have multiple inherited DIPPs. #### Request Schema Request parameters are encoded as form data. Name | Description | Required | Type --- | --- | --- | --- pool_id | Id of the DIPP to delegate | true | string

认证

需要 Connected Account

Tags

openapi-tower_other
Set a custom sending limitMAILGUN_PUT_V5_ACCOUNTS_SUBACCOUNTS_SUBACCOUNT_ID_LIMIT_CUSTOM_MONTHLYSet a custom sending limit

Set a custom sending limit

认证

需要 Connected Account

Tags

Subaccounts

Provider 资源