Skip to main content
PATCH
Change Batch Call Phone Number
Changes state - verify before retry Change Batch Call Phone Number switches the From number for a draft, scheduled, or paused batch. Undialed calls and parked retries use the new number. Calls already placed keep their original number, and the batch keeps its agent version and status.

Before you begin

  • Find the batch ID with List Batch Calls.
  • Choose a phn_ ID from the batch agent’s outbound list in List Agent Phone Numbers.
  • If the batch is running or waiting, pause it and wait for its calls in progress to finish. Completed, cancelled or deleted batches cannot change numbers.

Change Batch Call Phone Number request

The number must already be linked to the same agent for outbound calls. This request does not attach a number, change the batch’s agent, or resume a paused batch.

Verify the result

HTTP 200 confirms the change. The API-key response is an empty object; it does not include the dashboard’s campaign control result. Reopen the batch’s Change number dialog and confirm the selected number is marked Current. After you resume the batch, inspect subsequent calls with List Calls and batch_call_id to verify their phone_number_id. If the request times out, verify the saved selection before retrying. Repeating the same number does not create a batch or place calls, but the request can be refused if the batch has started or completed since the first request.

Errors and recovery

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 ID from List Batch Calls.

Example:

"batch_abc123"

Body

application/json
phone_number_id
string
required

One of the batch agent's outbound phone number IDs.

Example:

"phn_abc123"

Response

The number was changed. API-key callers receive an empty object because the response projection omits the control result.

The response is of type object.