Update batch call configuration. Only provided fields will be updated. Supports partial updates.
curl -X PATCH "https://api.zudu.ai/batch-call/batch_abc123" \
-H "X-API-KEY: sk_Abc123Def456..." \
-H "X-API-SECRET: s3cr3t_Xyz789..." \
-d '{
"name": "Updated Campaign Name",
"status": "draft"
}'
{
"message": "Batch call updated successfully",
"status": "success",
"data": {
"batch_call_id": "batch_abc123",
"name": "Updated Campaign Name",
"status": "DRAFT",
"updated_at": "2024-01-15T11:00:00Z"
}
Your API key (format: sk_...)
Your API secret (format: s3cr3t_...)
Path Parameters
The batch call ID (format: batch_...)
Request Body (All Fields Optional)
Updated batch call name (max 255 characters)
Updated status: draft, scheduled, sentNote: Cannot change status to completed or failed via API.
Updated scheduled execution timestamp (must be in future)
Updated timezone identifier
Error Responses
Bad Request - Invalid status transition or validation error
Not Found - Batch call does not exist
Notes
- Only provided fields are updated (partial updates supported)
- Status transitions are validated (e.g., cannot change
COMPLETED back to DRAFT)
- Batch calls in
COMPLETED or FAILED status cannot be modified