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
| Name | Type | Description |
|---|---|---|
| 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 -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"}' result = client.call("mailjet", "schedule_campaign", {"campaign_id":7203318846,"send_at":"2026-10-23T08:00:00+01:00"}) const result = await cotlet.call('mailjet', 'schedule_campaign', {"campaign_id":7203318846,"send_at":"2026-10-23T08:00:00+01:00"}); cotlet call mailjet schedule_campaign --data '{"campaign_id":7203318846,"send_at":"2026-10-23T08:00:00+01:00"}' Example response
{
"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"
}