Build with Kallina API
REST API complet pentru integrare programatică. Inițiază apeluri, primește events în real-time prin webhooks, importă date, și controlează totul din codul tău.
REST
API Type
JSON
Format
1000
Req/min
99.9%
Uptime
Endpoint-uri Principale
https://api.kallina.info/v1POST
/calls/initiateGET
/calls/{id}GET
/calls/{id}/transcriptGET
/calls/{id}/recordingPOST
/campaignsPOST
/contacts/importExemplu Quick Start
initiate_call.py
import kallina
client = kallina.Client(api_key="sk_live_...")
# Inițiază un apel
call = client.calls.create(
to="+37369123456",
agent_id="agent_abc123",
variables={
"client_name": "Ion Popescu",
"order_id": "#12345"
},
webhook_url="https://your-app.com/webhook"
)
print(f"Call initiated: {call.id}")
# Output: Call initiated: call_xyz789Webhook Events
call.startedApelul a început
call.answeredClientul a răspuns
call.endedApelul s-a încheiat
call.transferredTransferat la agent uman
lead.qualifiedLead calificat de AI
appointment.bookedProgramare făcută
Webhook Payload
POST /your-webhook-endpoint{
"event": "call.ended",
"timestamp": "2025-12-20T14:32:00Z",
"data": {
"call_id": "call_xyz789",
"duration": 234,
"status": "completed",
"outcome": "lead_qualified",
"sentiment": "positive",
"transcript_url": "https://api.kallina.info/v1/calls/xyz789/transcript",
"recording_url": "https://api.kallina.info/v1/calls/xyz789/recording",
"variables": {
"client_name": "Ion Popescu",
"appointment_date": "2025-12-22T10:00:00Z"
}
}
}SDK-uri Oficiale
🐍
Python
Available
🟢
Node.js
Available
🐘
PHP
Available
💎
Ruby
Coming Soon
🔵
Go
Coming Soon
☕
Java
Coming Soon
Autentificare
API Keys
- •Test keys:
sk_test_... - •Live keys:
sk_live_... - •Bearer token în header
Header Format
Authorization: Bearer sk_live_...Rate Limits
100
req/min
Basic Plan
500
req/min
Professional
1000+
req/min
Enterprise