MailMoo
EndpointsCampaigns

Change a campaign's sending schedule

Changes when a campaign sends: its time zone and each day's sending window. Only what you pass changes, so a single day's hours can be moved without restating the rest. Times are 24-hour HH:MM in the schedule's time zone, and each day's start must be before its end. At least one day stays on. Allowed while the campaign is running; the new window applies from the next send. Pass dryRun to see the schedule before and after without changing anything.

POST/campaigns.updateSchedule

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your MailMoo API key (format: sk_live_...)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/campaigns.updateSchedule" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf"  }'
{  "dryRun": true,  "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",  "campaignName": "string",  "running": true,  "changed": true,  "before": {    "timeZone": "string",    "utcOffsetMinutes": 0,    "days": {      "monday": {        "enabled": true,        "start": "string",        "end": "string"      },      "tuesday": {        "enabled": true,        "start": "string",        "end": "string"      },      "wednesday": {        "enabled": true,        "start": "string",        "end": "string"      },      "thursday": {        "enabled": true,        "start": "string",        "end": "string"      },      "friday": {        "enabled": true,        "start": "string",        "end": "string"      },      "saturday": {        "enabled": true,        "start": "string",        "end": "string"      },      "sunday": {        "enabled": true,        "start": "string",        "end": "string"      }    }  },  "after": {    "timeZone": "string",    "utcOffsetMinutes": 0,    "days": {      "monday": {        "enabled": true,        "start": "string",        "end": "string"      },      "tuesday": {        "enabled": true,        "start": "string",        "end": "string"      },      "wednesday": {        "enabled": true,        "start": "string",        "end": "string"      },      "thursday": {        "enabled": true,        "start": "string",        "end": "string"      },      "friday": {        "enabled": true,        "start": "string",        "end": "string"      },      "saturday": {        "enabled": true,        "start": "string",        "end": "string"      },      "sunday": {        "enabled": true,        "start": "string",        "end": "string"      }    }  }}