Developer API

Build with the
Kestrel API

Integrate voice AI into your applications with our powerful REST API. Programmatically manage calls, assistants, and analytics.

API Features

Real-Time Webhooks

Get instant notifications for call events, bookings, and more.

Secure & Reliable

Enterprise-grade security with 99.9% uptime SLA.

Comprehensive Docs

Detailed documentation with code examples in multiple languages.

SDKs Available

Official SDKs for Python, Node.js, and more coming soon.

Popular Endpoints

POST/api/calls/initiate

Initiate an outbound call

curl -X POST https://api.kestrelvoice.com/api/calls/initiate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+15551234567",
    "from": "+15559876543",
    "assistant_id": "ast_123"
  }'
GET/api/calls/{call_id}

Get call details and transcript

curl https://api.kestrelvoice.com/api/calls/call_123 \
  -H "Authorization: Bearer YOUR_API_KEY"
GET/api/analytics/summary

Get analytics summary for date range

curl https://api.kestrelvoice.com/api/analytics/summary?start=2024-01-01&end=2024-01-31 \
  -H "Authorization: Bearer YOUR_API_KEY"
POST/api/assistants/create

Create a new AI assistant configuration

curl -X POST https://api.kestrelvoice.com/api/assistants/create \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "HVAC Assistant",
    "personality": "professional",
    "voice": "alloy"
  }'

Getting Started

1

Get Your API Key

Sign up for a Kestrel account and generate your API key from the dashboard. Keep it secure and never share it publicly.

2

Make Your First Request

Use your API key to authenticate requests. All endpoints require the Authorization header.

Authorization: Bearer YOUR_API_KEY
3

Explore the Docs

Check out our comprehensive documentation for detailed guides, code examples, and best practices.

View Documentation

Ready to Build?

Get started with the Kestrel API today. Need help? Our team is here to support you.