Skip to main content

Connectors

The connectors resource bridges inbound calls from a telephony provider (Twilio, Plivo, or Telnyx) into a room. Create a connector, configure its webhook URL at the provider, and calls flow into VideoSDK.

Create a connector

const connector = await client.connectors.create({ provider: "twilio", roomId });
connector.webhookUrl; // set this at the provider

Options: provider (required; twilio, plivo, or telnyx), name, roomId (fallback room), defaultRuleId, region.

Manage

await client.connectors.list();
await client.connectors.get(connectorId);
await client.connectors.rotateKey(connectorId); // invalidates the old webhook URL
await client.connectors.delete(connectorId);

The connector object

id, provider, name, webhookUrl, defaultRoomId, defaultRuleId, region, createdAt.

Got a Question? Ask us on discord