Typed TypeScript packages for the RevDesk API and browser calling.
RevDesk ships two official packages so you don’t have to hand-roll HTTP calls or wire up browser
audio:
@revdesk/sdk
Typed REST client for the v1 API — calls, SMS, phone numbers, caller IDs, caller trust, usage,
and sub-entities. Types are generated from the OpenAPI spec, so they never drift from the API.
@revdesk/webrtc
Browser-calling client. Place and receive calls in the browser through the RevDesk voice
network, with one branded surface for both connection paths.
npm install @revdesk/webrtc# or: bun add @revdesk/webrtc
Issue the call token server-side with @revdesk/sdk, then hand it to the browser client. Both
clients emit the same callUpdate / error / ended events, so your UI doesn’t change when you
switch paths. See Choosing a calling path for the differences.