AI calling
An AI agent phones candidates, asks your questions and records the answers. With this API your own system creates the campaigns, sends the people to call, and reads back each call: transcript, answers, score and recording. It follows the same rules as the dashboard, and the two can be used together on the same campaigns.
There are two kinds of campaign:
- job calls a job's candidates by pipeline status, now and as they reach it. Add people by applying them to the job.
- list calls the people you send, about a topic you write. It needs no job, and takes new people while it runs.
From nothing to a result
# 1. Can we call, and from which number?
curl -s https://talynce.com/api/v1/ai-calling/account -H "Authorization: Bearer $KEY"
curl -s https://talynce.com/api/v1/ai-calling/numbers -H "Authorization: Bearer $KEY"
# 2. Create a draft. Nobody is called yet.
curl -s -X POST https://talynce.com/api/v1/ai-calling/campaigns \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{
"type": "list",
"name": "Website leads",
"external_id": "website-leads-2026-12",
"phone_number_id": "642251b5-2e84-424b-921c-1ec72ce769bd",
"call_topic": { "title": "Sales Executive in Pune", "company": "Acme" },
"custom_questions": [{ "question": "Are you open to field sales?", "expected_answer": "Yes" }],
"standard_questions": ["notice_period_days", "expected_ctc"]
}'
# 3. Hear it first: one real call to your own phone.
curl -s -X POST https://talynce.com/api/v1/ai-calling/campaigns/$ID/test-call \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{ "phone": "9876543210" }'
# 4. Start it. Real calls, billed in credits.
curl -s -X POST https://talynce.com/api/v1/ai-calling/campaigns/$ID/start -H "Authorization: Bearer $KEY"
# 5. Send each new lead as it arrives. They are called in turn.
curl -s -X POST https://talynce.com/api/v1/ai-calling/campaigns/$ID/recipients \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{ "contacts": [{ "name": "Asha Rao", "phone": "9876543210" }] }'
# 6. Every few minutes: who has changed since last time?
curl -s "https://talynce.com/api/v1/ai-calling/campaigns/$ID/recipients?updated_since=2026-11-30T09:00:00Z" \
-H "Authorization: Bearer $KEY"
# 7. The whole conversation, answers, score and recording.
curl -s https://talynce.com/api/v1/ai-calling/calls/$CALL_ID -H "Authorization: Bearer $KEY"Before you start
- Plan. The API needs a paid plan. Set up AI calling and buy a number in the dashboard; numbers cannot be bought here.
- Nothing rings until you say so. Creating or changing a campaign never places a call. Starting or resuming one, calling someone again, a test call, and adding people to a campaign that has been started all do.
- Cost. 0.17 credits for every 10 seconds connected, rounded up, with a minimum of 10 seconds. A voicemail that answers is connected. A dial that never connects is free. With too few credits for a one-minute call a campaign waits, and carries on by itself once there are enough.
- Indian mobile numbers only. Anyone else is left out and named in the answer, with the reason. A number starting with + and another country's code is never read as an Indian one.
- Calling hours are India time (Asia/Kolkata), 9:00 to 20:00 Monday to Saturday unless you set others. Campaigns share calling lines and take turns.
- Retries are safe. Send
external_idwhen creating a campaign: the same id answers with the same campaign. Adding the same person twice does not call them twice. - Unknown fields are refused with
400 validation_error, so a misspelt name cannot quietly change who is called. - You are responsible for having each person's consent to be called. Asked whether it is a person, the agent says it is an AI assistant.
Getting results
There is no webhook: poll. Ask GET /api/v1/ai-calling/campaigns/{id}/recipients?updated_since=… every few minutes for who has changed, then read latest_call.id of anyone completed or partial. People come oldest change first, so carry on from the last updated_at you saw; the same person can come again, so match on id. The score and the recording can follow the status by a minute or two. The limit is 300 requests every 15 minutes for each key, over the whole API.
Answers to the standard questions are also saved on the candidate, and answers to a job's own questions on the application, so candidates already carry them.
Account
| Field | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | — | AI calling is switched on |
| ready | boolean | — | Your organization is set up, with a number a campaign can use |
| can_place_calls | boolean | — | ready, with enough credits for a one-minute call |
| credit_balance | number | — | Credits left |
| minimum_credits_to_call | number | — | Credits a campaign needs before it dials: one minute's worth |
| pricing | object | — | { credits, per_seconds }: 0.17 credits for every 10 seconds connected |
| numbers | object | — | { total, active, available_for_campaigns } |
{
"data": {
"enabled": true,
"ready": true,
"can_place_calls": true,
"credit_balance": 100,
"minimum_credits_to_call": 1.02,
"pricing": { "credits": 0.17, "per_seconds": 10 },
"numbers": { "total": 2, "active": 2, "available_for_campaigns": 1 }
}
}Numbers
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | — | Use as phone_number_id |
| number | string | — | The number candidates see, e.g. +919876500000 |
| name | string | null | — | Your name for it |
| status | "provisioning" | "active" | "expired" | "released" | "failed" | — | Only an active number can call |
| status_reason | string | null | — | Why a number that is not active stopped |
| available_for_campaigns | boolean | — | active, and not a recruiter's own line |
| assigned_to_recruiter | boolean | — | A recruiter's own calling line: no campaign may use it |
| auto_renew | boolean | — | Renews every month |
| expires_at | string (ISO 8601 date-time) | null | — | Renewal date |
| created_at | string (ISO 8601 date-time) | — | Bought |
Questions
| Field | Type | Required | Description |
|---|---|---|---|
| job_id | string (uuid) | No | Also list this job's own questions |
| Field | Type | Required | Description |
|---|---|---|---|
| standard_questions | object[] | — | { id, label, question, type, required }: the questions any campaign can ask |
| pre_interview_questions | object[] | null | — | { id, question, type, required, options }: the job's own questions. null without job_id |
Errors
400 validation_error: a field is missing, misspelt or out of range.details.issuesnames each one400 invalid_pipeline_status:details.allowedlists your statuses403 insufficient_credits: a test call or call again without a minute's worth of credits403 candidate_limit_reached: your plan has no room for the new people403 upgrade_required: the free plan404 not_found: not in your organization409 conflict: the campaign is not in a state for that.allowed_actionson a campaign says what is503 ai_calling_unavailable: calls cannot be placed at the moment
/api/v1/ai-calling/accountWhether calls can be placed, and the credit balance.
/api/v1/ai-calling/numbersYour calling numbers.
/api/v1/ai-calling/questionsThe questions a campaign can ask.