curl --request GET \
--url https://api.bland.ai/v2/batches/list \
--header 'authorization: <authorization>'{
"data": [
{
"id": "652ad643-9gca-477c-97c3-9d8e6t74d7af",
"user_id": "64602f94-d670-43d2-8474-bcdcb9522c4f",
"base_prompt": "{\"record\":true,\"task\":\"Say hello to the user\"}",
"created_at": "2025-05-08T19:28:12.627Z",
"call_objects": [
{
"task": "Say hello to the user",
"phone_number": "+1234567890"
}
],
"description": "My first batch"
}
],
"errors": null
}
Retrieve a list of all batches created by your organization.
curl --request GET \
--url https://api.bland.ai/v2/batches/list \
--header 'authorization: <authorization>'{
"data": [
{
"id": "652ad643-9gca-477c-97c3-9d8e6t74d7af",
"user_id": "64602f94-d670-43d2-8474-bcdcb9522c4f",
"base_prompt": "{\"record\":true,\"task\":\"Say hello to the user\"}",
"created_at": "2025-05-08T19:28:12.627Z",
"call_objects": [
{
"task": "Say hello to the user",
"phone_number": "+1234567890"
}
],
"description": "My first batch"
}
],
"errors": null
}
null on success.{
"data": [
{
"id": "652ad643-9gca-477c-97c3-9d8e6t74d7af",
"user_id": "64602f94-d670-43d2-8474-bcdcb9522c4f",
"base_prompt": "{\"record\":true,\"task\":\"Say hello to the user\"}",
"created_at": "2025-05-08T19:28:12.627Z",
"call_objects": [
{
"task": "Say hello to the user",
"phone_number": "+1234567890"
}
],
"description": "My first batch"
}
],
"errors": null
}
Was this page helpful?