واجهة برمجة التطبيقات
ادمج موظفي BlivoAI الذكاء في منصتك. واجهة REST API احترافية مع مصادقة آمنة، حد للطلبات، وتتبع الاستخدام.
متوفر لخطط الاشتراك المتقدمة
واجهة API متاحة للاشتراكات الاحترافية والمؤسسية فقط. احصل على مفتاح API من لوحة التحكم في قسم "مفاتيح API".
سجّل دخولك في لوحة التحكم، اذهب لقسم "مفاتيح API"، وأنشئ مفتاح جديد. المفتاح يظهر مرة واحدة فقط — احفظه في مكان آمن.
// Your API key looks like this: blv_sk_a1b2c3d4e5f67890abcdef1234567890... // Include it in the Authorization header: Authorization: Bearer blv_sk_a1b2c3d4e5f6...
const response = await fetch('https://blivoai.com/api/v1/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer blv_sk_YOUR_KEY_HERE'
},
body: JSON.stringify({
employeeId: 'YOUR_EMPLOYEE_ID',
message: 'Hello! Can you help me with...'
})
});
const result = await response.json();
console.log(result.data.reply); // AI employee responseconst response = await fetch('https://blivoai.com/api/v1/employees', {
headers: {
'Authorization': 'Bearer blv_sk_YOUR_KEY_HERE'
}
});
const result = await response.json();
console.log(result.data); // Array of employees
console.log(result.pagination); // { page, limit, total, totalPages }تحتاج مساعدة؟ تواصل معنا أو راجع لوحة التحكم لإنشاء مفتاح API.
BlivoAI Developer API v1.0 — جميع الحقوق محفوظة
