Call us toll-free @ 888-497-7898

API Call Information

area: email

action: editcanspamwhoisinfo

API Arguments

Argument Data Type Required Description
company string Yes company name
firstname string Yes first name
lastname string Yes last name
email string Yes email address
phone string Yes phone number
address string Yes address for can spam
city string Yes city for can spam footer
region string Yes state/region. If state two letters only
zip string Yes postal code
country string Yes country code two letters
primary boolean either 1 or 0 No 1 or 0 if it is the main whois

API URL Example

https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=editcanspamwhoisinfo&id=1&company=abc&firstname=John&lastname=Smith&email=test@test.com&phone=8005555555&address=123mainstreet&city=springfield&region=CA&zip=12345&country=US&primary=1

API Response

XML Response

<response>
  <success>Whois/Can SPAM Updated</success>
</response>

JSON Response

{
    "success": "Whois/Can SPAM Updated"
}