Clone an existing contact list, along with all its options.
Note: This API call can also be found under the requesttype of "Subscribers".
XML Request Example:
<?xml version="1.0" encoding="UTF-8"?> <xmlrequest> <username>JohnDoe</username> <usertoken>abc123abc123abc123abc123</usertoken> <requesttype>Lists</requesttype> <requestmethod>CopyList</requestmethod> <details> <list>5</list> <!-- required --> <name>new_contact list name 2</name> <!-- required --> <ownername>bob test</ownername> <!-- required --> <owneremail>[email protected]</owneremail> <!-- required --> <replytoemail>[email protected]</replytoemail> <!-- required --> </details> </xmlrequest>
<xmlrequest> element
Field Name | Description |
username | Username used to login to Pinpointe |
usertoken | Unique token assigned to Pinpointe account |
requesttype | List |
requestmethod | CopyList |
<details> element
Field Name | Description |
list (Required) | ID of the contact list to clone |
name (Required) | Name for new contact list |
ownername (Required) | Name of the owner of new contact list |
owneremail (Required) | Email address for the owner of new contact list |
replytoemail (Required) | Reply-to email address for new contact list |
Successful Response:
<response> element
Field Name | Description |
status | Will return SUCCESS if list successfully copied |
data | New copied list's ID |
Unsuccessful Response:
<response> element
Field Name | Description |
status | Will return FAILED if unsuccessful |
errormessage | Text explaining why request failed |