Configures when and how frequently campaign emails are sent Sets timezone (IANA format), sending hours (start/end in 24-hour format), active days of week (0=Sunday through 6=Saturday), and minimum time between consecutive emails (in minutes)
Overview
Configures when and how frequently campaign emails are sent
Key Features :
Validates timezone string and time format before saving
Path Parameters
The ID of the campaign to update
Query Parameters
Request Body
Sending schedule configuration IANA timezone (e.g., “America/New_York”, “Europe/London”)
Days of week to send (0=Sunday, 1=Monday, …, 6=Saturday) Example: [1, 2, 3, 4, 5] for Monday-Friday
Start sending time (24-hour format, e.g., “09:00”)
Stop sending time (24-hour format, e.g., “17:00”)
Minimum minutes between consecutive emails
curl -X POST "https://server.smartlead.ai/api/v1/campaigns/123/schedule?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schedule": {
"timezone": "America/New_York",
"days": [1, 2, 3, 4, 5],
"start_hour": "09:00",
"end_hour": "17:00",
"min_time_btw_emails": 120
}
}'
Response Codes
Invalid request parameters or malformed request body
Invalid or missing API key. Check your authentication.
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
Request validation failed. Check parameter types, required fields, and value constraints.
Too many requests. Please slow down and retry after the rate limit resets.
Server error occurred. Please try again or contact support if the issue persists.
API is temporarily unavailable or under maintenance. Please try again later.
200 - Success
401 - Unauthorized
404 - Not Found
422 - Validation Error
{
"success" : true ,
"data" : {}
}
Schedule Best Practices
Business Hours
Send during recipient’s business hours:
B2B : 9 AM - 5 PM local time
B2C : 10 AM - 8 PM local time
Global : Consider multiple timezones
Days of Week
Monday-Friday [1,2,3,4,5] - Best for B2B
Tuesday-Thursday [2,3,4] - Highest open rates
All 7 days [0,1,2,3,4,5,6] - For B2C or urgent campaigns
Time Between Emails
120+ minutes : Appears more natural
60-120 minutes : Moderate pacing
30-60 minutes : Aggressive (use carefully)
Longer delays between emails (2-3 hours) result in better deliverability and appear more natural to recipients.
Common Timezones
America/New_York - US Eastern
America/Los_Angeles - US Pacific
America/Chicago - US Central
Europe/London - UK
Europe/Paris - Central Europe
Asia/Tokyo - Japan
Asia/Dubai - UAE
Asia/Kolkata - India
Australia/Sydney - Australia
See full list of timezones
Implementation Details
Schedule timezone must be valid IANA timezone. Start/end hours in 24-hour format. Min time between emails prevents rapid-fire sending.
Response Format : object