Skip to main content

Clone

POST /v1/campaigns/customers/{customer_id}/campaigns/{id}/clone

Creates a clone draft of an existing campaign and returns the details of the cloned campaign.

Path Parameters

id
integer
Required

The id of the campaign.

customer_id
integer
Required

The id of the customer.

Example Request
curl -X POST https://api.realmailers.com/v1/campaigns/customers/{customer_id}/campaigns/{id}/clone \
-H 'Authorization: Bearer YOUR_API_KEY'
Response Schema
{
scheduled_at: Timestamp(ISO8601)
created_at: Timestamp(ISO8601)
updated_at: Timestamp(ISO8601)
sent_at: Timestamp(ISO8601)

expected_delivery_date: String
send_copy_to_sender: Boolean
recipient_count: Number
property_filter: JSON
postage_class: String
template_id: Number
status: String
price: String
proof: URL
size: Size
id: Number

thumbnails: Array(URL)
designs: Array(URL)

exposed_addresses: Array({
address_country: String
address_line1: String
address_state: String
address_city: String
address_zip: String
variables: JSON
company: String
name:String
})

sender: {
address_country: String
address_line1: String
address_state: String
address_city: String
address_zip: String
variables: JSON
company: String
name:String
}

meta_data: {
key: String
}
}