- Get domain details
Get domains
Create a domain
Update domain
Verify Domain
Delete a domain
Get domain details
Fetches json representation of a domain that includes details about the domain's state and settings.
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v4/domains/{name}
- EU Mailgunhttps://api.eu.mailgun.net/v4/domains/{name}
curl -i -X GET \
-u '<username>:<password>' \
'https://api.mailgun.net/v4/domains/{name}'Response
{ "domain": { "created_at": "Thu, 13 Oct 2011 18:02:00 GMT", "id": "123456789012345678901234", "name": "example.com", "require_tls": true, "smtp_login": "postmaster@example.com", "spam_action": "disabled", "state": "active", "type": "sandbox", "use_automatic_sender_security": true, "web_prefix": "email", "web_scheme": "http" }, "receiving_dns_records": [ { … }, { … } ], "sending_dns_records": [ { … }, { … }, { … } ] }