โก VocalNote API Referencev1.1
Fast, serverless Edge APIs for Audio Transcription, Documents, Vision OCR, YouTube & Web Summarization
๐ Authentication Guide
To access the VocalNote API, authenticate your calls by appending a Bearer token inside the Authorization header. You can retrieve and refresh your keys directly from the Developer API Dashboard.
Never expose secret keys in public code repositories or client-side files. Always run operations in secure back-channel services.
Authorization: Bearer vn_your_api_key๐ณ Billing Logic & Pricing Rules
VocalNote bills strictly by the second based on the audio processed or text analyzed. Deductions occur in real-time directly from your wallet balance. There are no monthly fees, flat subscriptions, or hidden charges.
- No rounding up: A 15-second transcription is billed for exactly 15 seconds.
- Credits expiry: Deposited funds stay active in your account indefinitely and never expire.
- Auto-Recharge: Top up automatically when your balance drops below the $1 threshold.
- Cap limits: Set custom monthly caps to prevent unexpected volume spikes.
Transcribe / Note Process
Transcribe and rewrite audio files with high accuracy. Send raw base64 audio and select your desired formatting style.
/apiv1/process// Parameters
| Param | Type | Required |
|---|---|---|
| audio_base64 Base64 audio string. Max 25 MB. | string | โ Yes |
| mode Operation mode: "transcribe", "rewrite", or "combined" (default). | string | No |
| style Clean-up style. Supported values: "Casual", "Professional", "Journal", "List", "Tweet", "Email", "Academic", "Social Media", "Meeting", "Blog Post", "Executive Summaries", "Product Spec", "Agent Prompt", "Audio-to-MIDI", "Audio-to-Sheet Music". | string | No |
// Billing Rates
curl -X POST https://worker.vocalnote.app/apiv1/process \
-H "Authorization: Bearer vn_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"mode": "combined",
"audio_base64": "UklGRiQAA...",
"mime_type": "audio/webm",
"style": "Professional"
}'{
"success": true,
"status": "processing",
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"message": "Request is processing."
}Behavioural Analytics
Analyze conversation logs to detect empathy, soft skills, calculate listener-talk ratios, and scrub PII from transcripts.
/apiv1/analyze// Parameters
| Param | Type | Required |
|---|---|---|
| transcript Raw text transcription to analyze. | string | โ Yes |
| save_to_vocalnote Whether to persist analytics results to the dashboard. | boolean | No |
| metadata Custom tracking object, e.g. {"call_id": "12345"} | object | No |
| scrubbed_transcript Off by default. Set to true to redact PII (SSN, credit cards). | boolean | No |
// Billing Rates
curl -X POST https://worker.vocalnote.app/apiv1/analyze \
-H "Authorization: Bearer vn_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"transcript": "Agent: Hello! Customer: I need help.",
"save_to_vocalnote": true,
"metadata": {
"call_id": "12345"
},
"scrubbed_transcript": false
}'{
"success": true,
"status": "processing",
"job_id": "776e8400-e29b-41d4-a716-446655440000",
"message": "Request is processing."
}Document Summarizer (PDF, Word, Excel, Text)
Extract and summarize text, PDF files, Word (.docx), and Excel spreadsheets into structured notes with key insights.
/apiv1/summarize/document// Parameters
| Param | Type | Required |
|---|---|---|
| document_base64 Base64 encoded document file (required for PDF or binary files). | string | No* |
| document_text Raw text/csv extracted from document (required if document_base64 is omitted). | string | No* |
| mime_type MIME type: application/pdf, text/plain, text/csv, etc. | string | No |
| file_name Original file name for context (e.g., quarterly_report.pdf). | string | No |
| style Note style (Casual, Professional, Executive Summaries, List, etc.). | string | No |
| language Target language for the summary and key insights (default: English). | string | No |
// Billing Rates
curl -X POST https://worker.vocalnote.app/apiv1/summarize/document \
-H "Authorization: Bearer vn_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"file_name": "financial_report.pdf",
"mime_type": "application/pdf",
"document_base64": "JVBERi0xLjQK...",
"style": "Executive Summaries",
"language": "English"
}'{
"success": true,
"title": "Q3 Financial Performance & Growth Drivers",
"summary": "Revenue increased by 28% year-over-year with strong expansion across enterprise accounts.",
"keyInsights": [
"Gross margin improved to 74% due to infrastructure optimizations",
"Net ARR grew from $4.2M to $5.4M in Q3",
"Customer churn decreased to a record low of 1.2%"
],
"rewrittenText": "### Executive Summary\n\nThe company demonstrated exceptional growth during Q3...",
"tags": ["Finance", "Q3", "Revenue", "Growth"],
"transcript": "Total revenue for the three months ended September 30 was...",
"cost_charged": 0.01,
"request_id": "880e8400-e29b-41d4-a716-446655440001"
}Image Multimodal OCR & Insights
Read whiteboard photos, handwritten notes, infographics, receipts, and screenshots using multimodal AI vision.
/apiv1/summarize/imagecurl -X POST https://worker.vocalnote.app/apiv1/summarize/image \
-H "Authorization: Bearer vn_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image_base64": "/9j/4AAQSkZJRgABAQ...",
"mime_type": "image/jpeg",
"style": "Meeting",
"prompt": "Extract all action items and timeline milestones"
}'{
"success": true,
"title": "Architecture Whiteboard & Next Steps",
"summary": "System design diagram outlining migration from monolith to serverless microservices.",
"keyInsights": [
"API Gateway routes incoming auth to Cloudflare Edge",
"Database cache layer utilizes Redis for <5ms lookups",
"Sprint target set for full deployment by October 15"
],
"rewrittenText": "## System Architecture Overview\n\nBased on the whiteboard design...",
"tags": ["Architecture", "SystemDesign", "Whiteboard"],
"transcript": "[OCR Text: Cloudflare Edge -> API Gateway -> PostgreSQL Primary]",
"cost_charged": 0.005,
"request_id": "990e8400-e29b-41d4-a716-446655440002"
}YouTube Video Summarizer
Extract and summarize any YouTube video or Short into structured notes, timestamped insights, and action items.
/apiv1/summarize/youtubecurl -X POST https://worker.vocalnote.app/apiv1/summarize/youtube \
-H "Authorization: Bearer vn_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"style": "List",
"language": "English"
}'{
"success": true,
"title": "Core Insights from Video Discussion",
"summary": "Comprehensive overview of the concepts discussed in the video.",
"keyInsights": [
"Key breakthrough discussed at 03:20 regarding latency reduction",
"Model optimizations enabled 4x throughput improvements",
"Open-source release scheduled for next quarter"
],
"rewrittenText": "### Key Takeaways\n\n- **Breakthrough**: Modern architectures significantly reduce overhead...",
"tags": ["YouTube", "VideoSummary", "TechTalk"],
"metadata": {
"videoId": "dQw4w9WgXcQ",
"author": "Tech Creator",
"originalTitle": "Building Scalable AI Systems",
"thumbnailUrl": "https://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
},
"cost_charged": 0.01,
"request_id": "aa0e8400-e29b-41d4-a716-446655440003"
}Web Page & Article Summarizer
Scrapes, sanitizes, and summarizes any public article or webpage URL into structured notes with core takeaways.
/apiv1/summarize/urlcurl -X POST https://worker.vocalnote.app/apiv1/summarize/url \
-H "Authorization: Bearer vn_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/blog/future-of-ai",
"style": "Professional",
"language": "English"
}'{
"success": true,
"title": "The Future of Multimodal AI Agents",
"summary": "An in-depth exploration of how multimodal reasoning transforms knowledge work.",
"keyInsights": [
"Multimodal models now ingest video, audio, code, and documents simultaneously",
"Context window expansions allow entire codebases in active memory",
"Autonomous sub-agent architectures reduce hallucination rates by 60%"
],
"rewrittenText": "The transition from text-only models to multimodal agentic systems...",
"tags": ["AI", "Multimodal", "Technology", "Agents"],
"metadata": {
"url": "https://example.com/blog/future-of-ai",
"siteName": "example.com",
"originalTitle": "The Future of Multimodal AI"
},
"cost_charged": 0.005,
"request_id": "bb0e8400-e29b-41d4-a716-446655440004"
}Job Status Query
Check the processing status of a queued transcription or behavioral analysis job.
/apiv1/status/{job_id}// Parameters
| Param | Type | Required |
|---|---|---|
| job_id The job tracking ID returned from process/analyze response payload. | string | โ Yes |
// Billing Rates
curl -X GET https://worker.vocalnote.app/apiv1/status/{job_id} \
-H "Authorization: Bearer vn_your_api_key"{
"success": true,
"status": "completed",
"result": {
"transcription": "Verbatim audio text...",
"rewritten_text": "Polished, styled output...",
"audio_duration_sec": 42,
"cost_charged": 0.000011667,
"request_id": "550e8400-e29b-41d4-a716-446655440000"
},
"error": null,
"created_at": "2024-03-22T12:00:00Z",
"updated_at": "2024-03-22T12:00:30Z"
}