AI calls

Every call a campaign placed, or that a candidate made back to its number. A person can have several: retries, call backs, calling again. A dial that never connected is not a call.

Score. How closely the answers match the expected_answer of each question that has one; it is not a judgement of the candidate. A question the call never reached is left out rather than scored zero. It follows the end of the call shortly.

Recordings are a signed link that lasts an hour, on the detail only. Treat it as private: anyone holding it can listen until it runs out.

List

GET /api/v1/ai-calling/calls: query
FieldTypeRequiredDescription
campaign_idstring (uuid)NoOne campaign
recipient_idstring (uuid)NoOne person in a campaign
candidate_idstring (uuid)NoOne candidate, over every campaign
job_idstring (uuid)NoOne job's campaigns
status"in_progress" | "completed" | "partial" | "no_answer" | "failed"NoCall status
kind"campaign" | "test"NoDefault campaign. test: test calls
created_sincestring (ISO 8601 date-time)NoCalls that began at or after this
created_beforestring (ISO 8601 date-time)NoCalls that began before this
limitintegerNoPage size (1–100, default 50)
offsetintegerNoSkip N records (default 0)
Each call
FieldTypeRequiredDescription
idstring (uuid)—Call id
kind"campaign" | "test"—A test call is one you placed to yourself
campaign_id, campaign_namestring | null—null once the campaign is deleted
recipient_id, candidate_id, candidate_namestring | null—Who
job_id, job_titlestring | null—The job, or the list campaign's topic
direction"outbound" | "inbound"—inbound: they rang the campaign's number back and the agent took the call
from_number, to_numberstring | null—Who rang whom
status"in_progress" | "completed" | "partial" | "no_answer" | "failed"—While in_progress, the outcome fields are null
end_reason"asked_for_person" | "callback_scheduled" | "callback_requested" | null—How it ended, when the status does not say
callback_atstring (ISO 8601 date-time) | null—When the agent said it would call back
droppedboolean—Connected, but the result never arrived. Not charged
duration_secondsinteger | null—Time connected
credits_chargednumber | null—Credits
scorenumber | null—0–100: how closely the answers match the expected ones. null when the campaign has none, or not scored yet
has_recordingboolean—recording_url is on the detail
started_at, ended_atstring (ISO 8601 date-time) | null—When
created_atstring (ISO 8601 date-time)—When
List meta
FieldTypeRequiredDescription
meta.totalinteger—Total matching records
meta.limitinteger—Page size used
meta.offsetinteger—Offset used

One call

GET /api/v1/ai-calling/calls/{id}: the fields above, plus
FieldTypeRequiredDescription
summarystring | null—What was said, in a few sentences
transcriptobject[]—{ speaker: "ai" | "candidate", text }, in order
answersobject[]—{ question_id, kind, question, answer, value, expected_answer, score, justification }. value is the answer read as a number or choice, when it could be
recording_urlstring | null—Signed link to the audio, playable in an <audio> element. Ready shortly after the call
recording_url_expires_atstring (ISO 8601 date-time) | null—One hour on. Read the call again for a fresh link
recording_content_type"audio/wav" | null—The audio's format
Response example
{
  "data": {
    "id": "7c5de2a4-8f52-4a57-8a0f-3d1f6b0f9a20",
    "kind": "campaign",
    "campaign_id": "44f14888-1b21-4bd2-baa0-d53447c22b7c",
    "campaign_name": "Website leads",
    "recipient_id": "b41c2f86-6c1e-4d0a-9a53-0c2f5f0f7d11",
    "candidate_id": "0d3b7b0e-32c5-4f9b-8a3e-9d1f3a6a2c44",
    "candidate_name": "Asha Rao",
    "job_id": null,
    "job_title": "Sales Executive in Pune",
    "direction": "outbound",
    "from_number": "+919876500000",
    "to_number": "+919876543210",
    "status": "completed",
    "dropped": false,
    "end_reason": null,
    "callback_at": null,
    "duration_seconds": 148,
    "credits_charged": 2.55,
    "score": 82.5,
    "has_recording": true,
    "started_at": "2026-11-30T09:01:42.000Z",
    "ended_at": "2026-11-30T09:04:10.000Z",
    "created_at": "2026-11-30T09:01:42.000Z",
    "summary": "Open to field sales, has a two-wheeler, can join in 15 days.",
    "transcript": [
      { "speaker": "ai", "text": "Hello Asha, I'm Priya from Your Agency…" },
      { "speaker": "candidate", "text": "Yes, I can talk now." }
    ],
    "answers": [
      {
        "question_id": "notice_period_days",
        "kind": "standard",
        "question": "What is your notice period, in days?",
        "answer": "15 days",
        "value": 15,
        "expected_answer": "30 days or less",
        "score": 90,
        "justification": "15 days is shorter than the 30 asked for."
      }
    ],
    "recording_url": "https://…/recording.wav?X-Amz-Expires=3600&X-Amz-Signature=…",
    "recording_url_expires_at": "2026-11-30T10:05:00.000Z",
    "recording_content_type": "audio/wav"
  }
}

To know when a call has finished, follow its recipient.

GET/api/v1/ai-calling/calls

Calls, newest first.

GET/api/v1/ai-calling/calls/{id}

One call with its transcript, answers and recording.