Ejaz
01/15/2026, 5:26 PMAI Evy
01/15/2026, 5:26 PMAI Evy
01/15/2026, 5:26 PMAI Evy
01/15/2026, 5:26 PMAI Evy
01/15/2026, 5:26 PMEjaz
01/15/2026, 5:27 PMAI Evy
01/15/2026, 5:27 PMAI Evy
01/15/2026, 5:27 PM<head> tag: [(2) ]()
html
<script
id="retell-widget"
src="<https://dashboard.retellai.com/retell-widget.js%22>
type="module"
data-public-key="YOUR_RETELL_PUBLIC_KEY"
data-agent-id="YOUR_CHAT_AGENT_ID"
></script>
Option 2: API Integration
Use the Chat API to integrate chat into your own interface: [(3) ]()
- Create a chat session using the create-chat endpoint
- Generate responses with the create-chat-completion endpoint
- End sessions with the end-chat endpoint
For the widget, you'll need a Public Key (different from API keys) which you can manage at Dashboard → Keys → Public Keys. [(4) ]()AI Evy
01/15/2026, 5:27 PMAI Evy
01/15/2026, 5:27 PMEjaz
01/15/2026, 5:28 PMAI Evy
01/15/2026, 5:28 PMAI Evy
01/15/2026, 5:28 PMAI Evy
01/15/2026, 5:28 PMAI Evy
01/15/2026, 5:28 PM