v3
latestOpenAPI 3.1.02026-08-07478772.4 KBscheduling
Schedule Uploaded Contacts
Trigger OTTR scheduling for all contacts in awaiting_scheduling status.
This endpoint processes all contacts across all campaigns that are in 'awaiting_scheduling' status. It uses Thompson sampling to assign optimal next_follow_up_date_time values and transitions contacts to 'awaiting_contact'.
The scheduling process:
- Fetches contacts in batches of 1000
- Groups by campaign_id and timezone
- Gets optimal hour distribution via Thompson sampling
- Samples a specific time for each contact
- Updates contacts to awaiting_contact status with scheduled time
Returns: ScheduleUploadResponse with counts and processing time
post/api/v1/schedule-uploaded-contacts
Response
Successful Response