POST
/
api
/
workers
/
{workerId}
/
deployments
/
voicev1
/
{deploymentId}
/
make-batch-calls
import os
from brainbase_labs import BrainbaseLabs

client = BrainbaseLabs(
    api_key=os.environ.get("BRAINBASE_LABS_API_KEY"),  # This is the default and can be omitted
)
client.workers.deployments.voicev1.make_batch_calls(
    deployment_id="deploymentId",
    worker_id="workerId",
    batch_interval_minutes="batch_interval_minutes",
    batch_size="batch_size",
    data=[{
        "id": "id",
        "phone_number": "phoneNumber",
    }],
)

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required
deploymentId
string
required

Body

application/json

Response

200

Batch calls started successfully