Post Windows
Configure daily posting time windows
Configure daily posting time windows for each day of the week. Control when content can be scheduled with per-channel customization.
Get All Day Schedules
GET /v1/workspaces/{id}/schedule/day-schedules/Response
{
"day_schedules": [
{
"day_of_week": 0,
"day_name": "Sunday",
"all_channels_enabled": false,
"all_channels_start_hour": 10,
"all_channels_end_hour": 14,
"ai_learning_enabled": true,
"custom_windows": []
},
{
"day_of_week": 1,
"day_name": "Monday",
"all_channels_enabled": true,
"all_channels_start_hour": 9,
"all_channels_end_hour": 18,
"ai_learning_enabled": true,
"custom_windows": [
{
"channel_id": "twitter",
"start_hour": 8,
"end_hour": 20,
"ai_learning": true
}
]
}
]
}Update All Days at Once
Update all 7 days' post windows in one request:
PUT /v1/workspaces/{id}/schedule/day-schedules/Request Body
{
"schedules": [
{
"day_of_week": 0,
"all_channels_start_hour": 9,
"all_channels_end_hour": 17,
"all_channels_enabled": false,
"ai_learning_enabled": true,
"custom_windows": []
},
{
"day_of_week": 1,
"all_channels_start_hour": 9,
"all_channels_end_hour": 18,
"all_channels_enabled": true,
"ai_learning_enabled": true,
"custom_windows": []
}
// ... days 2-6
]
}Update a Single Day
Update just one day's settings (day 0-6, Sunday=0):
PATCH /v1/workspaces/{id}/schedule/day-schedules/{day}/Example: Set Monday (day 1) to 9am-5pm
curl -X PATCH "https://api.missinglettr.com/v1/workspaces/1/schedule/day-schedules/1/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"all_channels_start_hour": 9,
"all_channels_end_hour": 17,
"all_channels_enabled": true,
"ai_learning_enabled": true,
"custom_windows": []
}'Custom Channel Windows
Set different time windows for specific channels:
{
"day_of_week": 1,
"all_channels_enabled": true,
"all_channels_start_hour": 9,
"all_channels_end_hour": 17,
"custom_windows": [
{
"channel_id": "twitter",
"start_hour": 7,
"end_hour": 22,
"ai_learning": true
},
{
"channel_id": "linkedin",
"start_hour": 8,
"end_hour": 18,
"ai_learning": true
}
]
}Per-Channel Optimization: Custom windows override the "all channels" settings for specific platforms. This lets you post to Twitter during extended hours while keeping LinkedIn to business hours.
AI Learning
When ai_learning_enabled is true, the system learns optimal posting times based on engagement and adjusts scheduling within your defined windows.