Skip to main content
The Fanfare API provides programmatic access to the Fanfare platform, enabling you to build integrations for virtual waiting rooms, queues, auctions, draws, and appointment scheduling.

Architecture

Fanfare exposes two primary APIs: Both APIs follow REST conventions and return JSON responses.

API Versioning

The current public API surface is v1. Public endpoints are served under the /api base path:

Version Lifecycle

  • Current: v1 - Full support, actively maintained
  • Deprecated: Versions are deprecated with 12 months notice before removal
  • Sunset: Deprecated versions are eventually removed

Request Format

Headers

All API requests should include:
For Consumer API with publishable key:
For Admin API or Consumer API server-side calls:

Request Body

Request bodies should be JSON-encoded:

Response Format

Success Responses

Successful responses return the appropriate HTTP status code with a JSON body:

List Responses

List endpoints return arrays, often with pagination metadata:

Error Responses

Errors return appropriate HTTP status codes with error details:

HTTP Status Codes

Multi-Tenancy

Fanfare is a multi-tenant platform. All API requests are scoped to your organization based on your API credentials. You cannot access resources belonging to other organizations.

Timestamps

All timestamps in the API are in ISO 8601 format with UTC timezone:
When creating or updating resources with timestamps, you can specify any valid timezone, but responses will always return UTC.

IDs

Fanfare uses UUIDv7 identifiers for all resources. These IDs are:
  • Globally unique
  • Time-ordered (lexicographically sortable)
  • URL-safe
Example: 01HXYZ123456789ABCDEFGHIJ

SDKs

Official SDKs are available for common platforms:
  • JavaScript/TypeScript: @fanfare-io/fanfare-sdk-core, @fanfare-io/fanfare-sdk-react
  • SolidJS: @fanfare-io/fanfare-sdk-solid
Install via npm:

Next Steps