v66

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-04176310979.2 KB
outbound.batches

Update Outbound Communication Batch

put/api/v1/outbound/batches/{batch_id}

Path parameters

batch_idstring required

Request body

pausedboolean nullable

Whether the batch is on HOLD. When on HOLD, no outreach will be made.

expires_onstring date-time nullable

Timestamp of batch expiration

Example request

{
  "paused": true,
  "expires_on": "2027-01-01T06:00:00Z"
}

Response

Successful Response

batch_idstring required

Unique ID for conversation batch

campaign_idinteger required

Unique ID for campaign

expires_onstring date-time nullable

Timestamp of batch expiration

pausedboolean nullable

Whether the batch is on HOLD. When on HOLD, no outreach will be made.

status'PENDING' | 'ACTIVE' | 'PAUSED' | 'FAILED' | 'CANCELED' | 'EXPIRED'

Status of a communication batch.

upload_filenamestring nullable

Name of file used to create batch

dispatch_idstring nullable

A unique identifier for dipatched job

created_atstring date-time

Timestamp of batch creation

deleted_atstring date-time nullable

Timestamp of batch deletion

deleted_reasonstring nullable

Reason for batch deletion

last_updated_atstring date-time nullable

Timestamp of last change to batch

last_updated_bystring required

Email of user who last updated campaign

error_messagestring nullable

Error message if batch upload failed

Example response

{
  "batch_id": "20260804.9",
  "campaign_id": 1,
  "expires_on": "2026-08-05T00:00:00Z",
  "paused": true,
  "upload_filename": "LATE_PAYMENTS_20250401.csv",
  "dispatch_id": "5ac42327fbd7e03b441650b79ae91ae1",
  "created_at": "2026-08-04T00:00:00Z",
  "deleted_at": "2026-08-04T00:00:00Z",
  "deleted_reason": "User request",
  "last_updated_at": "2026-08-04T00:00:00Z",
  "last_updated_by": "user@email.com",
  "error_message": "Invalid file format"
}