Stella PBX Genel API
Kendi yazılımınızı (e-ticaret, muhasebe, CRM, çağrı merkezi uygulamanız) santralinizle konuşturun. Uç noktaları gerçek anahtarınızla deneyin, PHP/JS/C# örneklerini kopyalayın.
Authentication Kimlik Doğrulama
Get your API key from the General API page of your tenant panel and send it in the Authorization header with every request. Paste it into the box above — every “Try it” form and code sample on this page picks it up automatically.
API anahtarınızı tenant panelinizdeki Genel API sayfasından alın, her istekte Authorization başlığında gönderin. Yukarıdaki kutuya yapıştırın — sayfadaki her “Deneyin” formu ve kod örneği otomatik onu kullanır.
Authorization: Bearer <YOUR_API_KEY>
Real-time Notifications (WebSocket) Gerçek Zamanlı Bildirimler
The call.ringing webhook is a server-to-server POST and is ideal for background integrations. If you are building a LIVE
interface (contact-centre screen, screen-pop), use this socket.io connection — you get instant status updates on every
inbound and outbound call on your extension.
Endpoint: wss://yourdomain.com (path /socket.io), query parameters apiKey and
extension (your own extension WITHOUT the tenant prefix, e.g. 1000).
Event to listen to: extension_status → { extension, status: "RINGING"|"TALKING"|"IDLE", peer, direction, timestamp }.
While status is RINGING, peer is the caller’s number — that is the right moment for a screen-pop.
This apiKey is DIFFERENT from the General API key above — get it from the
CTI Integration page of your tenant panel.
call.ringing webhook’u sunucu-sunucu POST attığı için arka plan entegrasyonları için idealdir; CANLI bir arayüz
(çağrı merkezi ekranı, ekran patlatma) yapıyorsanız bu socket.io bağlantısını kullanın. Bağlantı adresi
wss://yourdomain.com (path /socket.io), parametreler apiKey ve extension
(tenant öneki OLMADAN kendi dahiliniz, ör. 1000). status RINGING iken peer
arayan numaradır — ekran patlatma için doğru an budur. Bu apiKey, yukarıdaki Genel API anahtarından FARKLIDIR;
tenant panelinizdeki CTI Entegrasyonu sayfasından alınır.
Endpoints Uç Noktalar
Click a row to open the Overview / Try it / Code tabs. DELETE and Hangup endpoints require {"confirm": true} in the body to prevent accidental bulk operations.
Bir satıra tıklayınca Overview / Try it / Code sekmeleri açılır. DELETE ve Hangup uçları yanlışlıkla toplu işlem yapılmasını önlemek için gövdede {"confirm": true} ister.