Outbound calls

Bulk calls

Dial a whole list in one request. We queue the calls and place them for you.

POST /v1/calls/bulk (create) · GET /v1/calls/jobs/{id} (check) · scopes calls:write / calls:read

Bulk uses a saved agent (agentId) for every call. Need a different config per contact? Use per-contact overrides, or place individual inline-agent calls.


Start a job

curl -X POST https://platform.eurekatechlabs.com/v1/calls/bulk \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "agt_xxxxxxxxxxxx",
    "fromNumber": "+918008001234",
    "targets": [
      { "toNumber": "+919876543210", "overrides": { "firstMessage": "Hi Priya, about your appointment." } },
      { "toNumber": "+917654321098", "overrides": { "firstMessage": "Hi Rahul, about your appointment." } }
    ]
  }'
Field Required What
agentId yes The agent for every call in the job.
fromNumber yes Caller ID for all calls.
targets yes Up to 1,000 contacts. Each has a toNumber and optional overrides (firstMessage, prompt). If the agent has a welcome recording, the same audio plays on every call in the job.

Response — 202:

{
  "jobId": "job_xxxxxxxxxxxx",
  "status": "queued",
  "totalCount": 2,
  "agentId": "agt_xxxxxxxxxxxx",
  "fromNumber": "+918008001234"
}

Check progress

curl https://platform.eurekatechlabs.com/v1/calls/jobs/job_xxxxxxxxxxxx \
  -H "Authorization: Bearer ek_live_..."
{
  "id": "job_xxxxxxxxxxxx",
  "status": "in_progress",
  "totalCount": 2,
  "completedCount": 1,
  "failedCount": 0,
  "items": [
    { "id": "itm_aaa", "toNumber": "+919876543210", "status": "completed", "sessionId": "ses_xxx", "error": null },
    { "id": "itm_bbb", "toNumber": "+917654321098", "status": "pending",   "sessionId": null,      "error": null }
  ]
}
Job status Meaning
queued Received, not started yet.
in_progress Placing calls.
completed All calls attempted.
failed Couldn't start (e.g. bad agent).
Item status Meaning
pending Waiting to be dialed.
dialling Connecting now.
completed Call finished — check the sessionId for the outcome.
failed This number couldn't be called.

Limits

Limit Value
Targets per job 1,000
Concurrent jobs 3
Calls per minute Your plan's rate

Tip: subscribe to the call.ended webhook instead of polling each call.