Call us toll free @ 888-497-7898

email - addcustomdomain

Adds a custom domain to be used to send on behalf.


API Call Information
area: email
action: addcustomdomain

API Arguments
Argument Data Type Required Description
domain string Yes Domain name to be be sent on be half. Examples: mydomain.com sub.domain.com
domainid integer Yes Domain ID found from the domains section to tie the custom domain to. This will be the return-path/tracking domain as well
API Url Example:
https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=addcustomdomain&domain=test.com&domainid=111

API Result:
XML Response JSON Response
<response>
  <customfromdomain>
    <id>7</id>
    <domain>test.com</domain>
  </customfromdomain>
</response>
{
    "customfromdomain": {
        "id": "7",
        "domain": "test.com"
    }
}