Skip to main content

Set Up the SDK

1

Install the Web SDK

2

Initialize the SDK

Get a Call Access Token

Your client code should call your server endpoint, which internally calls create-web-call to get an access token. This must happen server-side to protect your API key from being exposed in client code. The access token is then passed to your frontend to start the call.
If you do not start the call within 30 seconds of obtaining the access token, it will be invalidated and the call will be marked with an error.

Start the Call

Optional parameters:

Stop the Call

Listen to Events

The SDK emits events for real-time call updates: