Quickstart
This guide walks you through creating your first voice agent and making a call — all from the command line.
Prerequisites
- A Levrage.AI account (sign up)
- Your API key (Dashboard → Settings → Developers → API Keys)
- A source phone number (available in Dashboard → Numbers)
Step 1: Verify Your API Key
Test that your API key works:
Expected response:
Step 2: Browse Available Industries
Discover what agent types are available:
Step 3: Create a Voice Agent
Save the id from the response — you’ll need it for the next step.
The agent is automatically created with a production-ready prompt based on the agent_type and language you chose. You can also pass a custom prompt field to override it.
Step 4: Make a Call
The call will be initiated immediately. You can track its status via the call history endpoint.
Step 5: Check Call History
Each call record includes:
- status —
completed,no_answer,failed,voicemail - duration — Call length in seconds
- transcript — Full conversation transcript
- recording_url — Link to the call recording
- sentiment — AI-analyzed sentiment of the call
- details_collection — Any data the agent collected
Step 6: Run a Batch Campaign (Optional)
Scale to multiple calls with a campaign:
What’s Next?
- Agents Guide — Deep dive into agent configuration
- Campaigns Guide — Advanced campaign features (scheduling, retries, blackouts)
- Webhooks Guide — Get real-time notifications when calls end
- Error Handling — Handle errors and retries like a pro
- API Reference — Full endpoint documentation