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