Skip to content

Sample apps

Three ways to start from working code, all of them in test mode first, where nothing is dialled or billed.

Each app is a folder of the morevoice-examples repository with its own README, .env.example and a test-mode smoke test: clone the repository, add a test key and run it.

App Language What it shows
CSV campaign Node.js Run an outbound campaign from a spreadsheet of contacts: check the file on your machine, create the campaign with calling hours (Sunday–Thursday, 09:00–19:00, Shabbat respected) and retries, import the contacts with their consent source (§30A), and start it. In test mode first: test calls run on a simulated network and never ring a phone.
Express CRM logger Node.js An Express server that receives MoreVoice webhooks, verifies every signature, and logs each call — who, how long, why it ended, the AI summary and outcome — plus opt-outs, into a small SQLite “CRM”. Replace src/crm.ts with your CRM’s API (HubSpot, monday.com, Salesforce…) and keep the rest.
Next.js talk button Node.js A Next.js (App Router) page where visitors talk to your MoreVoice AI assistant from the browser: a talk button, a live call status and a live transcript, in English or Hebrew (right to left). Your API key stays on your server: a route mints a short-lived client token for each call.
Node tool server Node.js Custom tools for a MoreVoice assistant on plain Node.js (node:http): find_slots finds free appointment slots and book_appointment books one. MoreVoice calls your server while the call is live; every request is signed, and the signature is checked before any of your code runs.
FastAPI tool server Python Custom tools for a MoreVoice assistant in Python, on FastAPI: find_slots finds free appointment slots and book_appointment books one. MoreVoice calls your server while the call is live; every request is signed, and the signature is checked before any of your code runs.
MCP server for AI agents Python MoreVoice in Claude Desktop, Claude Code, Cursor or any Model Context Protocol client: a small local MCP server (stdio) that offers the hosted MoreVoice MCP server’s tools — list assistants, read calls and transcripts, check numbers against the do-not-call list, and (when you allow it) create assistants, place test calls and run campaigns. Every tool is one MoreVoice API operation, run through the API with your key.
Python media-stream bot Python A media-stream bot in Python: MoreVoice keeps the phone call and streams its audio to your WebSocket server, in the Twilio Media Streams format. This bot records every stream to WAV, logs the caller’s keypresses and, in connect mode, speaks the caller’s own audio back — the place to plug in your own speech pipeline.
Python webhook receiver Python A FastAPI server that receives MoreVoice webhooks, verifies every signature, and logs each call — who, how long, why it ended, the AI summary and outcome — plus opt-outs, into a small SQLite “CRM”. Replace crm.py with your CRM’s API (HubSpot, monday.com, Salesforce…) and keep the rest.

Each recipe is complete code with the reasoning behind it, type-checked against the current SDK and run in test mode before every release of these docs.

The Postman collection has every request of the API, with example bodies and a step-by-step quickstart in test mode.