POST /domains

Create a new domain.

ParameterDescription
nameName of the domain (ex. domain.com)
smtp_passwordPassword for SMTP authentication
spam_actiondisabled, block, or tag If disabled, no spam filtering will occur for inbound messages. If block, inbound spam messages will not be delivered. If tag, inbound messages will be tagged with a spam header. See Spam Filter. The default is disabled.
wildcardtrue or false Determines whether the domain will accept email for sub-domains. The default is false.
force_dkim_authoritytrue or false If set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account If set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account The default is false.

Servers

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.