Call us toll-free @ 888-497-7898

API Call Information

area: email

action: addcanspamwhoisinfo

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
city string Yes city
region string Yes state/region. If state two letters only
country string Yes country code two letters
primary boolean either 1 or 0 No integer 1 or 0 if it is the main whois

API URL Example

https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=addcanspamwhoisinfo&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 Added</success>
  <id>1</id>
</response>

JSON Response

{
    "success": "Whois/Can SPAM Added",
    "id": "1"
}