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.
A 200 response
required | Array of objects |
object |
A default response
{- "items": [
- {
- "ID": "ObjectID(\"000000000000000000000000\")",
- "name": "domain.tld",
- "services": {
- "service_name": false
}, - "txt_record": "IR-hashed-txt-record-key",
- "verified": {
- "status": "pending",
- "verified_at": 123456789
}
}
], - "paging": {
}
}
{- "message": "The domain has been added",
- "domain": {
- "verified": {
- "verified_at": 123456789,
- "status": "pending"
}, - "services": {
- "service_name": false
}, - "txt_record": "IR-hashed-txt-record-key",
- "ID": "ObjectID(\"000000000000000000000000\")",
- "name": "domain.tld"
}
}