Copy a List

Create an exact duplicate of an existing list, including settings but excluding subscribers. A new unique list UID is returned in the response.

πŸ“„ Copy a List

Duplicate an existing subscriber list using its unique ID.

πŸ”Ή HTTP Request

POST API-URL/lists/LIST-UNIQUE-ID/copy

πŸ”Έ URL Segments

Segment
Required
Description

LIST-UNIQUE-ID

Yes

Unique identifier of the list to copy.

πŸ” Authorization Header

Include your customer API key:

X-API-KEY: your-api-key-here

πŸ’» PHP Example

// copy a list
$response = $endpoint->copy('LIST-UNIQUE-ID');

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
The above command returns an object structured like this JSON:

{
  "status":"success",
  "list_uid": "lm451q7h7j3e2"
}

πŸ“¦ Sample JSON Response