API सक्रिय
अंतिम अपडेट: 2 मिनट पहले
API डॉक्यूमेंटेशनशुरुआत
CMDesk API
CMDesk API के साथ रिमोट एक्सेस सेशन को प्रोग्रामेटिक रूप से प्रबंधित करें, यूज़र्स और डिवाइस को नियंत्रित करें और विस्तृत रिपोर्ट पाएँ।
ऑथेंटिकेशन
API की प्राप्त करना और उपयोग करना
सेशन API
सेशन शुरू करना और प्रबंधित करना
Webhooks
रियल-टाइम इवेंट नोटिफ़िकेशन
क्विक स्टार्ट
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 |
| Pro | 10,000 req/घंटा | 100 |
| Enterprise | असीमित | 1000 |