FonctionnalitésTarifsÀ proposArticlesDocumentation
    Développeurs

    API, SDK, MCP et webhooks.

    Developer PlatformQuickstartAuthenticationAPI ReferenceSDKMCPWebhooksErrorsPaginationRate LimitsIdempotencyChangelogMigration and Versioning Policy
    Docs API brutesOpenAPI YAMLAsyncAPI YAML
    1. Accueil
    2. /
    3. Développeurs
    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.

    AccueilFonctionnalitésTarifsÀ proposArticlesDocumentationDéveloppeurs
    © FabHubPrivacy & CookiesTerms