Official example
JavaScript audio calling example
Create an audio call from the backend and initialize the browser meeting with video disabled.
Example
example.ts
import { PurpleCallioMeeting } from "@purplecallio/sdk";
const meeting = new PurpleCallioMeeting({ token, callId, signalUrl, video: false });
await meeting.join();
await meeting.microphone.enable();Security
Keep PURPLECALLIO_API_KEY on a trusted backend. Return participant-specific session information to the browser instead of exposing the project API key.
Build with PurpleCallio
Explore the documentation to choose hosted UI, React components, or the headless SDK for your integration.