API Aktif
Son güncelleme: 2 dakika önce
API DokümantasyonuBaşlangıç
CMDesk API
CMDesk API'si ile uzak erişim oturumlarını programatik olarak yönetin, kullanıcıları ve cihazları kontrol edin, detaylı raporlar alın.
Kimlik Doğrulama
API anahtarı alma ve kullanma
Oturum API
Oturum başlatma ve yönetme
Webhooks
Real-time event bildirimleri
Hızlı Başlangıç
example.js
// API Anahtarı ile Kimlik Doğrulama
const cmdesk = require('@cmdesk/sdk');
const client = new cmdesk.Client({
apiKey: 'your_api_key_here',
region: 'eu-central'
});
// Yeni bir oturum başlat
const session = await client.sessions.create({
targetDeviceId: 'device_123',
options: {
quality: 'high',
recordSession: true
}
});
console.log('Oturum ID:', session.id);Webhook Payload Örneği
{
"event": "session.connected",
"timestamp": "2026-03-28T10:30:00Z",
"data": {
"session_id": "sess_abc123",
"user_id": "usr_xyz789",
"device_id": "dev_def456",
"ip_address": "203.0.113.1",
"started_at": "2026-03-28T10:30:00Z"
}
}Rate Limits
| Plan | Limit | Burst |
|---|---|---|
| Ücretsiz | 100 req/saat | 10 |
| Pro | 10,000 req/saat | 100 |
| Enterprise | Sınırsız | 1000 |