API Reference
Build powerful voice AI integrations with our comprehensive REST API.
npm install @callsureai/sdkReal-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/agentsGET
/v1/agents/:idPOST
/v1/callsGET
/v1/calls/:idGET
/v1/analyticsPOST
/v1/webhooksAuthentication
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"