> ## 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.

# Welcome to Humain Kiosk

> Ship AI conversations on any channel — kiosk terminal, phone line, website widget, or drive-through — with a single API.

Humain Kiosk is a multi-channel AI conversation platform. Your team configures AI-powered personas,
uploads knowledge documents, and sets behavioural guardrails in the admin panel. Physical devices —
terminals, VoIP adapters, website widgets — authenticate with per-device API tokens and talk to users.
All intelligence runs server-side. Devices are thin clients.

> [!TIP]
>
> Use an **`hk_test_…` sandbox credential** during development — there is no separate sandbox
> URL, sandbox behavior comes from the credential itself. No AI credits are consumed and no
> billing events are generated. Switch to an `hk_live_…` credential when you are ready to go
> live. See [Sandbox mode](https://humain.mintlify.site/concepts/sandbox-mode.md).

## What you can build

> [card] [Retail kiosk](https://humain.mintlify.site/embedded/overview.md)
>
> Self-service information and ordering on a touchscreen terminal. Customers ask questions
> and get instant, accurate answers from your product catalogue.

> [card] [Phone support](https://humain.mintlify.site/voip/overview.md)
>
> Replace hold music with an AI that understands callers and escalates to a human when
> needed. Plug in via SIP or a VoIP adapter.

> [card] [Website widget](https://humain.mintlify.site/web/quickstart.md)
>
> Embed a chat widget on any page. A persistent WebSocket keeps the conversation fast and
> responsive without managing LLM infrastructure.

> [card] [Drive-through](https://humain.mintlify.site/connections/webrtc-voice.md)
>
> Real-time voice ordering with sub-200 ms latency over WebRTC. Supports barge-in so
> customers can interrupt mid-sentence.

> [card] [Hotel concierge](https://humain.mintlify.site/embedded/raspberry-pi.md)
>
> Always-on room service, local recommendations, and check-in assistance — in the guest's
> language, at any hour.

> [card] [WordPress site](https://humain.mintlify.site/plugins/wordpress.md)
>
> Add an AI chat widget to any WordPress site in minutes — no code required. Install the
> plugin, paste your credential, and go live.

> [card] [Backend service or bot](https://humain.mintlify.site/sdks/python.md)
>
> Connect a server-side application or automation bot to an AI session using the Python,
> Go, or .NET SDK. Full streaming support, no browser required.

> [card] [Mobile app](https://humain.mintlify.site/mobile/ios-swift.md)
>
> Native iOS and Android SDKs with full WebRTC voice support, AVAudioSession management,
> and SwiftUI / Compose integration. See also: [Android guide](https://humain.mintlify.site/mobile/android-kotlin.md).

> [card] [Telegram](https://humain.mintlify.site/telegram/overview.md)
>
> A bot for managing kiosks and answering group chats, a Mini App for full workspace
> management, and Business connections that auto-reply to your own Telegram DMs.

## Quick start

**1. Configure a kiosk**

Sign in to the [admin panel](https://app.humain.ai), create a workspace, and add a kiosk.
Give the kiosk a persona, attach knowledge documents, and set your guardrail rules.

**2. Issue a device credential**

Go to **Kiosk → Credentials → Issue new credential**. Copy the token — it is shown
only once. Store it in a secret manager immediately. Your device uses this token in every
`Authorization: Bearer` header.

**3. Open a session**

Call `POST /v1/sessions` with `{"mode":"text"}` — the response includes a `session_id` and
an `agent_url`. Open a WebSocket to `{agent_url}/v1/sessions/{id}/ws` and exchange
conversation turns there, then call `POST {agent_url}/v1/sessions/{id}/end` when done. See
[Try it out](https://humain.mintlify.site/playground/text.md) for a live interactive demo.

## Explore the docs

| Section | What you'll find |
| - | - |
| [Authentication](https://humain.mintlify.site/concepts/authentication.md) | How device credentials work and how to handle token rotation |
| [Session lifecycle](https://humain.mintlify.site/concepts/session-lifecycle.md) | From open to close — what happens at each stage |
| [Modes](https://humain.mintlify.site/concepts/modes.md) | `text`, `voice`, and `voip` — when to use each |
| [Connection types](https://humain.mintlify.site/connections/overview.md) | REST, WebSocket streaming, WebRTC, VoIP |
| [Try it out](https://humain.mintlify.site/playground/text.md) | Interactive playground with real API calls |
| API reference | Full endpoint reference with request/response schemas — see the **API reference** tab above |


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