List Batch Jobs
Batch Calling
List Batch Jobs
Returns a paginated list of batch calling jobs for your organization.
GET
List Batch Jobs
Overview
Retrieves all batch calling jobs for an organization with optional filtering by status. Supports pagination for large result sets.Request
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | ✅ | — | Organization ID to filter by |
status | string | ❌ | — | Filter by job status |
page | integer | ❌ | 1 | Page number (1-indexed) |
pageSize | integer | ❌ | 20 | Items per page (1-100) |
Status Filter Values
| Status | Description |
|---|---|
pending | Job created, waiting to start |
scheduled | Job scheduled for future start |
running | Job actively processing contacts |
completed | All contacts processed successfully |
failed | Job failed due to errors |
cancelled | Job was cancelled manually |
Response
Response Fields
| Field | Type | Description |
|---|---|---|
batchJobs | array | List of batch job objects |
total | integer | Total number of jobs matching filter |
page | integer | Current page number |
pageSize | integer | Number of items per page |
Batch Job Object
| Field | Type | Description |
|---|---|---|
id | string | Unique batch job identifier |
name | string | Job name |
description | string | Optional description |
status | string | Current job status |
totalContacts | integer | Total contacts in job |
contactsProcessed | integer | Number of contacts processed |
successfulCalls | integer | Number of successful calls |
failedCalls | integer | Number of failed calls |
scheduledStartTime | string | Scheduled start time (ISO 8601, UTC) |
actualStartTime | string | Actual start time (ISO 8601, UTC) |
completedAt | string | Completion time (ISO 8601, UTC) |
createdAt | string | Creation time (ISO 8601, UTC) |
Examples
Example 1: List All Jobs
Example 2: Filter by Running Status
Example 3: Paginated Results
Example 4: List Completed Jobs
Error Handling
400 Bad Request
| Error Code | Cause |
|---|---|
invalid_page | Page number less than 1 |
invalid_page_size | Page size outside 1-100 range |
invalid_status | Invalid status filter value |
500 Internal Server Error
Pagination
The API uses offset-based pagination:- Total: 47 jobs
- Page size: 20
- Total pages: 3
Related
- Create Batch Job — Create a new batch job
- Get Batch Job Detail — Get detailed job info
- Cancel Batch Job — Cancel a running job
- Batch Calling Guide — Complete guide to batch campaigns
Authorizations
Your TalkifAI API key. Get it from Studio → Settings → API Keys.
Query Parameters
Organization ID to filter by
Filter by job status
Available options:
pending, scheduled, running, completed, failed, cancelled Page number
Required range:
x >= 1Items per page
Required range:
1 <= x <= 100