Overview
Not using one of our pre-built integrations? No problem. Send call data from any voice AI platform or custom application — just provide an audio file and Roark handles the rest: transcription, speech analysis, sentiment detection, and metric collection.Send a Call
- Node.js
- Python
- cURL
What You Can Send
| Data | Description |
|---|---|
| Audio file | MP3, WAV, M4A, or FLAC — via public URL or base64 |
| Metadata | Agent info, customer details, call direction, interface type |
| Custom properties | Arbitrary key-value pairs for filtering and segmentation |
| Tool calls | Function/tool invocations made during the conversation |
| Pre-transcribed text | If you already have a transcript, send it along |
Audio Requirements
| Spec | Requirement |
|---|---|
| Format | MP3, WAV, M4A, or FLAC |
| Sample Rate | 8kHz or higher |
| Channels | Mono or stereo |
| Duration | Up to 2 hours |
| File Size | Max 500MB |
| Access | Publicly accessible URL or base64 encoded |
What Happens Next
Once a call is ingested, Roark automatically:- Transcribes and analyzes the conversation — speech patterns, sentiment, 64+ emotions, interruptions, and more
- Runs metric policies — any active metric policies collect metrics automatically (LLM evaluations, compliance checks, custom KPIs)
- Makes it searchable — the call appears in Call History with full filtering by properties, agent, duration, and more
Use With Simulations
Agents created via the API can also be used in simulations. When you send calls with anagent.customId, Roark creates or matches an agent record that you can then target in simulation run plans — useful for testing custom-built voice agents that aren’t on a pre-built platform.
MCP Server
If you use an AI-powered development environment, the Roark MCP Server gives your AI assistant direct access to the Roark API — including creating calls, querying metrics, and managing agents — without writing integration code manually.Getting Started
Generate an API Key
Create an API key in your Roark dashboard
Configure Metric Policies
Set up metric policies to automatically collect metrics on every call
Explore Your Data
Browse calls in Call History, build reports, and create dashboards

