API सक्रिय

अंतिम अपडेट: 2 मिनट पहले

API डॉक्यूमेंटेशनशुरुआत

CMDesk API

CMDesk API के साथ रिमोट एक्सेस सेशन को प्रोग्रामेटिक रूप से प्रबंधित करें, यूज़र्स और डिवाइस को नियंत्रित करें और विस्तृत रिपोर्ट पाएँ।

क्विक स्टार्ट

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

वेबहुक पेलोड उदाहरण

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

रेट लिमिट्स

प्लानलिमिटबर्स्ट
फ़्री100 req/घंटा10
Pro10,000 req/घंटा100
Enterpriseअसीमित1000