Schedule campaign

Schedule a draft campaign to send at a set time.

POST https://cotlet.dev/api/v1/mailjet/campaigns/{campaign_id}/schedule

write Confirm

Does what scheduling on the Review & Send page does. send_at is an ISO 8601 date and time with an offset, up to 60 days ahead, and the response returns the time Mailjet stored. Mailjet does not let you edit a scheduled campaign: use unschedule_campaign first. It reaches your contacts. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: schedule_campaign
NameTypeDescription
campaign_id integer required integer Campaign ID from list_campaigns.
send_at string required string ISO 8601 date and time with offset, for example 2026-10-23T08:00:00+01:00.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/mailjet/campaigns/7203318846/schedule \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"send_at":"2026-10-23T08:00:00+01:00"}'
Python
result = client.call("mailjet", "schedule_campaign", {"campaign_id":7203318846,"send_at":"2026-10-23T08:00:00+01:00"})
Node.js
const result = await cotlet.call('mailjet', 'schedule_campaign', {"campaign_id":7203318846,"send_at":"2026-10-23T08:00:00+01:00"});
CLI
cotlet call mailjet schedule_campaign --data '{"campaign_id":7203318846,"send_at":"2026-10-23T08:00:00+01:00"}'

Example response

JSON

{
  "campaign_id": 7203318846,
  "name": "Weekly digest, Oct 23",
  "subject": "This week at Northside, Oct 23",
  "status": "scheduled",
  "scheduled_for": "2026-10-23T08:00:00+01:00"
}

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.