Set calling hours
Restrict a campaign to a daily calling window, in the campaign's timezone. Outside the window the campaign holds rather than finishing, and resumes the next day.
bulk_call_idrequiredStop dialing at `daily_stop_time` each day.
Hour of day to stop, 0 to 23. Fractions are allowed, so `17.5` is 17:30. Required when the hard stop is on.
Timezone for the stop time.
Resume dialing at `daily_start_time` each day.
curl -X PUT 'https://backend.omnidim.io/api/v1/calls/bulk_call/{bulk_call_id}/daily-time-control' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "enable_daily_hard_stop": true, "daily_stop_time": 18, "daily_stop_timezone": "Asia/Kolkata", "enable_daily_auto_start": true, "daily_start_time": 9, "daily_start_timezone": "Asia/Kolkata" }'
{ "status": "success", "message": "Daily time control updated" }
Authorization
BearerAuth Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
In: header
Path Parameters
Id of the bulk call campaign.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response body
application/jsonResponse Body
application/json
