Return Back to API List
API Call Information
area: email
action: addcanspamwhoisinfo
API Arguments
API Url Example:
https://api.mailclickconvert.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®ion=CA&zip=12345&country=US&primary=1
API Call Result:
email - addcanspamwhoisinfo
Adds a can spam/whois information to the account returns whoisid
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 |
| 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 |
https://api.mailclickconvert.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®ion=CA&zip=12345&country=US&primary=1
API Call Result:
| XML Response | JSON Response |
| <response> <success>Whois/Can SPAM Added</success> <id>1</id> </response> |
{
"success": "Whois/Can SPAM Added",
"id": "1"
} |