Build intelligent voice and text analysis pipelines with the lisn.dev API
Quickstart
Get up and running in three steps.
Step 1: Get Your API Token
All API requests require a Bearer token. Generate one from the Settings → API Tokens page in your dashboard.
Authorization: Bearer YOUR_API_TOKEN👉 Read the Authentication guide →
Step 2: Create an Assistant
An Assistant is the core resource. Each has a type (voice or text), an LLM configuration, and optionally an STT provider.
curl -X POST "https://app.lisn.dev/api/v1/assistants" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Sales Analyzer",
"type": "voice",
"stt_provider": "elevenlabs",
"stt_language": "Auto-Detect",
"llm_provider": "openai",
"llm_model": "gpt-4o-mini",
"system_prompt": "Analyze this call transcript...",
"temperature": 0.7
}'👉 Learn more about Assistants →
Step 3: Send Data for Analysis
Voice — upload an audio file:
curl -X POST "https://app.lisn.dev/api/v1/requests/voice" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-F "assistant_id=ast_abc123" \
-F "audio_file=@recording.wav"Text — send a conversation:
curl -X POST "https://app.lisn.dev/api/v1/requests/text" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"assistant_id": "ast_xyz789",
"conversation": [
{"role": "operator", "text": "How can I help?"},
{"role": "client", "text": "I need pricing info"}
]
}'👉 Voice Analysis → · Text Analysis →
What's Next?
| Section | Description |
|---|---|
| Response Format | Understand the session object returned after processing |
| Webhooks | Receive results via webhook callbacks |
| Errors | HTTP status codes and error handling |
| SDK & Examples | Python, JavaScript, and cURL examples |
Base URL
https://app.lisn.dev/apiNeed Help?
- Visit lisn.dev (opens in a new tab)
- Email us at info@lisn.dev