Schedule or send an email

Send a draft now or schedule it up to a year ahead, to lists or one segment.

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

write Confirm

Sets the audience and the time of an email, like the Schedule page. Give list_ids or one segment_id; leave send_at out to send now. send_at is a date and time with an offset, in the future and within a year. Sending needs an Account Owner or Account Manager login, and can take up to 30 minutes on a large list. resend_to_non_openers is not available with a subject line A/B test and on some plans. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_email
NameTypeDescription
email_id string required string Email ID from list_emails.
list_ids array array IDs of the lists to send to. Use this or segment_id.
segment_id integer integer Send to this segment. Use this or list_ids.
send_at datetime datetime ISO 8601 date and time with offset. Leave out to send now.
resend_to_non_openers boolean boolean Also resend to contacts who did not open it. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/constant-contact/emails/7b1e9c30-4d2a-4f86-9a15-c3e8d0b72f41 \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"list_ids":["5a8d3f21-6b9c-4e07-8d14-2f7c9e0a1b36"],"send_at":"2026-11-03T09:00:00+01:00"}'
Python
result = client.call("constant-contact", "send_email", {"email_id":"7b1e9c30-4d2a-4f86-9a15-c3e8d0b72f41","list_ids":["5a8d3f21-6b9c-4e07-8d14-2f7c9e0a1b36"],"send_at":"2026-11-03T09:00:00+01:00"})
Node.js
const result = await cotlet.call('constant-contact', 'send_email', {"email_id":"7b1e9c30-4d2a-4f86-9a15-c3e8d0b72f41","list_ids":["5a8d3f21-6b9c-4e07-8d14-2f7c9e0a1b36"],"send_at":"2026-11-03T09:00:00+01:00"});
CLI
cotlet call constant-contact send_email --data '{"email_id":"7b1e9c30-4d2a-4f86-9a15-c3e8d0b72f41","list_ids":["5a8d3f21-6b9c-4e07-8d14-2f7c9e0a1b36"],"send_at":"2026-11-03T09:00:00+01:00"}'

Example response

JSON

{
  "email_id": "7b1e9c30-4d2a-4f86-9a15-c3e8d0b72f41",
  "status": "scheduled",
  "scheduled_for": "2026-11-03T08:00:00Z",
  "audience": "Tenants"
}

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.