chaddperry
01/13/2026, 1:13 PMAI Evy
01/13/2026, 1:13 PMAI Evy
01/13/2026, 1:13 PMaccess_token [(1) ]()
2. Frontend: Use the Retell Web SDK to start the call with that token [(2) ]()
Setup:
Install the SDK:
bash
npm install retell-client-js-sdk
Initialize and start the call:
javascript
import { RetellWebClient } from "retell-client-js-sdk";
const retellWebClient = new RetellWebClient() ;
javascript
await retellWebClient.startCall({
accessToken: createCallResponse.access_token,
}) ;
Your backend would handle the create-web-call API call (which requires your API key) , and your client-facing page only receives the access_token to initiate the call.
This way, clients interact with a simple interface you control—they never see your API key or the configuration workspace.AI Evy
01/13/2026, 1:13 PMAI Evy
01/13/2026, 1:13 PM