API Reference

Build powerful voice AI integrations with our comprehensive REST API.

npm install @callsureai/sdk

Real-time Events

WebSocket and webhook support for real-time call events and transcripts.

Secure by Default

OAuth 2.0 authentication with API keys and role-based access control.

RESTful Design

Intuitive REST API with JSON responses and comprehensive error handling.

API Endpoints

Core endpoints to get you started.

POST/v1/agents
GET/v1/agents/:id
POST/v1/calls
GET/v1/calls/:id
GET/v1/analytics
POST/v1/webhooks

Authentication

All API requests require authentication using an API key. Include your key in the Authorization header.

API Key Authentication
OAuth 2.0 Support
Webhook Signatures
curl -X GET "https://api.callsure.ai/v1/agents" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Official SDKs

Use our SDKs for faster integration.

Ready to Build?

Get your API keys and start building with CallSure AI today.