VoiceChamp Docs
Everything you need to go live in 5 minutes.
1. Create an agent
Sign up, go to My Agents → New Agent, and fill in the name, language (English, Spanish, French, German, Italian or Portuguese), type (sales or support), greeting and instructions. Each agent gets a public ID like ag_xxxxxxxxxxxx.
2. Train it
On the agent's Training page you can:
- Crawl your website — paste a URL and VoiceChamp extracts the text into knowledge chunks.
- Add Q&As — question + answer pairs the agent answers from directly.
- Upload files — TXT, MD, CSV (question,answer rows) or PDF.
- Re-crawl — refreshes all previously crawled URLs.
Use Test Chat to check answers in text before going live with voice.
3. Embed on your site
Copy the snippet from the agent's Embed page and paste it before </body>:
<script src="https://voicechamp.zqdevelopers.com/widget.js" data-agent="ag_xxxx"></script>
No website? Share the direct link instead: https://voicechamp.zqdevelopers.com/talk/your-agent-name
4. REST API v1
Authenticate with a Sanctum Bearer token or an API key in the X-VoiceChamp-Key header. Rate limit: 60 requests/minute on the Free plan.
GET /api/v1/agents
POST /api/v1/agents
GET /api/v1/agents/{id}
POST /api/v1/agents/{id}/knowledge
POST /api/v1/agents/{id}/sessions -> gateway WS URL + one-time token
GET /api/v1/calls
POST /api/v1/orders -> COD order (WordPress plugin calls this)
POST /api/v1/webhooks/test
402 with code: minutes_limit_reached.5. Webhooks
Set a webhook URL on the Embed & API page. VoiceChamp POSTs JSON on call.ended and order.created, signed with HMAC-SHA256 in the X-VoiceChamp-Signature header using your webhook secret.
6. Payments
The agent never sees or stores card data. COD orders are placed directly. For online payment the agent shares your own secure checkout link — payment happens on your site, never through VoiceChamp.