List batch calls
curl --request GET \
--url https://api.zeroruntime.ai/v1/batch-calls \
--header 'Authorization: <api-key>'import requests
url = "https://api.zeroruntime.ai/v1/batch-calls"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.zeroruntime.ai/v1/batch-calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zeroruntime.ai/v1/batch-calls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.zeroruntime.ai/v1/batch-calls"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.zeroruntime.ai/v1/batch-calls")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zeroruntime.ai/v1/batch-calls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"pageInfo": {
"currentPage": 1,
"perPage": 10,
"lastPage": 1,
"total": 1
},
"batchCalls": [
{
"batchId": "btcl_k3x9q2",
"batchName": "October renewals",
"description": "Renewal reminders for gold and silver plans",
"phoneNumberId": "6f1d2c3a-8b4e-4f7a-9c21-0d5e6b7a8c90",
"phoneNumber": "+14155550100",
"routingRuleId": "rr_2554md",
"status": "running",
"timing": "scheduled",
"timezone": "Asia/Kolkata",
"scheduledDate": "2026-10-14",
"scheduledTime": "10:00",
"retry": {
"enabled": true,
"retryOn": [
"not-answered",
"failed"
],
"retryDelays": [
600,
3600
],
"maxAttempts": 2
},
"recordsUploaded": 250,
"parseError": null,
"file": {
"filename": "customers.csv",
"extension": ".csv",
"key": "batchcall/btcl_k3x9q2/1760261400000-customers.csv"
},
"timestamp": 1760416200,
"createdAt": "2026-10-12T09:30:00.000Z",
"updatedAt": "2026-10-14T04:30:02.000Z",
"progress": 42
}
]
}{
"message": "startDate must be before endDate"
}{
"error": "<string>"
}Batch calls
List batch calls
Lists your batches with their progress, newest first.
GET
/
v1
/
batch-calls
List batch calls
curl --request GET \
--url https://api.zeroruntime.ai/v1/batch-calls \
--header 'Authorization: <api-key>'import requests
url = "https://api.zeroruntime.ai/v1/batch-calls"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.zeroruntime.ai/v1/batch-calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zeroruntime.ai/v1/batch-calls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.zeroruntime.ai/v1/batch-calls"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.zeroruntime.ai/v1/batch-calls")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zeroruntime.ai/v1/batch-calls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"pageInfo": {
"currentPage": 1,
"perPage": 10,
"lastPage": 1,
"total": 1
},
"batchCalls": [
{
"batchId": "btcl_k3x9q2",
"batchName": "October renewals",
"description": "Renewal reminders for gold and silver plans",
"phoneNumberId": "6f1d2c3a-8b4e-4f7a-9c21-0d5e6b7a8c90",
"phoneNumber": "+14155550100",
"routingRuleId": "rr_2554md",
"status": "running",
"timing": "scheduled",
"timezone": "Asia/Kolkata",
"scheduledDate": "2026-10-14",
"scheduledTime": "10:00",
"retry": {
"enabled": true,
"retryOn": [
"not-answered",
"failed"
],
"retryDelays": [
600,
3600
],
"maxAttempts": 2
},
"recordsUploaded": 250,
"parseError": null,
"file": {
"filename": "customers.csv",
"extension": ".csv",
"key": "batchcall/btcl_k3x9q2/1760261400000-customers.csv"
},
"timestamp": 1760416200,
"createdAt": "2026-10-12T09:30:00.000Z",
"updatedAt": "2026-10-14T04:30:02.000Z",
"progress": 42
}
]
}{
"message": "startDate must be before endDate"
}{
"error": "<string>"
}Authorizations
Your API token, sent raw (no Bearer prefix).
Query Parameters
Only batches in this status. Batches with parse_failed are left out unless you ask for them.
Available options:
parsing, parse_failed, scheduled, running, cancelling, cancelled, completed Created at or after this ISO 8601 datetime, e.g. 2026-10-01T00:00:00Z.
Created at or before this ISO 8601 datetime.
At least this many numbers (recordsUploaded).
Required range:
x >= 0At most this many numbers (recordsUploaded).
Required range:
x >= 0