API aktiv

Letzte Aktualisierung: vor 2 Minuten

API-DokumentationErste Schritte

CMDesk API

Verwalten Sie mit der CMDesk API Fernzugriffssitzungen programmatisch, steuern Sie Benutzer und Geräte und rufen Sie detaillierte Berichte ab.

Schnellstart

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);

Beispiel für eine Webhook-Payload

{
  "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

PlanLimitBurst
Kostenlos100 Anfragen/Stunde10
Pro10.000 Anfragen/Stunde100
EnterpriseUnbegrenzt1000