Create domain
documentedCreate a new sending domain.
POST /v4/domainsDomainsno implementation yet0 runsInput
domain_name*
Domain name to create
yourdomain.com
archive_to
Archive URL
https://example.com/webhook
dkim_host_name
DKIM host name
mail.yourdomain.com
dkim_key_size
DKIM key size
1024 or 2048
dkim_selector
DKIM selector
selector
encrypt_incoming_message
Encrypt incoming message
true|false
force_dkim_authority
Force DKIM authority
true|false
force_root_dkim_host
Force root DKIM host
true|false
wildcard
Wildcard
true|false
pool_id
Pool ID
pool-1
ips
IP restrictions
IP address or CIDR
require_tls
Require TLS
true|false
skip_verification
Skip verification
true|false
smtp_login
SMTP login
user@yourdomain
spam_action
Spam action
disabled|block|tag
subaccount_id
Subaccount ID
subacct_123
state
State
active|unverified|disabled
type
Domain type
custom|sandbox
tracking_host
Tracking host
track.yourdomain.com
message_ttl
Message TTL (seconds)
seconds
Calls mailgun as you (your API key is your account); keychains.dev holds the credentials.