Documentation outline for the planned platform. Endpoints are illustrative and not live yet.
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.
Web widget (allowed domains only), phone (forwarded line, SIP/BYOC, or a verified Botswana number) and in-app voice using server-issued session tokens.
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"}'| Event | When |
|---|---|
| session.started | A call or web session begins |
| session.ended | A session ends, with duration and outcome |
| escalation.created | A callback ticket or transfer is requested |
| agent.published | A new version goes live |
| usage.threshold | Spend reaches 50, 80 or 100% of the cap |
Concurrent sessions, outbound calling and spend caps are set per organization and shown in Settings.