Skip to main content
PATCH
Changes state - verify before retry
Recommended. This endpoint is part of the public /v1 API reference and is the supported path for new integrations. See the migration guide for versioning guidance.
Update Batch Call Status changes the execution state of a batch call. Use it when you need to temporarily stop new outbound calls, continue a paused batch, or permanently cancel queued work. A batch can be paused while it is running or waiting. In the current lifecycle, running is the only active sending state, so pause a running batch before cancelling it permanently.

When To Use Update Batch Call Status

  • Use pause when a running or waiting batch should stop creating new calls, but calls already in progress can finish.
  • Use resume when a paused batch should continue calling remaining leads.
  • Use cancel when a non-running batch should stop permanently and queued calls should be removed. If the batch is running, pause it first, then cancel.

Status Actions

Verify The Result

After the request succeeds, check the returned campaign.status value. You can also call Get Batch Call to inspect the call logs and confirm that no new calls are being created after a pause or cancel action. If resume returns waiting, the batch is accepted but is not yet the active sender for the organization. See Batch Call Retries And Statuses for the full status diagram.

Common Errors

  • 400 Bad Request means the action is invalid or the current batch status does not allow that transition.
  • 403 Forbidden means the batch call does not belong to the authenticated workspace.
  • 404 Not Found means the batch call ID was not found.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Batch call ID

Example:

"batch_abc123"

Body

application/json
action
enum<string>
required

The status transition to apply.

Available options:
pause,
resume,
cancel
Example:

"pause"

Response

Batch call status updated successfully.

success
boolean
Example:

true

message
string
Example:

"Campaign paused successfully"

campaign
object
affectedCalls
object