Developer Resources
Build custom integrations, automate workflows, and extend HostFabric with our APIs, webhooks, and real-time event streams. Designed for developers who want full control.
API Keys & Authentication
Generate API keys to programmatically control your agents, queue, and overlay settings.
- RESTful API with JSON responses
- Scoped tokens for different environments
- Rate limiting and usage tracking
- OAuth 2.0 support for platform integrations
Sign up to generate keysWebhooks & Real-time Events
Subscribe to real-time events from your co-host sessions for custom integrations.
- Agent response events
- Queue status updates
- Chat command triggers
- Overlay state changes
View webhook docsCustom Overlays
Build your own overlay UI using our SSE stream and Supabase Realtime APIs.
- Server-Sent Events (SSE) for low latency
- Supabase Realtime fallback
- Custom avatar artwork support
- Layout API for positioning
Integration guideAPI Reference
Complete API documentation with request/response examples and error handling.
- Send prompts to queue
- Manage agent selection
- Control overlay settings
- Access conversation history
View API docsQuick Start Example
Send your first prompt to the HostFabric API:
// Send a prompt to your Host Fabric queue
const response = await fetch('https://hostfabric.ai/api/ask', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
prompt: 'Welcome to the stream!',
roomId: 'default',
mode: 'panel'
})
});
const data = await response.json();
console.log('Job ID:', data.jobId);
API v1.4.0 highlights
- Multi-streamer collaboration APIs for shared AI co-hosts across multiple streaming sessions.
- Predictive queue learning endpoints with ML-based timing optimization and question prediction.
- Voice override system APIs for persistent voice customization storage and user-scoped access.
- Advanced analytics endpoints for queue timing patterns, agent performance, and engagement metrics.
- Real-time context synchronization APIs for collaborative streaming environments.