API · v1 · Stable

Build voice agents programmatically.

One REST API with TypeScript and Python SDKs, a CLI for agents as code, and an MCP server for Claude and Cursor. Place AI calls, search transcripts, and ship voice automations without rebuilding telephony.

99.9% API uptime<300ms median latencyTwo-factor and SSOIndia + Global SIP
agent.ts
// TypeScript SDK
import { Tellco } from "@tellco/sdk";
const tellco = new Tellco({ apiKey: process.env.TELLCO_API_KEY });
// Edit an agent as a draft, then publish it as a new version
await tellco.agents.saveDraft(agentId, {
first_message: "Namaste! How can I help you today?",
});
const { version } = await tellco.agents.publish(agentId, {
note: "Friendlier greeting",
});
console.log(version.version); // 8
Live API

Try every endpoint without leaving the browser.

Our live Swagger UI is wired straight to the production Tellco AI API. Sign in with your tenant API key, expand any endpoint, fill in the parameters, and hit Execute. The OpenAPI spec is also available as raw JSON for SDK generation.

Quickstart · 60 seconds

From zero to your first AI call.

Three commands. One curl. A real call on the wire.

01

Create a scoped key

Settings, API keys, Create key. Give it only the scopes it needs, for example agents:write and calls:write, and lock it to your server IPs.

export TELLCO_API_KEY="rwk_..."
02

Check what it can do

Any valid key can ask who it is. The answer lists its account and scopes.

curl https://tellco.ai/api/v1/developer/whoami -H "Authorization: Bearer $TELLCO_API_KEY"
03

Place a test call

Your agent dials, talks, and the call shows up in your call log with its transcript.

curl -X POST https://tellco.ai/api/v1/ai-agents/$AGENT_ID/test-call -H "Authorization: Bearer $TELLCO_API_KEY" -H "Content-Type: application/json" -d '{"to_number":"+919876543210"}'
Developer tools

Build agents from your editor.

Keep agents in git, let Claude or Cursor work on them, and script everything else with the SDKs. All of it runs on scoped API keys.

Agents as code with the tellco CLI

Pull an agent into a folder, edit the prompt in your editor, review it in a pull request, push it as a draft, and publish with a note. Live calls change only when you publish.

  • agents/<name>/agent.yaml plus prompt.md: clean git diffs
  • push saves a draft through the versioning API; publish asks before going live
  • Test with a real call, a free simulated caller, a terminal chat or the browser
  • Tail calls as they finish and export them to CSV or JSONL

Preview: the packages are not on npm or PyPI yet. Ask your Tellco contact for a build, or build them from the Tellco repository. The live API explorer documents every endpoint and the scope it needs.

Pull, edit, publish
tellco login --api-key rwk_...
tellco agents pull 0b28e936-... # agents/asha/agent.yaml + prompt.md
$EDITOR agents/asha/prompt.md
tellco agents push agents/asha # saves a draft, prints the diff
tellco agents publish agents/asha --note "Kinder greeting"
Test and observe
tellco agents test <agent id> --simulate --persona "Busy parent" --goal "Book Saturday"
tellco agents test <agent id> --call +919876543210
tellco calls tail --agent <agent id>
tellco calls export --since 7d --out calls.csv
CI
# GitHub Actions step: publish on merge to main
TELLCO_API_KEY=${{ secrets.TELLCO_API_KEY }} \
tellco agents push agents/asha --publish --note "$GITHUB_SHA" --yes
Endpoints

Every endpoint, fully typed.

12 endpoints across calls, agents, numbers, voices, and campaigns. All idempotent where it matters. All paginated where it grows.

Calls
Agents
Numbers
Voices
Campaigns
POST /v1/calls
Place an outbound AI call
{
"id": "call_8a4f7b9c-2e1d-4c5a",
"status": "queued",
"agent": "agent_apex_realty_v3",
"to": "+91 98765 43210",
"created_at": "2026-05-08T14:32:18Z",
"estimated_start": "2026-05-08T14:32:21Z",
"links": {
"self": "/v1/calls/call_8a4f7b9c-2e1d-4c5a",
"transcript": "/v1/calls/call_8a4f7b9c-2e1d-4c5a/transcript"
}
}
Rate limit: 100 req/min · Idempotent · 99.9% SLA
Works with

Pick your stack.

The same test call from TypeScript, Python, cURL or the tellco CLI.

tellco · sample (TypeScript)
import { Tellco } from "@tellco/sdk";
const tellco = new Tellco({ apiKey: process.env.TELLCO_API_KEY });
// Place a test call from one of your agents
const res = await tellco.agents.testCall(agentId, {
to_number: "+919876543210",
});
console.log(res.from_number);
Webhooks · Real-time

Stream every call event into your stack.

Sub-200 ms delivery. Signed payloads. Automatic retries with exponential backoff.

call.started

Call started

Fires when an agent picks up the line.

call.ended

Call ended

Fires when the call hangs up, successful or otherwise.

call.transcript.partial

Live transcript

Streams partial transcripts every 250 ms while the call is active.

call.transcript.final

Final transcript

Full transcript with timestamps, dispatched after call.ended.

call.sentiment.detected

Sentiment shift

Fires when the AI detects a meaningful sentiment change.

agent.created

Agent created

A new AI agent has been provisioned in your workspace.

campaign.completed

Campaign completed

All calls in a bulk campaign have terminated.

number.purchased

Number provisioned

A new India-optimized phone number is ready.

SDKs and tools

Two SDKs, a CLI, an MCP server.

Typed, tested, and built on the same scoped API keys. Preview: registry releases are pending, so ask us for a build or use the repository.

TS
Preview

TypeScript SDK

Typed client, retries, pagination, webhook verification.

import { Tellco } from "@tellco/sdk"
PY
Preview

Python SDK

Standard library only. Python 3.9 or newer.

from tellco import Tellco
CLI
Preview

tellco CLI

Agents as code: pull, push a draft, publish.

tellco agents pull <id>
MCP
Preview

MCP server

Claude Desktop, Claude Code and Cursor.

claude mcp add tellco -- node tellco-mcp/bin.js
Errors · Honest

When something breaks, you'll know exactly why.

Every error returns a stable code, a human message, and a docs link. Retry guidance baked in.

Status
Code
Meaning
Retry?
400
invalid_request
Your payload is malformed (missing field, wrong type).
Fix the request
401
unauthorized
Bad or missing API key.
Rotate key
403
forbidden
Key valid, but the resource isn't yours or the key lacks the scope.
Check the key scope
404
not_found
Resource ID doesn't exist or has been deleted.
Check the id
409
conflict
Idempotency conflict with a previous request.
Retry with new key
422
validation_error
Field validation failed (e.g., invalid phone number).
Fix data
429
rate_limited
You're sending faster than your tier allows.
Backoff
500
server_error
We broke. Sorry.
Exponential
502
bad_gateway
Upstream telco operator returned an error.
Exponential
503
service_unavailable
Brief planned/unplanned downtime.
Wait
Ready to build?

Get your API key. Place your first call in 10 minutes.

100 free minutes. No credit card. Test in production.

100 free minutesNo credit card5-min setupSecurity docs on request