Back to connect11
DocsQuickstart
Ship a real-time call today.
One SDK carries voice, video, telephony, and AI agents across the same session — on the 1‑TO‑ALL network, built in Thailand. Four steps to your first live call.
01
Install the SDK
One package for web. Native packages for iOS, Android, and React Native ship the same surface.
shell
# your project
npm install @connect11/client02
Mint a token
Tokens are signed server-side with your key, then handed to the client. Your secret never leaves your backend.
server.ts
import { AccessToken } from "@connect11/server";
const token = await mintToken({ room: "sales-7", identity: "agent-01" });03
Join a room
Connect, subscribe to participants, and publish your mic. Voice, video, and PSTN share the same session.
app.ts
const room = await connect11.join("sales-7", { token });
await room.publishMic();
room.dial("+66..."); // PSTN on our numbers04
Put AI on the line
Attach a voice bot, chatbot, or live translator to any room — the agent joins like any other participant.
app.ts
await room.addAgent({
type: "translator",
from: "th", to: "en",
});Want the full reference?
Talk to the team that runs the network. Contact 1650 · contact@1toall.co.th