Skip to main content

Get Call Batch

GET Get batch details

GET /api/v1/public/call-batches/{batch_id}

Retrieve the full details and current status of a specific call batch.

Authorization

Authorization: Bearer sk_your_api_key

Path Parameters

ParameterTypeRequiredDescription
batch_idstringThe batch/schedule ID (e.g., sched_7bac6f2a)

Code Examples

curl -X GET https://api.staging.techladder.ai/api/v1/public/call-batches/sched_7bac6f2a \
-H "Authorization: Bearer sk_your_api_key" \
-H "Accept: application/json"

Responses

200 OK

Full details for the requested batch.

{
"status_code": 200,
"message": "Call batch fetched successfully",
"error": null,
"data": {
"schedule_id": "sched_7bac6f2a",
"agent_id": "agt-57949b14",
"agent_name": "Customer Outreach Agent",
"version_id": "pmt-667ddf271b",
"status": "active",
"start_mode": "scheduled",
"voice": "Tara",
"did_number": "08037236753",
"total_contacts": 150,
"completed_contacts": 75,
"failed_contacts": 3,
"pending_contacts": 72,
"concurrency": 20,
"recording_enabled": true,
"scheduled_at": "2026-05-15T08:30:00Z",
"started_at": "2026-05-15T08:30:02Z",
"created_at": "2026-05-14T10:00:00Z",
"updated_at": "2026-05-15T09:15:30Z"
}
}

401 Unauthorized

Returned when the API key is missing or invalid.

{
"status_code": 401,
"message": "Missing or invalid API key",
"error": {
"code": "UNAUTHORIZED",
"details": ["Provide a valid Bearer token in the Authorization header"]
},
"data": null
}

404 Not Found

Returned when the batch does not exist or is not owned by your account.

{
"status_code": 404,
"message": "Batch not found",
"error": {
"code": "NOT_FOUND",
"details": ["No batch found with id sched_7bac6f2a"]
},
"data": null
}