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
| Field | Type | Required | Description |
|---|---|---|---|
| campaign_id | string (uuid) | No | One campaign |
| recipient_id | string (uuid) | No | One person in a campaign |
| candidate_id | string (uuid) | No | One candidate, over every campaign |
| job_id | string (uuid) | No | One job's campaigns |
| status | "in_progress" | "completed" | "partial" | "no_answer" | "failed" | No | Call status |
| kind | "campaign" | "test" | No | Default campaign. test: test calls |
| created_since | string (ISO 8601 date-time) | No | Calls that began at or after this |
| created_before | string (ISO 8601 date-time) | No | Calls that began before this |
| limit | integer | No | Page size (1–100, default 50) |
| offset | integer | No | Skip N records (default 0) |
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | — | Call id |
| kind | "campaign" | "test" | — | A test call is one you placed to yourself |
| campaign_id, campaign_name | string | null | — | null once the campaign is deleted |
| recipient_id, candidate_id, candidate_name | string | null | — | Who |
| job_id, job_title | string | 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_number | string | 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_at | string (ISO 8601 date-time) | null | — | When the agent said it would call back |
| dropped | boolean | — | Connected, but the result never arrived. Not charged |
| duration_seconds | integer | null | — | Time connected |
| credits_charged | number | null | — | Credits |
| score | number | null | — | 0–100: how closely the answers match the expected ones. null when the campaign has none, or not scored yet |
| has_recording | boolean | — | recording_url is on the detail |
| started_at, ended_at | string (ISO 8601 date-time) | null | — | When |
| created_at | string (ISO 8601 date-time) | — | When |
| Field | Type | Required | Description |
|---|---|---|---|
| meta.total | integer | — | Total matching records |
| meta.limit | integer | — | Page size used |
| meta.offset | integer | — | Offset used |
One call
| Field | Type | Required | Description |
|---|---|---|---|
| summary | string | null | — | What was said, in a few sentences |
| transcript | object[] | — | { speaker: "ai" | "candidate", text }, in order |
| answers | object[] | — | { 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_url | string | null | — | Signed link to the audio, playable in an <audio> element. Ready shortly after the call |
| recording_url_expires_at | string (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/callsCalls, newest first.
GET
/api/v1/ai-calling/calls/{id}One call with its transcript, answers and recording.