Video call API: call from your app with an App Key, or from your server
Start, join and end calls straight from your app with a publishable App Key: no backend needed. When you want strict control, the same API runs on your server with short-lived join tokens. We meter each second from the media server itself, so the bill always matches reality. See the Client API (App Key), the REST API reference and the optional Node.js server client.
What you get
App Key or server keys
A publishable App Key for the app, bound to your package name, bundle ID or website and fenced by caps. Optional server keys, two per project, never ship in an app.
Per-second metering
Billed per second only while two or more people are connected, from the media server’s own events.
Call controls
End a call, remove or mute a participant from the app or your server, and cap any call with a maximum duration.
Signed receipts
Ed25519-signed receipts for every ended call, verifiable with our public key.
Signed webhooks
HMAC-SHA256 signed events with retries, a delivery log and one-click replay.
Free seconds per user
Optional first-call and daily free seconds per end user, checked before the call with one GET.
From your app with an App Key, or from your server
Quick mode, no backend needed: the SDK calls the app-facing part of the API with your App Key, so the Flutter video call SDK creates, joins and ends calls by itself. Production hardening (optional): your server calls the same API with your project key over HTTP Basic auth and hands each person a short-lived token.
- Start, join and end a call from the app with the App Key
- Remove or mute one person (the person who started the call)
- The same calls from your server, with a join token per person
- Signed receipts, usage and balance from your server or the console, for reporting
- Every request and field: Client API (App Key) and REST API reference
Video is ₹0.20 per participant-minute, up to 720p. Pricing
import 'package:titli_video_sdk/titli_video_sdk.dart';
// 1. Once, at app start: your App Key and your own user id. No server needed.
await TitliVideo.init(appKey: 'tak_…', userId: 'user-42', userName: 'Asha');
// 2. Start a video call (you are the caller and the payer)...
final call = await TitliVideo.startCall(type: TitliCallType.video);
// share call.callId with the other person your own way (push, your chat, Titli Chat)
// 3. ...and on the other phone, join it.
await TitliVideo.joinCall(callId);// 1. Once, on page load: your App Key and your own user id
TitliVideo.init({ appKey: 'tak_…', userId: 'user-42', userName: 'Asha' });
// 2. Start a video call into a container on your page
const call = await TitliVideo.startCall({ type: 'video', container: '#stage' });
// share call.callId with the other person
// 3. In the other browser
await TitliVideo.joinCall(callId, { container: '#stage' });API=https://api-videosdk.titliapp.com
AUTH="$TITLI_KEY_ID:$TITLI_KEY_SECRET" # optional server tokens: server only, never in the app
# 1. Create the call (type: "video" or "audio")
curl -s -u "$AUTH" -H 'Content-Type: application/json' \
-d '{"type":"video","payer_end_user_id":"user_1001"}' \
$API/v1/calls
# 2. Mint one join token per participant
curl -s -u "$AUTH" -H 'Content-Type: application/json' \
-d '{"end_user_id":"user_1001","role":"user","name":"Ravi"}' \
$API/v1/calls/<call_id>/tokens
# -> { "token": "eyJ…", "livekit_url": "wss://…", "expires_at": "…" }// server.js (Node 20+), optional production hardening: create a call and hand tokens to your app
import { TitliClient } from 'titli-video-sdk/server'; // npm i titli-video-sdk
const titli = new TitliClient({
keyId: process.env.TITLI_KEY_ID,
keySecret: process.env.TITLI_KEY_SECRET,
});
app.post('/api/calls', requireLogin, async (req, res) => {
const call = await titli.createCall({ type: 'video', payerEndUserId: req.user.id });
const me = await titli.token(call.id, { endUserId: req.user.id, name: req.user.name });
const host = await titli.token(call.id, { endUserId: req.body.hostId, role: 'host' });
// Each person gets only their own token: deliver the host's to the host (push, socket, ...).
await notifyHost(req.body.hostId, { callId: call.id, url: host.livekit_url, token: host.token });
res.json({ callId: call.id, url: me.livekit_url, token: me.token });
});FAQ
What is the difference between the video call API and the SDK?
The SDK runs in your app. In Quick mode it talks to the API itself with your App Key, so you need no backend: init, start a call, done. The API can also run on your server (optional production hardening): it creates calls and mints a token per person with your secret key, and the SDK joins with that token. Both are free; you pay per minute.
Can I use the video call API without a backend?
Yes. Add your App Key in the app and the SDK creates, joins and ends calls for you. Money reports, receipt lookups, webhooks setup and keys stay server-only, and the console shows them too.
How is a video call billed?
Per participant-minute at ₹0.20, billed per second while at least two people are connected. A 10-minute 1:1 call is 20 participant-minutes, ₹4.00.
How many people can join a video call?
Rooms are 1:1 by default. We can raise your account’s room size to up to 50 people on request.
Can I end or mute a call?
Yes. From the app, the person who started the call can end it or remove or mute someone. From your server, one request does the same. You can also give any call a time limit when you create it, and we end it on time.

Free SDK. Pay only for the minutes you use.
Create a free account: it starts with ₹100 welcome credit, about 250 minutes of 1:1 video, so your first call needs no recharge. Questions? Message us on WhatsApp and a person replies.