AI calling recipients

A recipient is one person in one campaign, and where they have got to. Test calls are not recipients.

Add people

For list campaigns, in any state but cancelled: up to 500 at a time and 2,000 in all. If the campaign is running they are called in turn, and a completed one starts running again. Anyone already in the campaign is not called again, so sending the same people twice is safe.

Someone whose mobile number is on one of your candidates is called as that candidate. Anyone else becomes a new candidate, which counts towards your plan's candidate limit.

A job campaign answers 409 conflict: apply the candidate to the job, in a status the campaign calls, and it picks them up.

POST body
{
  "contacts": [
    { "name": "Asha Rao", "phone": "9876543210" },
    { "name": "Ravi Kumar", "phone": "+91 98765 43211" },
    { "name": "Office", "phone": "020-2567-8901" }
  ]
}
Response
FieldTypeRequiredDescription
addedinteger—People who joined now (201 when any did, else 200)
already_in_campaigninteger—People it already had. They are not called again
candidates_createdinteger—New candidates in your database. The others matched one you had, by mobile number
skippedobject[]—{ index, name, phone, reason }: no_name, not_an_indian_mobile or duplicate
recipientsobject[]—{ id, candidate_id, name, phone, status } of everyone sent who is in the campaign
recipients_totalinteger—People in the campaign now
campaign_statusstring—running again if a completed campaign was given someone new
Response example
{
  "data": {
    "campaign_id": "44f14888-1b21-4bd2-baa0-d53447c22b7c",
    "campaign_status": "running",
    "added": 2,
    "already_in_campaign": 0,
    "candidates_created": 1,
    "skipped": [
      { "index": 2, "name": "Office", "phone": "020-2567-8901", "reason": "not_an_indian_mobile" }
    ],
    "recipients_total": 42,
    "recipients": [
      {
        "id": "b41c2f86-6c1e-4d0a-9a53-0c2f5f0f7d11",
        "candidate_id": "0d3b7b0e-32c5-4f9b-8a3e-9d1f3a6a2c44",
        "name": "Asha Rao",
        "phone": "+919876543210",
        "status": "pending"
      }
    ]
  }
}

List and follow

GET /api/v1/ai-calling/campaigns/{id}/recipients: query
FieldTypeRequiredDescription
statusstringNoA recipient status
candidate_idstring (uuid)NoOne candidate
updated_sincestring (ISO 8601 date-time)NoOnly people changed at or after this time, oldest change first. For polling: send the last updated_at you saw
limitintegerNoPage size (1–100, default 50)
offsetintegerNoSkip N records (default 0)
Each recipient
FieldTypeRequiredDescription
idstring (uuid)—Recipient id
campaign_idstring (uuid)—Campaign
candidate_idstring (uuid)—The candidate, for /candidates/{id}
application_idstring (uuid) | null—Their application to the job; null in a list campaign
name, email, phonestring | null—email is null when none is known
status"pending" | "queued" | "calling" | "completed" | "partial" | "no_answer" | "failed" | "skipped"—See below
attemptsinteger—Tries so far
callback_scheduledboolean—They asked to be called back, at next_attempt_at
next_attempt_atstring (ISO 8601 date-time) | null—When they are next due a call; null: as soon as it is their turn
last_attempt_atstring (ISO 8601 date-time) | null—Last try
errorstring | null—Why a call could not be placed
credits_usednumber—Over all their calls
latest_callobject | null—{ id, status, duration_seconds, score, started_at, ended_at, created_at }
created_at, updated_atstring (ISO 8601 date-time)—When
status
FieldTypeRequiredDescription
pendingstatus—Waiting for a call, or for a retry or call back at next_attempt_at
queuedstatus—Being dialled
callingstatus—On the call
completedstatus—Finished the screening
partialstatus—Answered, but the call ended before the screening did. Not called again by itself
no_answerstatus—Did not answer, and every retry is used
failedstatus—Could not be called: see error
skippedstatus—Left out
List meta
FieldTypeRequiredDescription
meta.totalinteger—Total matching records
meta.limitinteger—Page size used
meta.offsetinteger—Offset used
One recipient
{
  "data": {
    "id": "b41c2f86-6c1e-4d0a-9a53-0c2f5f0f7d11",
    "campaign_id": "44f14888-1b21-4bd2-baa0-d53447c22b7c",
    "candidate_id": "0d3b7b0e-32c5-4f9b-8a3e-9d1f3a6a2c44",
    "application_id": null,
    "name": "Asha Rao",
    "email": null,
    "phone": "+919876543210",
    "status": "completed",
    "attempts": 1,
    "callback_scheduled": false,
    "next_attempt_at": null,
    "last_attempt_at": "2026-11-30T09:04:10.000Z",
    "error": null,
    "credits_used": 2.55,
    "latest_call": {
      "id": "7c5de2a4-8f52-4a57-8a0f-3d1f6b0f9a20",
      "status": "completed",
      "duration_seconds": 148,
      "score": 82.5,
      "started_at": "2026-11-30T09:01:42.000Z",
      "ended_at": "2026-11-30T09:04:10.000Z",
      "created_at": "2026-11-30T09:01:42.000Z"
    },
    "created_at": "2026-11-30T09:01:20.000Z",
    "updated_at": "2026-11-30T09:04:12.000Z"
  }
}

Call someone again

Calls that one person now, or when the calling hours next open, whatever happened last time. Real, and billed. The campaign must be pending, running, completed or failed: a paused one answers 409, because resuming it would call everyone else waiting too. Not while a call to them is going on. The answer is the recipient, with:

FieldTypeRequiredDescription
dialing.statestring—What the dialer is doing now (below)
dialing.calls_startedinteger—Calls handed over by this request
dialing.messagestring | null—Why, in words

Call backs

When someone cannot talk and says when to ring, the agent schedules it: callback_scheduled is true and next_attempt_at is the time. cancel-callback takes it back, and they are not rung again.

POST/api/v1/ai-calling/campaigns/{id}/recipients

Add people to a list campaign. 201 when anyone was added, 200 when all were already there.

GET/api/v1/ai-calling/campaigns/{id}/recipients

Everyone in the campaign, or what changed.

GET/api/v1/ai-calling/campaigns/{id}/recipients/{recipient_id}

One person.

POST/api/v1/ai-calling/campaigns/{id}/recipients/{recipient_id}/call-again

Call one person again. No body.

POST/api/v1/ai-calling/campaigns/{id}/recipients/{recipient_id}/cancel-callback

Take back a promised call back. No body.