agents
channels.twilio.numbers
agents.test
conversations
data_sources
events
incidents
insights
insights.folders
insights.workflows
insights.tools
custom_messages
prompts
session_labels
sessions.transcript
sessions.full-summary
sessions.latency
session_debug
channels.targets
directory
dashboards
outbound.batches
- GETList Outbound Communication Batches
- POSTCreate Outbound Communication Batch
- GETGet Outbound Communication Batch
- PUTUpdate Outbound Communication Batch
- DELDelete Outbound Communication Batch
- POSTUpload Outbound Communication Batch
- GETFetch Outbound Communication Batch Results
- POSTCreate Outbound Communication Request
- POSTDelete Requests By List Of Reference Ids
outbound.campaigns
language_groups
outbound.batches
Update Outbound Communication Batch
PUT
/
api
/
v1
/
outbound
/
batches
/
{batch_id}
import os
from syllable_sdk import SyllableSDK
from syllable_sdk.utils import parse_datetime
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.outbound.batches.update(batch_id="<id>", communication_batch_update={
"paused": False,
"expires_on": parse_datetime("2027-01-01T06:00:00Z"),
})
# Handle response
print(res)
{
"batch_id": "20250515.9",
"campaign_id": 1,
"expires_on": "2025-05-16T00:00:00Z",
"paused": true,
"status": "PENDING",
"upload_filename": "LATE_PAYMENTS_20250401.csv",
"created_at": "2025-05-15T00:00:00Z",
"deleted_at": "2025-05-15T00:00:00Z",
"deleted_reason": "User request",
"last_updated_at": "2025-05-15T00:00:00Z",
"last_updated_by": "user@email.com",
"error_message": "Invalid file format"
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
import os
from syllable_sdk import SyllableSDK
from syllable_sdk.utils import parse_datetime
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.outbound.batches.update(batch_id="<id>", communication_batch_update={
"paused": False,
"expires_on": parse_datetime("2027-01-01T06:00:00Z"),
})
# Handle response
print(res)
{
"batch_id": "20250515.9",
"campaign_id": 1,
"expires_on": "2025-05-16T00:00:00Z",
"paused": true,
"status": "PENDING",
"upload_filename": "LATE_PAYMENTS_20250401.csv",
"created_at": "2025-05-15T00:00:00Z",
"deleted_at": "2025-05-15T00:00:00Z",
"deleted_reason": "User request",
"last_updated_at": "2025-05-15T00:00:00Z",
"last_updated_by": "user@email.com",
"error_message": "Invalid file format"
}