POST /domains
Create a new domain.
| Parameter | Description |
|---|---|
| name | Name of the domain (ex. domain.com) |
| smtp_password | Password for SMTP authentication |
| spam_action | disabled, 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. |
| wildcard | true or false Determines whether the domain will accept email for sub-domains. The default is false. |
| force_dkim_authority | true 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
- https://api.mailgun.net
- https://api.eu.mailgun.net
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.