- Embedding the website widget
- Starting web calls with
RetellClient.createWebCall()

Configure the public key's allowed domains and optional reCAPTCHA protection.
Create or edit a public key
- Open API Keys → Public Keys in the Retell dashboard.
- Add a public key or select an existing one to edit.
- Add the domains that can use it, such as
example.comorapp.example.com. Addlocalhostfor local development. - Save the key and copy its value into your widget configuration or Web SDK client.
Origin or Referer header that a browser sets. A native iOS or Android app can send any value, so a public key doesn’t protect calls from an app. Create those calls on your server with an API key instead; see web calls in native apps.
Google reCAPTCHA v3 protection (optional)
Enable Google reCAPTCHA v3 to help limit automated abuse. When enabled, creating a web call or starting a widget conversation requires a valid reCAPTCHA token. To enable reCAPTCHA:- Edit the public key and enable Abuse Prevention (Google reCAPTCHA).
- Add your reCAPTCHA secret key from Google’s reCAPTCHA console.
- Set the Score Threshold. The dashboard defaults to 0.5 (as of September 2026). Requests below the threshold are rejected; higher thresholds can also reject more legitimate users.
- Save your changes.
recaptchaToken to createWebCall(). For the website widget, configure its reCAPTCHA site key.
