Skip to main content
PATCH
/
batch-call
/
{id}
Update batch call (partial)
curl --request PATCH \
  --url http://localhost:8080/batch-call/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>' \
  --data '
{
  "name": "Updated Campaign Name",
  "trigger_timestamp": 1735718500
}
'
{
  "message": "Batch call updated successfully",
  "status": "success",
  "error": null,
  "data": {
    "batch_call_id": "batch_call_a1b2c3d4e5f6789012345678901234567",
    "name": "Updated Campaign Name",
    "from_number": "+14157774444",
    "scheduled_timestamp": 1735718500000,
    "total_task_count": 1,
    "total": 1,
    "sent": 0,
    "picked_up": 0,
    "completed": 0,
    "agent_id": "agent_7ff47846-c8a0-4304-ae13-88cfc31c1a03",
    "organization_id": "e3yn0c4mivqs8y4yhb5k",
    "status": "scheduled",
    "timezone": "UTC",
    "last_sent_timestamp": null,
    "tasks_url": "https://storage.azure.com/.../tasks.json",
    "created_timestamp": 1735718400000
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

id
string
required

Batch call ID

Example:

"batch_call_a1b2c3d4e5f6789012345678901234567"

Body

application/json
name
string
trigger_timestamp
integer<int64>
status
string
send_now
boolean
timezone
string
agent_id
string

Response

Batch call updated successfully

message
string
status
string
error
string | null
data
object