POST
/
api
/
workers
/
{workerId}
/
deployments
/
voicev1
/
{deploymentId}
/
make-batch-calls
curl --request POST \
  --url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deployments/voicev1/{deploymentId}/make-batch-calls \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "data": [
    {
      "id": "<string>",
      "phoneNumber": "<string>",
      "status": "<string>"
    }
  ],
  "condition": "<string>",
  "extractions": {},
  "batch_size": "<string>",
  "batch_interval_minutes": "<string>",
  "wsUrl": "<string>",
  "additional_data": {}
}'

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