scheduling
Schedule Uploaded Contacts
Changed onTrigger OTTR scheduling for contacts in awaiting_scheduling status.
Without a body this processes all contacts across all campaigns that are in 'awaiting_scheduling' status, exactly as before. The optional body scopes the run to one campaign and/or spreads the contacts over N open campaign days instead of the next 24 hours. 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
Request
- Base URLhttps://api.outrival.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.outrival.com/api/v1/schedule-uploaded-contacts
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
- info
added optional request body
- info
added the non-success response with the status
- info