Preview

Documentation outline for the planned platform. Endpoints are illustrative and not live yet.

Quick start

  1. Create your organization and verify your email.
  2. Run the 5-step agent wizard.
  3. Test from the browser microphone.
  4. Publish, then connect a channel.

Knowledge sources

PDF, DOCX, TXT and CSV up to 20 MB, or pasted text. Sources move through Scanning Indexing and end as Ready or Failed. The agent only uses sources that are Ready in the published version.

Channels

Web widget (allowed domains only), phone (forwarded line, SIP/BYOC, or a verified Botswana number) and in-app voice using server-issued session tokens.

API overview

REST over HTTPS at api.leseding.co.bw/v1. Server keys are secret and shown once; client tokens are short-lived.

curl -X POST https://api.leseding.co.bw/v1/voice/sessions \
  -H "Authorization: Bearer $LESEDING_KEY" \
  -H "Idempotency-Key: 6f1c…" \
  -d '{"agent_id":"ag_reception","channel":"web"}'

Webhooks & events

EventWhen
session.startedA call or web session begins
session.endedA session ends, with duration and outcome
escalation.createdA callback ticket or transfer is requested
agent.publishedA new version goes live
usage.thresholdSpend reaches 50, 80 or 100% of the cap

Limits

Concurrent sessions, outbound calling and spend caps are set per organization and shown in Settings.