FunktionenPreiseÜber unsArtikelDokumentation
    Entwickler

    API, SDK, MCP und Webhooks.

    Developer PlatformQuickstartAuthenticationAPI ReferenceSDKMCPWebhooksErrorsPaginationRate LimitsIdempotencyChangelogMigration and Versioning Policy
    Roh-API-DokumentationOpenAPI YAMLAsyncAPI YAML
    1. Startseite
    2. /
    3. Entwickler
    4. /
    5. SDK

    SDK

    The official TypeScript SDK is generated and tested against the public OpenAPI contract.

    Install

    npm install @fabhub/sdk
    

    Authentication

    Pass an API key or OAuth access-token provider when constructing the client.

    import { FabHubClient } from '@fabhub/sdk';
    
    export const fabhub = new FabHubClient({
      apiKey: process.env.FABHUB_API_KEY,
    });
    

    Built-in behavior

    • Typed request and response models from the public contract.
    • Typed FabHubApiError for non-2xx responses.
    • Pagination helpers and examples for list endpoints.
    • Idempotency-key support on write calls.
    • Webhook signature verification helper.

    Drift protection

    The SDK operation mapping is checked against OpenAPI so public SDK methods cannot silently drift from public routes or point at internal surfaces.

    StartseiteFunktionenPreiseÜber unsArtikelDokumentationEntwickler
    © FabHubDatenschutzNutzungsbedingungen