DNZ Digita
← Back to Voice docs

DNZ Voice Docs

Quick Start — DNZ Voice

DNZ Voice uses Channels (like Agora) and RTC Tokens for secure join. Your backend creates channels and issues tokens; clients join with WebRTC. Every new account gets 10,000 free participant-minutes per month.

1. Create a developer account

Read /voice/docs and register via POST /api/auth/register on the Voice API.

Register with email and password. You are assigned the Free plan automatically.

2. Create an App

Each project (website, iOS app, Android app) should have its own App ID in the console.

Apps isolate API keys, webhooks, and usage reporting.

3. Create an API key (server only)

Generate `dnz_vk_…` from the console. Store it in environment variables on your backend.

Never embed the full API key in mobile apps or public JavaScript.

4. Create a Channel & RTC Token

From your server, call POST /v1/channels with your API key to create a Channel Name.

Then POST /v1/channels/{channelName}/token with uid, displayName, and role (host | speaker | listener).

Return the token to the client app or browser — the client uses it to join via WebRTC.

// Your backend (Node.js example)
const res = await fetch("https://voice-api.dnzteam.online/v1/channels", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.DNZ_VOICE_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    channelName: "support_room_42",
    maxPeers: 50,
    mode: "open",
  }),
});
const { channelName } = await res.json();

5. Join from client

Use the DNZ Voice Web SDK (demo/sdk) or Socket.IO + mediasoup client flow.

Live demo: voice-api.dnzteam.online/demo/

Related content

Support