Copy email

Make a draft copy of an existing email.

POST https://cotlet.dev/api/v1/constant-contact/emails/{email_id}/copy

write

Creates a draft with the same content as the source email, the way Copy on the email's Details tab does, and returns its email_id. It does not edit text or links, and it sends nothing. It reaches no one and the draft can be left unused, so it does not wait for your OK.

Parameters

Parameters: copy_email
NameTypeDescription
email_id string required string Email ID of the email to copy, draft, scheduled or sent.
name string string Name of the copy.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/constant-contact/emails/email_8c41d2/copy \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("constant-contact", "copy_email", {"email_id":"email_8c41d2"})
Node.js
const result = await cotlet.call('constant-contact', 'copy_email', {"email_id":"email_8c41d2"});
CLI
cotlet call constant-contact copy_email --data '{"email_id":"email_8c41d2"}'

Example response

JSON

{
  "email_id": "7b1e9c30-4d2a-4f86-9a15-c3e8d0b72f41",
  "name": "Rent reminder, October",
  "status": "draft"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.