For developers

Send leads in. Get results back as JSON.

Post a lead from any form, app or backend and Tara calls it. When the call ends, the outcome, summary, captured answers, recording link and cost come back to your endpoint.

Your webhook address and signing secret are in your workspace after sign-up.

Your webhook address

Example

https://<your-tara-lead-address>

One address per workspace. Keep the key private, like a password.

  1. Your system sends a lead

    POST JSON to your webhook address.

  2. Tara calls within about a minute

    Inside your calling hours, in the customer's language.

  3. You get the result

    Tara POSTs a signed call.completed event to your endpoint.

1. Send leads

One POST per lead.

Send JSON to your webhook address. Only the phone number is required; everything else makes the call better.

Send a new lead (example)

curl
curl -X POST https://<your-tara-lead-address> \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ramesh Kumar",
    "phone": "+919876543210",
    "language": "te",
    "source": "website",
    "external_id": "web-20931",
    "fields": { "project": "Green Valley Villas", "budget": "85 lakh" },
    "schedule": { "not_before": "2026-11-12T10:00:00+05:30" }
  }'

Reply (example)

http
HTTP/1.1 202 Accepted

{
  "lead_id": "ld_4q8n2m",
  "status": "queued",
  "duplicate": false
}
Lead fields
FieldNeededWhat it's for
phoneRequiredIndian mobile number, with or without +91.
nameRecommendedUsed in the greeting. Tara asks politely if it's missing.
sourceOptionalWhere the lead came from, e.g. website, app, expo. Shown on the lead and in results.
languageOptionalLanguage to start in, e.g. hi, te, ta. Tara follows the customer if they switch.
external_idOptionalYour own ID for the lead. Comes back in every result, and helps catch duplicates.
fieldsOptionalAny extra details as key–value pairs: project, budget, policy number, order value. The agent can use them in the call.
scheduleOptionalnot_before: don't call earlier than this time. Calling hours still apply.
Field mapping

Your field names are fine.

If your form already sends its own JSON, you don't have to change it. Map your field names to Tara's once, in the workspace, and send leads as they are.

Field mapping

Example
  • full_namename
  • mobile_nophone
  • utm_sourcesource
  • project_interestfields.project
  • budget_rangefields.budget

Duplicates

A second lead with the same phone number (or the same external_id) is treated as the same person. It isn't called twice in a row, and Tara remembers the earlier call when it does call again. The reply tells you it was a duplicate.

When calls happen

New leads are called within about a minute, inside the calling hours set on the agent, and never outside 9 am to 9 pm. Leads that arrive at night are called the next morning. Use schedule.not_before to hold a lead until later.

Signed webhooks

Every request Tara sends you carries an X-Tara-Signature header: an HMAC-SHA256 of the raw body using your signing secret. Check it before trusting the data. The secret is in your workspace.

Retries

If your endpoint doesn't reply with a 2xx, Tara retries with growing gaps for a while. Reply fast and do slow work later. Use call_id to ignore a result you've already saved.

2. Get results

A signed event when every call ends.

Add your endpoint in the workspace. Tara sends a POST with everything your team would want to know about the call.

call.completed
A call ended. Includes the outcome, summary, captured fields, recording link and cost.
outcome
Example values: interested, not_interested, call_back, no_answer, transferred. The full list is shown in your workspace.
fields
The answers the agent was asked to capture, with the names you gave them.
cost_inr
What the call cost in rupees, before GST. Unanswered calls cost 0.

Receive the call result (example)

json
{
  "event": "call.completed",
  "call_id": "cl_8f2k1x",
  "lead": {
    "name": "Ramesh Kumar",
    "phone": "+919876543210",
    "external_id": "web-20931"
  },
  "agent": "Sravani",
  "language": "te",
  "duration_sec": 154,
  "outcome": "interested",
  "summary": "Wants a 3BHK up to 85 lakh. Visit booked.",
  "fields": {
    "bhk": "3",
    "budget_max": 8500000,
    "visit_at": "2026-11-14T11:00:00+05:30"
  },
  "recording_url": "https://…",
  "cost_inr": 15
}
Verify the signature

Check it came from Zastly.

Compute an HMAC-SHA256 of the raw request body with your signing secret and compare it with the X-Tara-Signature header. Reject anything that doesn't match.

Verify a webhook (example)

node
// Node.js (Express). Use the raw request body, not re-serialised JSON.
import crypto from "node:crypto";

app.post("/tara/results", express.raw({ type: "application/json" }), (req, res) => {
  const sent = req.get("X-Tara-Signature") ?? "";       // "sha256=…"
  const mac = crypto
    .createHmac("sha256", process.env.TARA_SIGNING_SECRET)
    .update(req.body)
    .digest("hex");
  const ok = sent.length === mac.length + 7 &&
    crypto.timingSafeEqual(Buffer.from(sent), Buffer.from("sha256=" + mac));
  if (!ok) return res.sendStatus(401);

  const event = JSON.parse(req.body);
  // Save it, keyed by event.call_id, then reply quickly.
  res.sendStatus(200);
});
3. In-call lookups

Tara can ask your system mid-call.

Give the agent an endpoint and tell it when to use it. When a customer asks "how much is my EMI?", Tara calls your API, waits for the answer and says it in their language.

Tara asks your API (example)

http
POST https://api.yourcompany.in/tara/emi-due
X-Tara-Signature: sha256=…
Content-Type: application/json

{
  "call_id": "cl_2m7c9d",
  "phone": "+919900112238",
  "args": { "loan_id": "TW-118204" }
}

Your API answers (example)

json
{
  "due_amount": 3450,
  "due_date": "2026-12-05",
  "payment_link": "https://rzp.io/…"
}

Deepa with Manjunath R.

ಕನ್ನಡ · Bengaluru KannadaExample
  1. Manjunath R.0:21

    ಈ ಸಲ EMI ಎಷ್ಟು ಇದೆ?

    How much is the EMI this time?

  2. Deepa0:23

    ₹3,450 ಇದೆ, December 5ಕ್ಕೆ due. Link WhatsApp ಗೆ ಕಳಿಸ್ಲಾ?

    It's ₹3,450, due on 5 December. Shall I send the link on WhatsApp?

  • Reply within a second or two. The customer is waiting on the line.
  • Return only what the agent should say. Tara reads out the fields you return, nothing more.
  • If your API doesn't answer, Tara tells the customer a person will confirm, and flags the call.
No code needed

Or use a ready-made integration.

Most lead sources, CRMs, WhatsApp and calendars connect from the Integrations page. n8n and Zapier cover the rest.

How connecting works
Lead sources
  • Meta lead ads
  • Google Ads lead forms
  • 9999acres
  • MBMagicBricks
  • HHousing.com
  • JdJustDial
  • IMIndiaMART
CRM and sheets
  • Zoho CRM
  • HubSpot
  • LSLeadSquared
  • SFSalesforce
  • Google Sheets
Messages, calendar and payments
  • WhatsApp Business
  • Gmail
  • Google Calendar
  • Calendly
  • Razorpay
  • Shopify
Phone and automation
  • Your phone line (SIP)
  • Your own number
  • n8n
  • Zapier
  • Webhooks

Start free and get your webhook address.

50 bonus credits. Send a test lead and watch it arrive in a few minutes; phone calls start after your first top-up.