> ## Documentation Index
> Fetch the complete documentation index at: https://humain.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Week of July 8, 2026

> Telegram bot, Mini App, and Business connections; Gemini Live voice pipeline; and a corrected session connection model across text, voice, and sandbox.

## New features

**New**

**Telegram bot, Mini App, and Business connections.** Manage kiosks from a Telegram bot with
slash commands, connect group chats so mentioning the bot triggers a full AI conversation, run
a complete workspace-management Mini App inside Telegram's WebView, and let a Business account
auto-reply to customer DMs using a kiosk's persona. Sell plan subscriptions and PAYG credit
bundles with Telegram Stars.

See the new [Telegram integration section](https://humain.mintlify.site/telegram/overview.md).

**New**

**Gemini Live voice pipeline.** Voice and VoIP sessions now run on Gemini Live — a single
audio-in/audio-out model that replaces the previous Deepgram STT → LLM → ElevenLabs TTS chain.
End-to-speech latency drops from 600–900 ms to 80–150 ms, and 90+ languages are supported
natively with no per-language STT/TTS configuration.

See [WebRTC voice](https://humain.mintlify.site/connections/webrtc-voice.md#gemini-live-architecture).

## Corrections

**Fixed**

**`agent_url` in the session-open response.** Real-time calls (WebSocket, WebRTC signalling,
session end) are served by a separate process from the one that opens sessions. `POST
    /v1/sessions` now documents the `agent_url` field these calls must use — previously the docs
incorrectly assumed the same host for every call in a session's lifetime.

**Fixed**

**Removed the fictional REST message endpoint.** `POST /v1/sessions/{sid}/message` never
existed on the server — text conversation turns have always run exclusively over the
WebSocket at `GET {agent_url}/v1/sessions/{sid}/ws`. Docs and the interactive text/voice
playgrounds are corrected to match, including the real single-frame-per-turn response
behavior (no token-by-token `chunk` frames from the server) and the `ws-ticket` flow browsers
need since they can't set an `Authorization` header on a WebSocket handshake.

**Fixed**

**Sandbox is a credential property, not a separate URL.** There is no
`sandbox.api.humain.ai` host. Sandbox behavior is determined entirely by using an `hk_test_…`
credential against the same `https://api.humain.ai` — issue one from **Kiosk → Credentials**
in the admin panel. Sandbox text sessions echo the input verbatim and sandbox voice sessions
run a record → beep → echo loop; per-turn guardrail and FraudGuard checks do not run against
sandbox traffic.

See [Sandbox mode](https://humain.mintlify.site/concepts/sandbox-mode.md).

**Fixed**

**Documented WebRTC and WebSocket error codes.** Added `INVALID_MODE`, `INVALID_SDP`,
`INVALID_CANDIDATE`, `NO_WEBRTC_SESSION`, `WEBRTC_RECONNECT_REQUIRED`, `SESSION_NOT_FOUND`,
and `MISSING_REQUIRED_VARIABLE` to the [error codes reference](https://humain.mintlify.site/concepts/error-codes.md), and
clarified that WebSocket turn errors always carry `code: "TURN_ERROR"` with the real reason
embedded as a prefix in `message`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.