Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://api.zudu.ai/batch-call/{id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>'import requests
url = "https://api.zudu.ai/batch-call/{id}"
headers = {
"X-API-KEY": "<api-key>",
"X-API-SECRET": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-API-KEY': '<api-key>', 'X-API-SECRET': '<api-key>'}
};
fetch('https://api.zudu.ai/batch-call/{id}', 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.zudu.ai/batch-call/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>",
"X-API-SECRET: <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.zudu.ai/batch-call/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("X-API-SECRET", "<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.zudu.ai/batch-call/{id}")
.header("X-API-KEY", "<api-key>")
.header("X-API-SECRET", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zudu.ai/batch-call/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
request["X-API-SECRET"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Batch call retrieved successfully",
"status": "success",
"error": null,
"data": {
"batch_call_id": "batch_call_a1b2c3d4e5f6789012345678901234567",
"name": "Q1 Sales Campaign",
"from_number": "+14157774444",
"scheduled_timestamp": 1735718400000,
"total_task_count": 100,
"total": 100,
"sent": 100,
"picked_up": 75,
"completed": 68,
"agent_id": "agent_7ff47846-c8a0-4304-ae13-88cfc31c1a03",
"organization_id": "e3yn0c4mivqs8y4yhb5k",
"status": "completed",
"timezone": "UTC",
"last_sent_timestamp": 1735718500000,
"tasks_url": "https://storage.azure.com/.../tasks.json",
"created_timestamp": 1735718400000
}
}{
"message": "Invalid request",
"status": "error",
"error": "Batch call ID must be in format: batch_call_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (32 hex characters)",
"data": null
}{
"message": "Access denied",
"status": "error",
"error": "Batch call does not belong to your organization",
"data": null
}{
"message": "Batch call not found",
"status": "error",
"error": "Batch call with ID batch_call_xxx does not exist",
"data": null
}Retrieves a batch call by ID.
curl --request GET \
--url https://api.zudu.ai/batch-call/{id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>'import requests
url = "https://api.zudu.ai/batch-call/{id}"
headers = {
"X-API-KEY": "<api-key>",
"X-API-SECRET": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-API-KEY': '<api-key>', 'X-API-SECRET': '<api-key>'}
};
fetch('https://api.zudu.ai/batch-call/{id}', 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.zudu.ai/batch-call/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>",
"X-API-SECRET: <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.zudu.ai/batch-call/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("X-API-SECRET", "<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.zudu.ai/batch-call/{id}")
.header("X-API-KEY", "<api-key>")
.header("X-API-SECRET", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zudu.ai/batch-call/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
request["X-API-SECRET"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Batch call retrieved successfully",
"status": "success",
"error": null,
"data": {
"batch_call_id": "batch_call_a1b2c3d4e5f6789012345678901234567",
"name": "Q1 Sales Campaign",
"from_number": "+14157774444",
"scheduled_timestamp": 1735718400000,
"total_task_count": 100,
"total": 100,
"sent": 100,
"picked_up": 75,
"completed": 68,
"agent_id": "agent_7ff47846-c8a0-4304-ae13-88cfc31c1a03",
"organization_id": "e3yn0c4mivqs8y4yhb5k",
"status": "completed",
"timezone": "UTC",
"last_sent_timestamp": 1735718500000,
"tasks_url": "https://storage.azure.com/.../tasks.json",
"created_timestamp": 1735718400000
}
}{
"message": "Invalid request",
"status": "error",
"error": "Batch call ID must be in format: batch_call_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (32 hex characters)",
"data": null
}{
"message": "Access denied",
"status": "error",
"error": "Batch call does not belong to your organization",
"data": null
}{
"message": "Batch call not found",
"status": "error",
"error": "Batch call with ID batch_call_xxx does not exist",
"data": null
}batch_call_[a-fA-F0-9]{32}.API Key for MCP server and external service authentication
API Secret for MCP server and external service authentication
Batch call ID (batch_call_[32-hex-chars])
"batch_call_a1b2c3d4e5f6789012345678901234567"