Skip to main content
The SDK provides a generic integration data API for third-party services connected through the Stackfront dashboard. Each integration exposes data types that can be queried by slug. For Judge.me reviews, use the typed useProductReviews hook instead of parsing the generic payload yourself.

Usage

Hook API

data is null until the integration has synced. A disconnected integration, an unknown slug, or an expired cache is returned as an ApiError with status 422 or 503; handle those as “nothing to show” for non-critical sections.

Response Shape

The data field is a raw JSON string — parse it with JSON.parse().

Service API

Connected Integrations

Check which integrations are connected from the SDK config. The map is keyed by integration slug, not category, so two review providers can be connected at once:

Available Integrations

Judge.me product reviews are supported today. Additional providers are added as they become available; check the Stackfront dashboard for the current list. Connect integrations from the dashboard before querying them — the SDK returns no data until a sync has populated the cache.