Skip to content

@talkline/server-sdk ​

@talkline/server-sdk — for a tenant's backend.

Access tokens, minted in your own process. No network call, and none is meant to be: a tenant already knows who its user is, and minting locally means a call still starts when Talkline's control plane is down. For any other language the claim set is the contract.

ts
const token = await mintToken({
  apiKey, apiSecret,
  identity: 'app:user:123',
  grants: { roomJoin: true, room: 'RM_9f3a', canPublish: true, canSubscribe: true },
});

The control API, typed (Talkline): rooms, calls, presence, identities and devices, queues, usage and credit, webhook endpoints. Its types are generated from the API's OpenAPI document, which is the contract.

Webhooks, verified (parseWebhook, verifySignature).

Installed from a release's tarballs, not a registry: Installing the SDKs.

Classes ​

Interfaces ​

Type Aliases ​

Variables ​

Functions ​

Talkline documentation