addcustomdomain

area emailaction addcustomdomainPOSTwrite

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

Arguments

ArgumentTypeRequiredDescription
domainstringYesDomain name to be be sent on be half. Examples: mydomain.com sub.domain.com
domainidintegerYesDomain ID found from the domains section to tie the custom domain to. This will be the return-path/tracking domain as well

Example request

https://api.mailclickconvert.com/api.php
  ?apikey=YOUR_API_KEY
  &area=email
  &action=addcustomdomain
  &domain=test.com
  &domainid=111

The platform expects this call as a POST; the parameters are the same either way.

Response

<response>
  <customfromdomain>
    <id>7</id>
    <domain>test.com</domain>
  </customfromdomain>
</response>

Need a call that isn't here?

Custom integration work is quoted on scope, and support is a person on weekdays, 9am to 5pm CST.