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 keys

Webhooks & 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 docs

Custom 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 guide

API 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 docs

Quick 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.

Production proof points

Builder docs backed by the live platform

Everything on this page is generated from the same schema and policy engines powering our APIs—so there’s no drift between reference material and reality.

Same auth as production

API docs mirror the OAuth scopes and token lifetimes running in Control, so calls here just work.

Real telemetry examples

Sample payloads come from actual queue events and webhook deliveries, not mocked stubs.

Resilient infra

We include retry policies, status endpoints, and sandbox keys so you can test before go-live.

Ready to build?

Create an account to generate API keys and start integrating HostFabric into your workflows. Full documentation available after signup.