Skip to main content
PATCH
Reschedule Batch Job

Overview

Changes the scheduled start time of a batch job. Only works for jobs in scheduled or pending status. Features:
  • Timezone-aware scheduling
  • Automatic cancellation of old scheduled job
  • Creates new Redis defer job with updated time
Cannot reschedule jobs that are already running, completed, failed, or cancelled.

Request

Path Parameters

Query Parameters

Timezone Examples

Response

Response Fields

Examples

Example 1: Reschedule to Later Time

Response:

Example 2: Reschedule with UTC Timezone

Example 3: Reschedule Pending Job (No Previous Schedule)

Response:

Example 4: Reschedule Running Job (Error)

Response:

Behavior by Status

How It Works

Error Handling

404 Not Found

400 Bad Request

500 Internal Server Error

Use Cases

Reschedule Due to Weather Event

Your campaign is scheduled for today, but a storm is affecting your target region:

Adjust Calling Hours for Compliance

You realize your scheduled time violates calling hours regulations:

Postpone Campaign to Next Week

Authorizations

Authorization
string
header
required

Your TalkifAI API key. Get it from Studio → Settings → API Keys.

Path Parameters

batch_job_id
string
required

Query Parameters

scheduledStartTime
string<date-time>
required

New scheduled start time (ISO 8601)

timezone
string
default:UTC

IANA timezone for the scheduled time

Response

Batch job rescheduled

success
boolean
Example:

true

message
string
Example:

"Rescheduled successfully"

batchJobId
string
scheduledStartTime
string<date-time>
status
string
Example:

"scheduled"

oldJobCancelled
boolean
newScheduledJobId
string