Duplicate campaign

Duplicate a campaign (and its active channels) under the same company as a fresh draft named "… (Copy)" with audience/scheduling fields reset.

Auth: Account — authentication, ACCOUNT-scope group. If not owned by the caller it returns 403 ("You are not authorized to duplicate this campaign").

Rate limit: No rate limit.

Request

Response{ data. } envelope. data is { status: "success", message: "Campaign duplicated successfully", data: <new campaign> }.

  • data.status (string) — "success".
  • data.message (string).
  • data.data (object) — the new campaign via getCampaignData(newCampaignId); same shape as the campaign detail response. The copy is forced to status="draft", current_step=1, total_audience=0, request_file_status="pending", with scheduled_at/started_at/completed_at/next_execution_time nulled and request_per_day/request_frequency/request_delay zeroed; The endpoint copies channels against the new campaign id.

Path params

ParameterTypeRequiredNotes
campaignIdintegerRequiredDigits only.

Errors: 422 on validation failure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json