Scheduling
Schedule posts for a specific time or let Flare find the best slot automatically.
Manual scheduling
Set scheduledDate to an ISO 8601 timestamp:
{
"accountIds": ["acc_123"],
"content": "Holiday announcement!",
"scheduledDate": "2025-12-25T10:00:00Z"
}If scheduledDate is omitted and autoSchedule is false (the default), the post is published immediately.
Auto-scheduling
Set autoSchedule: true and Flare picks the optimal time based on:
- Your configured posting hours (e.g., 9 AM – 9 PM)
- Existing scheduled posts (avoids clustering)
- Platform best practices
- Your brand's posting interval settings
{
"accountIds": ["acc_123"],
"content": "Daily update",
"autoSchedule": true
}Custom intervals
Override your brand's default posting interval with autoScheduleInterval (in hours, 1–168):
{
"accountIds": ["acc_123"],
"content": "Weekly digest",
"autoSchedule": true,
"autoScheduleInterval": 24
}This schedules the post at least 24 hours after the last scheduled post, useful for controlling posting frequency on a per-request basis.
Timezones
All times are UTC by default. Pass a timezone field (IANA format) to schedule in a specific timezone:
{
"accountIds": ["acc_123"],
"content": "Good morning!",
"scheduledDate": "2025-12-25T09:00:00",
"timezone": "America/New_York"
}Idempotency
Network issues can cause retries. Use idempotencyKey to prevent duplicate posts:
{
"accountIds": ["acc_123"],
"content": "Important update",
"autoSchedule": true,
"idempotencyKey": "update-2025-12-25-v1"
}If a post with the same key already exists, the API returns the existing post instead of creating a duplicate.