Copy a Campaign

Duplicate an existing campaign using its unique campaign UID. This is useful when reusing previous campaign settings and templates.

📄 Copy a Campaign

Create a new campaign by copying the configuration and content of an existing one.


🔹 HTTP Request

POST API-URL/campaigns/CAMPAIGN-UNIQUE-ID/copy

🔸 URL Segments

Segment
Required
Description

CAMPAIGN-UNIQUE-ID

Yes

Campaign unique ID to duplicate.


🔐 Authorization Header

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

💻 PHP Example

// Copy CAMPAIGN
$response = $endpoint->copy('CAMPAIGN-UNIQUE-ID');

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';

📦 Sample JSON Response

{
  "status": "success",
  "campaign_uid": "ab781xqmvk274"
}

Last updated