palbaseDocs

API reference

Palbase Calls

Palbase's calls module: a project's people calling each other — one to one or in a group, by voice or with video — in one shared, multi-tenant service; every project is isolated by row security in its database.

Every call's media — one to one or in a group, voice or video — flows through the platform's media server (LiveKit, open source): a device gets a ticket into its call's room (POST /calls/{call_id}/media) and connects with LiveKit's open-source client libraries; where UDP is shut, over TCP on port 443. A direct call that a third person or the project's agent comes into goes on in the same room. The media never passes through this API: it keeps who called whom, when, how long and how it ended, and what the media server sent each participant — the history people read, and the data the project pays for (per GB the media server sent the call's people, voice and video alike).

A person's devices ring by push (PushKit on iOS, a high-priority data message on Android, a notification in a browser) and hear their calls as they change on their own realtime channel, calls:<ref>:<user_id> (event call, carrying a call's snapshot).

The project's server, with its secret key, runs the module's settings, reads and ends calls, and lets its own agents into a call with a ticket. Palbase runs no agent of its own.

The contract itself: /openapi/calls.openapi.json

Calls

Admin

Settings

Media