> ## Documentation Index
> Fetch the complete documentation index at: https://docs.miraiminds.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Voice agent cookbooks

> Step-by-step recipes for real products on Voice Infra: the agent, your backend, your page, the webhooks and a production checklist.

A cookbook takes one use case from an empty workspace to production. Where the
[Documentation](https://docs.miraiminds.co/v2/overview.md) explains each feature on its own, a cookbook
shows how the features fit together for a specific product, with code you can
copy.

## Available cookbooks

### Call results

> [card] [Get results after every call](https://docs.miraiminds.co/cookbooks/post-call-results.md)
>
> A summary, a success verdict and the fields you choose, after every call.
> Set it up in the console or the API, on a new or an existing agent, and
> send each result to your system with a webhook. **Costs:** included on
> T5 and T3; ₹0.20 a minute on T1.

### Phone calling

> [card] [Receive inbound phone calls](https://docs.miraiminds.co/cookbooks/inbound-calling.md)
>
> Buy a number through Mirai or connect your own supported telco number.
> Assign your published agent, activate incoming calls, and test the results.
> Includes console steps, API examples, and troubleshooting. **Costs:**
> your plan's rate; a Mirai number is ₹1,500 for 3 months.

> [card] [One number for many users](https://docs.miraiminds.co/cookbooks/one-number-many-users.md)
>
> Answer one shared number for many of your users. A pre-call lookup on your
> server picks the greeting, voice and language for each call, slow data
> arrives mid-call, and each summary comes in the user's own language.
> **Costs:** your plan's rate, ₹5 a minute on T5.

> [card] [Run a campaign from your own numbers](https://docs.miraiminds.co/cookbooks/run-a-campaign-from-your-own-numbers.md)
>
> Group several numbers in a pool, point a campaign at it, and watch each
> number's health. Calls spread at a human pace, retries come from the same
> number, and a number that stops being answered rests on its own.
> **Costs:** your plan's rate; unanswered calls are free.

### Agent builders

> [card] [Build a node based voice agent editor](https://docs.miraiminds.co/cookbooks/node-flow-builder.md)
>
> Build a React Flow editor with a Node.js backend. Create and update agents,
> attach tools, declare inputs, and connect a phone number. Includes source
> code you can clone and run. **Costs:** your plan's rate for calls.

### Browser voice apps

> [card] [Timed voice interviews in the browser](https://docs.miraiminds.co/cookbooks/browser-voice-interviews.md)
>
> A 10-minute AI interview in your web app: personalised opening, live
> captions, a graceful wrap-up and goodbye, moderator controls, an automatic
> score and a text-only record. **Costs:** about ₹50 an interview on T5.

### WhatsApp voice apps

> [card] [WhatsApp calling for partners](https://docs.miraiminds.co/cookbooks/whatsapp-calling-for-partners.md)
>
> Add incoming calls and permitted callbacks to your brands' existing WhatsApp
> numbers: separate agents, one partner workspace, signed results and combined
> billing. Early access; production activation and call acceptance are required.
> **Costs:** your plan's rate; Meta bills separately.

### Transcription apps

> [card] [Transcript player for recorded calls](https://docs.miraiminds.co/cookbooks/transcript-player.md)
>
> Upload a recorded call, read a draft within seconds, then listen along to
> the finished transcript with speakers, correct it and export it as text,
> subtitles or JSON. **Costs:** ₹15 per hour of audio.

## How every cookbook is laid out

Each cookbook follows the same order, so you can jump to the part you need.

| Section | What you get |
| :- | :- |
| **What you'll build** | The finished behaviour, in plain terms, and what you need before you start. |
| **How it works** | The moving parts and the order they talk to each other. |
| **Steps** | Numbered steps, each with complete code in cURL, Python and Node.js where it applies. |
| **Test it** | A short configuration that shows every behaviour in a few minutes, and a troubleshooting table. |
| **Privacy and compliance** | What the recipe stores, what you must tell your users, and how to keep keys and links safe. |
| **Production checklist** | What to confirm before real users arrive. |

Cookbooks link to the reference pages for every field and error code instead of
repeating them. When a cookbook and a reference page seem to disagree, the
reference page is correct — tell us at [help@miraiminds.co](mailto:help@miraiminds.co).

## Before you start

Every cookbook assumes:

* A workspace API key (`sk_live_…`), and its webhook secret (`whsec_…`) when
  the recipe receives webhooks. See the [Quickstart](https://docs.miraiminds.co/v2/quickstart.md).
* A backend that can keep the key secret. The key never goes to a browser or a
  mobile app.
* An HTTPS endpoint for [webhooks](https://docs.miraiminds.co/v2/webhooks.md), when the recipe uses them.
  While you build, a tunnel to your laptop works.

Base URL in the examples: `https://sandbox.voice.miraiminds.co`. Use the API
host your key was issued for. Every cookbook opens with what it costs and ends
with the same last step: [go live](https://docs.miraiminds.co/v2/go-live.md) and switch the base URL to
`https://prod.voice.miraiminds.co`.

## Ask for a cookbook

Looking for ideas first? The [use cases](https://voice.miraiminds.co/use-cases)
page shows what businesses call their customers about, from order confirmations
to renewal reminders.

Building something the cookbooks don't cover yet? Write to
[help@miraiminds.co](mailto:help@miraiminds.co) with a one-line description of
your use case.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.