widgetId; the backend returns reviews, rating data, and dashboard settings in one call.
Setup flow
1. Create an API client
In the dashboard: Integrations → API Clients → Create.- Set allowedOrigins to every domain that will host the widget
- Copy the publishable key (
pk_live_*orpk_test_*)
2. Create a widget
Integrations → Widgets → Create.
Copy the widget ID from the widget detail page.
3. Embed on your site
React (recommended):Resolve endpoint
GET /api/v1/widgets/resolve/{widgetId} returns:
- Widget metadata (
type,minStars,config) - Paginated reviews
ratingSummarywith star distribution
X-Widget-Key header with your publishable key.
Widget type → layout mapping
Override with
config.layout in the dashboard or the React layout prop.
Generate embed snippet
UsebuildReactEmbedSnippet from @ethioreview/review-widget-core:

