Teli

Developers & API

Voice, SMS, and email you can script.

Skip building telephony plumbing, SMS thread memory, and email triggers from scratch. Use Teli's REST API and webhooks instead.

curl -X POST https://api.theteli.com/v1/agents \
  -H "Authorization: Bearer $TELI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Inbound & Follow-up Agent",
    "channels": ["voice", "sms", "email"],
    "knowledge_base_id": "kb_94f1a",
    "calendar_provider": "google",
    "daily_spend_cap_usd": 50
  }'

Illustrative endpoint shapes shown above. Full OpenAPI reference ships with workspace API access.

API surface

Building blocks for product and agency teams

Agents, numbers & senders API

Create and update agents programmatically, attach phone numbers or email senders, upload knowledge documents, and query usage metrics per workspace.

Workspace-scoped API keys

Keys are isolated to a single workspace, displayed once on creation, and metered with per-key rate limits and spend visibility.

Mid-conversation custom tools

Give your agent typed HTTPS endpoints to call live during a phone call, SMS thread, or email triage to check inventory, CRMs, or custom business logic.

Signed webhooks & delivery logs

Every event is HMAC-signed, retried with exponential backoff on failure, and recorded in a searchable webhook delivery log inside your workspace.

Event stream

Signed webhook events for every state change

call.started / call.ended

Fires when an inbound or outbound voice session connects and when it finishes with duration and status.

transcript.ready

Delivers full speaker-labeled transcript, concise summary, and extracted customer intent.

sms.received / sms.sent

Streams two-way text message payloads, thread IDs, and delivery receipts.

email.dispatched

Confirms confirmation, follow up, or invoice email delivery and template metadata.

booking.created / booking.updated

Emits structured calendar slot details whenever an appointment is scheduled, moved, or canceled.

tool.failed

Alerts your engineering team immediately if a custom endpoint times out or returns a non-2xx response.