API Reference
Last updated: November 19, 2026
The BetterReviews API lets you manage reviews, send review request links to customers, and configure collection settings. All endpoints use JSON and authenticate with a store API key.
This reference covers the public API. Routes under /api/v1 that are not listed here are internal to the BetterReviews app: they are unsupported for integrations and may change or disappear without notice.
For AI agents: Install the BetterReviews skill for Claude Code, or use this reference directly.
Authentication
Create an API key in the BetterReviews app: Settings → Integrations → API access → Create token.
Pass it in every request:
curl https://api.betterreviews.app/api/v1/reviews/stats \
-H "X-API-Key: YOUR_API_KEY" Send the key in the header only, never in the query string. Keys are Read-only, Read & Write, or Timing rules only (scope ["ask_rules"]: works solely under /ask-rules, including PUT/DELETE /ask-rules/rules, for an AI agent that manages review-request timing; ["read","ask_rules"], API only, adds Read-only access everywhere else). Every write endpoint — any POST, PUT, PATCH or DELETE, including creating or revoking API keys — needs a Read & Write key, and a Read-only key gets 403 with {"detail": "Insufficient scope. This endpoint requires 'write' scope."}. The exceptions are POSTs that only read, which a Read-only key can call: /reviews/search, /reviews/metrics, /reviews/ask, /reviews/summary and /ask-rules/preview, plus two internal routes the BetterReviews app uses (/reviews/nl-search, /store/email-preview). search, ask, summary and nl-search use AI, so a Read-only key can spend the store's AI usage. A key created by an expiring key never outlives it: its expires_at is capped at the creating key's, and it can only carry scopes the creating key holds.
Managing API keys
The canonical endpoints are /tokens, the same ones the Settings → Integrations → API access screen uses. /user/api-keys is an older alias over the same keys with a different response shape; prefer /tokens for new integrations.
| Method | Path | Key | Description |
|---|---|---|---|
POST | /tokens | Read & Write | Create a key. Body: name (required, up to 100 characters, may not start with store- or be a partner name such as reactiv or pdq), scopes (optional: any of read, write, ask_rules; omitted means ["read","write"]; [] is a 422), expires_at (optional, ISO 8601). 201 returns {id, name, prefix, scopes, token, created_at, expires_at}. token is the raw key, shown once. |
GET | /tokens | Read-only or Read & Write | The store's active keys, newest first: [{id, name, prefix, scopes, last_used_at, created_at, expires_at}]. Never the raw key. Includes the key making the call and any MCP connector tokens (name: "mcp-connector"); the store's install-provisioned key and partner keys are not listed. |
DELETE | /tokens/:id | Read & Write | Revoke a key immediately. 204, also on a repeat. 404 {"detail": "Token not found"} for another store's key, the install-provisioned key or a partner key. Revoking the key you are calling with works, and it stops working at once. |
The alias: POST /user/api-keys (same body; 201 returns {id, name, key, is_active, expires_at, created_at, store_id, scopes, prefix}), GET /user/api-keys (adds is_active, requests_count, requests_reset_at and store_id) and DELETE /user/api-keys/:id (200 {"message": "API key deleted successfully"}). Both families revoke rather than hard-delete. Errors: 422 with detail for a bad name, unknown scopes, or a scope the calling key does not hold; 403 {"detail": "store-scoped credential required"} for a credential without a store.
To check that a key works, call GET /auth/me: 200 means the key is valid, 401 means it is missing, revoked or expired. The response body describes an internal BetterReviews account, not your store, so don't rely on its fields.
Base URL
https://api.betterreviews.app/api/v1 Quick Start
Send a review link to a customer (no automated email):
curl -X POST https://api.betterreviews.app/api/v1/review-requests/send \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"customer_name": "Jane Doe",
"product_ids": ["shopify-7125386199075"],
"skip_email": true
}' Response:
{
"ok": true,
"request_id": 123,
"status": "manual",
"hub_url": "https://api.betterreviews.app/review/hub?token=..."
} Share the hub_url with your customer. They click it, see their products, and leave reviews via AI-guided chat.
Endpoints
Review Requests
Create, list, and manage review request links.
| Method | Path | Description |
|---|---|---|
POST | /review-requests/send | Create review request, get hub URL |
GET | /review-requests | List recent review requests |
DELETE | /review-requests/:id | Cancel a review request |
GET | /email-requests/stats | Email funnel stats: sent, opened, clicked, bounced, conversion |
Permission Requests ENTITLEMENT
Ask a reviewer for permission to feature their review in marketing, preview who will be asked (masked email only), and list every request. Requires the rights_management entitlement. The Better and Studio plans include it; the Free and Good plans do not, and neither does a cancelled store (cancelling returns the store to Free). On legacy plans (no longer sold), it is available on Growth and above, and on legacy Pro and Enterprise; stores on the legacy Starter plan do not have it.
| Method | Path | Description |
|---|---|---|
GET | /reviews/:id/permission-preview | Is the reviewer reachable? Masked email only |
POST | /reviews/:id/request-permission | Email the reviewer asking to feature their review |
GET | /reviews/permission-requests | List permission requests and their answers |
Conversations
Aggregate funnel stats for AI review-chat conversations: engagement buckets and origin breakdown.
| Method | Path | Description |
|---|---|---|
GET | /conversations/stats | Engagement buckets (no_show / one_and_done / mid_flow / completed / long / failed) + origin counts and rates |
Reviews
List, moderate, and analyze reviews.
| Method | Path | Description |
|---|---|---|
GET | /reviews | List reviews (filterable by status, rating, product) |
GET | /reviews/:id | Get single review |
PATCH | /reviews/:id/approve | Approve a pending or rejected review |
PATCH | /reviews/:id/reject | Reject a review |
PUT | /reviews/:id/feature | Pin a review for the featured reviews block |
DELETE | /reviews/:id/feature | Remove a pin (also an imported Judge.me pin) |
GET | /featured-reviews | Exactly what the featured reviews block shows for a product (product_id) or store-wide, with pin and highlight details |
PUT | /featured-reviews/order | Reorder one product's pins (review_ids) |
PUT | /reviews/:id/featured-highlight | Choose the highlighted phrase: auto, off or a custom phrase from the review |
GET POST | /featured-topics | List or create ad topics: link text that shows a chosen review first in the featured reviews block to shoppers arriving through that link |
PUT DELETE | /featured-topics/:id | Rename a topic, change its link text, or delete it |
PUT DELETE | /featured-topics/:id/review | Choose (or clear) the review shown first for a topic on a product or store-wide |
GET | /featured-topics/:id/candidates | Reviews that mention the topic, whatever their star rating; for one product also the topic's AI-written search words |
POST GET | /featured-topics/:id/pick | Ask AI to pick the review shown first for a topic on one product (never replaces your own choice), then poll for the result |
GET POST | /featured-topics/suggestions | Ask AI to suggest ad topics from one product's reviews (or, once per store, from the 10 products with the most reviews in the last year), then read them; nothing reaches the storefront until you add one |
POST | /featured-topics/suggestions/:id/add | Add a suggested topic (with generated link text) and ask AI to pick its review |
POST | /featured-topics/suggestions/:id/dismiss | Dismiss a suggested topic so it is not suggested again for that product |
DELETE | /reviews/:id | Delete a review |
GET | /reviews/stats | Aggregate review statistics |
GET | /reviews/top | Best reviews for one product, ranked for marketing use or by helpfulness — SQL only, no AI cost |
POST | /reviews/search | Hybrid (vector + keyword) search over reviews — supports date / product / category filters. Needs an active paid subscription |
GET | /reviews/products | One row per product with review counts and average rating |
GET | /reviews/sentiments | Published reviews per AI sentiment |
GET | /reviews/keywords | AI-tagged keywords, most-mentioned first (/reviews/keywords/autocomplete for type-ahead) |
GET | /reviews/tag-groups | Keyword topics with review counts |
GET | /reviews/products/autocomplete | Products with published reviews, matched on product ID |
GET | /reviews/:id/similar | Reviews closest in meaning to one review |
Ask rules
When to ask for a review, per product, tag or product type: days after delivery, shipping or the order, or never. Writes need a Read & Write key or the narrow ask_rules scope; every write is version-checked and has a dry run.
| Method | Path | Description |
|---|---|---|
GET | /ask-rules/status | Engine mode and effective mode, no counts |
GET | /ask-rules | Rules, store default, version, limits |
GET | /ask-rules/facets | Tags or product types with product counts |
GET | /ask-rules/products | Products with the rule that applies to each |
POST | /ask-rules/preview | When a product would be asked, with an explanation |
PUT | /ask-rules/rules | Create or change rules (dry run first) |
DELETE | /ask-rules/rules | Delete rules (confirm required) |
Claims ENTITLEMENT
Record the marketing claims you want your reviews to support, link supporting reviews with a quoted sentence, and reserve the topic for chat collection (rolling out). Requires the claim_collection entitlement. Better and Studio include it; the Free and Good plans do not, and neither does a cancelled store (cancelling returns the store to Free). On legacy plans (no longer sold), it is available on Growth and above, and on legacy Pro and Enterprise; stores on the legacy Starter plan do not have it.
| Method | Path | Description |
|---|---|---|
GET | /claims | List claims (filter by product, status, collection state) |
POST | /claims | Create a claim for a product |
GET | /claims/:id | Claim with stats and linked reviews |
PATCH | /claims/:id | Edit text, status, or toggle collection |
DELETE | /claims/:id | Archive a claim |
POST | /claims/:id/reviews | Link reviews with evidence quotes |
GET | /claims/:id/reviews | List linked reviews |
DELETE | /claims/:id/reviews/:review_id | Unlink a review |
Review Groups ENTITLEMENT
Pool reviews across related products (variants, packs, bundles) so every member shows one combined rating. Base path /api/v1/review-groups. One group per product, 500 members per group, and a soft cap of 1,000 groups per store. Writes need a Read & Write key. Requires the review_groups entitlement, which every plan includes: Free, Good, Better, Studio and every legacy plan.
| Method | Path | Description |
|---|---|---|
GET | /review-groups | List groups with member counts |
GET | /review-groups/memberships?product_ids=… | Which group each product is in (up to 250 IDs) |
GET | /review-groups/:id | Group with members and each member's product_status |
POST | /review-groups | Create a group (20/minute) |
PATCH | /review-groups/:id | Rename a group |
DELETE | /review-groups/:id | Delete a group |
POST | /review-groups/:id/members | Add one product (no-op if already a member) |
POST | /review-groups/:id/members/batch | Add up to 200 products, all-or-nothing (30/minute) |
DELETE | /review-groups/:id/members/:external_product_id | Remove one product |
POST | /review-groups/:id/members/batch-remove | Remove up to 200 products (30/minute) |
POST | /review-groups/move | Move a product to another group |
MCP Server
The same review (listing, stats, moderation, replies, and pins, highlights and ad topics for the featured reviews block), usage, claim, permission and product-page optimization operations as MCP tools for Claude Code, Claude Desktop and claude.ai custom connectors, plus Studio creatives: read the library, generate new ads and emails, edit and save their copy (never the customer quote) and export ad PNGs. Header-authenticated at /api/v1/mcp (full tool set) or via a read-only connector URL for clients that cannot send headers.
| Method | Path | Description |
|---|---|---|
POST | /mcp | MCP endpoint (Streamable HTTP, X-API-Key header) |
POST | /mcp/c/:token | MCP endpoint via connector URL (read-only tools) |
POST | /mcp/connector-tokens | Mint a connector URL (shown once, 90-day expiry, max 2 active) |
GET | /mcp/connector-tokens | List active connector tokens (prefix, last used, expiry) |
DELETE | /mcp/connector-tokens/:id | Revoke a connector token |
Product Optimizations ENTITLEMENT
Generate, edit, and publish AI product page content (key features, review summary, FAQ, SEO description) to Shopify. Requires the product_pages entitlement. Without it, write calls and the history list (GET /products/:id/optimizations) return 403 entitlement_required, and the single-optimization read (GET /products/:id/optimization) returns 200 with content: null. Better and Studio include it; the Free plan does not, and neither does a cancelled store (cancelling returns the store to Free). The Good plan gets a capped sneak peek of these REST endpoints instead (2 products drafted, 1 free publish and up to 12 generations in any 30 days, then 402 peek_limit_reached; see Product Optimizations). On legacy plans (no longer sold), it is available on Growth and above, and on legacy Pro and Enterprise; stores on the legacy Starter plan do not have it.
| Method | Path | Description |
|---|---|---|
POST | /products/:id/optimize | Start AI optimization (async) |
GET | /products/:id/optimization | Get current optimization |
PATCH | /products/:id/optimization | Edit optimization content |
POST | /products/:id/optimization/approve | Approve optimization |
POST | /products/:id/optimization/publish | Publish to Shopify |
POST | /products/:id/optimization/regenerate | Generate new version |
DELETE | /products/:id/optimization | Discard optimization |
Brand & Content
AI-powered brand analysis and content generation from reviews.
| Method | Path | Description |
|---|---|---|
POST | /brand/analyze-brand | Analyze brand positioning from store URL |
POST | /content/features | Extract product features from reviews |
POST | /content/seo-description | Generate SEO product description |
POST | /questions/generate | Generate related questions for a topic |
POST | /reviews/ask | Natural language Q&A over reviews |
POST | /reviews/summary | AI summary of review themes |
Every POST in this table needs a Read & Write key except /reviews/ask and /reviews/summary, which are read-shaped and accept Read-only. /content/features, /content/seo-description and /questions/generate additionally need a store-bound key.
Products
Product catalog, metrics, and Shopify ID lookup.
| Method | Path | Description |
|---|---|---|
GET | /products | List products with metrics |
GET | /products/:id | Get single product |
GET | /products/lookup/:platform_id | Look up by Shopify product ID |
GET | /products/status-counts | Optimization status summary |
Integrations
Connect Okendo, Judge.me, or Yotpo to import existing reviews, or connect the Reactiv and PDQ partner integrations.
| Method | Path | Description |
|---|---|---|
POST | /reviews/connect | Connect platform + start import |
POST | /reviews/disconnect | Disconnect platform |
GET | /reviews/platforms/credentials | List active connections |
DELETE | /reviews/platforms/credentials/:id | Remove a connection and its webhook |
POST | /reviews/webhooks/subscribe | Register webhook with platform |
GET | /integrations/:partner | Reactiv / PDQ connection state (reactiv or pdq) |
POST | /integrations/:partner/connect | Create the partner key, shown once ({"rotate": true} to replace) |
POST | /integrations/:partner/disconnect | Revoke the partner key |
POST | /csv/upload … /csv/start-import | Import reviews or Q&A from a CSV (six calls: upload, map columns, confirm mapping, poll status, start, cancel) |
GET | /integrations/google-feed/status | Google Product Ratings feed state and URL (the URL contains a secret) |
POST | /integrations/google-feed/toggle | Turn the Google feed on or off |
POST | /integrations/google-feed/rotate | Replace the Google feed URL |
GET | /integrations/klaviyo/status | Klaviyo connection state (never the key) |
POST | /integrations/klaviyo/connect | Connect a Klaviyo private key |
POST | /integrations/klaviyo/disconnect | Remove the Klaviyo key |
POST | /integrations/klaviyo/test-events | Send sample events to Klaviyo (5/hour) |
GET | /integrations/klaviyo-feed/status | Klaviyo best-reviews feed state and URL (the URL contains a secret) |
POST | /integrations/klaviyo-feed/toggle | Turn the Klaviyo feed on or off |
POST | /integrations/klaviyo-feed/rotate | Replace the Klaviyo feed URL |
Settings
Configure review collection and moderation rules.
Method Path Description GET/store/review-settingsGet current settings PUT/store/review-settingsUpdate settings GET/store/support-emailsLegacy support-email list (fallback recipients) PATCH/store/support-emailsReplace the legacy support-email list (up to 3)
Utility
Method Path Description GET/auth/meCheck that a key is valid (200) — see Managing API keys GET/reviews/jobs/:idStatus of an enrichment, keyword-research or product-prepare job by ID: {id, status, result, error}. Another store's product-prepare job returns 404. For a store without AI product pages, result is withheld: {id, status, available_on_pro: true}
Product IDs
Product IDs use the format shopify-{NUMERIC_ID}. Find the numeric ID from your Shopify admin URL: admin.shopify.com/products/7125386199075 becomes shopify-7125386199075.
Plan availability
Every store is on Free ($0), Good ($49/mo, plan key good), Better ($149/mo, plan key unlimited) or Studio ($399/mo); there is no trial, and cancelling returns a store to Free. API access is on every plan, Free included, as are the review, import, moderation, settings, groups, review-request, metafield and stats endpoints. AI search (POST /reviews/search and the MCP search_reviews tool), POST /reviews/ask, POST /reviews/summary and the other LLM-backed endpoints are not: they return 402 subscription_required on Free. Good, Better and Studio all count as an active paid subscription.
Error Responses
All errors return JSON with an error field:
{"error": "invalid_email"}
Status Meaning 401 Invalid or missing API key 402 Active subscription required. Body: {"error": "subscription_required"}. Returned by LLM-backed endpoints (review search/ask/summary, every entitlement-gated AI endpoint, and the internal AI routes the BetterReviews app uses) when the store is on the Free plan, or its subscription is pending, cancelled, or frozen. POST /store/send-test-email is no longer in this set — it works on any plan and does not require review collection to be switched on (only an installed, unfrozen store). Distinct from 402 credit_limit_reached on optimization publish and 402 peek_limit_reached — key on the error field, not the status. 402 Good-plan sneak peek used up. Body: {"error": "peek_limit_reached", "feature": "product_pages"}. Returned by the product optimization endpoints on the Good plan once the store has drafted 2 products, published 1, or run 12 generations (including regenerations) in any 30 days, or used its 20 fact checks for the day on edit and re-check. Upgrading to Better lifts it. 403 Entitlement required. Body: {"error": "entitlement_required", "feature": "product_pages"}. The store lacks the entitlement that endpoint requires. Better and Studio include all gated entitlements; the Free plan holds none of them except :review_groups and :api_access; Good adds :branding_removal and the capped product-optimization peek, and returns 403 everywhere else. On legacy plans (no longer sold), most are available on Growth and above, and on legacy Pro and Enterprise; API access itself on the older ladder is legacy Enterprise only. See each section for its legacy availability. GET /reviews/top also returns 403 with a different body — {"detail": "Store-scoped API key required"} — when the key is not bound to a single store. 403 Insufficient scope. Body: {"detail": "Insufficient scope. This endpoint requires 'write' scope."} — this one uses detail, not error. A Read-only API key called a write endpoint (any POST/PUT/PATCH/DELETE except the read-only POSTs listed under Authentication); use a Read & Write key. 404 Resource not found 405 Method not allowed (read-only stats endpoints reject non-GET, returning Allow: GET) 409 Duplicate or conflict. Review request already exists; review approve / reject / feature / unfeature return {"error": "already_actioned"} when the review is already in that state (for feature: already pinned in BetterReviews; re-pinning an imported Judge.me pin succeeds), or changed concurrently. Review groups: {"error": "name_taken", "existing_group_id": 42} when another active group already has that name, and membership_conflict (with a conflicting list) when a product is already in another group. 422 Validation error. Featured reviews: not_featurable (pin), not_reorderable / invalid_order (order), invalid_highlight / invalid_mode (highlight); ad topics (/featured-topics) invalid_name, name_taken, invalid_matches, match_taken, topic_limit, match_limit, wrong_product, page_full, (candidates) too_broad and (AI pick) product_required, manual_choice, pick_limit and (AI topic suggestions) too_few_reviews, no_new_reviews, suggestion_limit. Stats endpoints return shapes like {"error": "window_too_large", "max_days": 90} and {"error": "invalid_window"}. Permission requests return already_requested, recipient_recently_asked, no_reachable_email, consent_blocked, or suppressed. Review groups return {"error": "invalid_product_id", "invalid": [...]} for product IDs that are neither numeric nor a gid://shopify/Product/ GID, too_many_groups at the 1,000-group store cap, too_many_members past 500 distinct product IDs, too_many_product_ids when a batch carries more than 200 raw IDs (duplicates count), /memberships more than 250, or create more than 1,000, and invalid_product_ids_param when product_ids is missing, not a list, or the /memberships query has another shape. At most 20 values are echoed in invalid. 429 Rate limited. Every authenticated endpoint is capped at 600/minute per store; some add tighter buckets (e.g. POST /reviews/:id/request-permission: 10/minute and 200/day; its preview 120/minute; POST /review-groups: 20/minute; the two review-group batch member routes: 30/minute shared; PUT /featured-reviews/order, PUT /reviews/:id/featured-highlight and the /featured-topics writes: 30/minute shared; GET /featured-topics/:id/candidates: 30/minute). Body: {"detail": "Rate limit exceeded"} — this status uses detail, not error — except the per-endpoint buckets of the reply and featured reviews writes, which return {"error": "rate_limited"}.
For AI Agents
BetterReviews publishes a Claude Code skill that AI agents can install to interact with this API. The skill includes authentication setup, common workflows, and endpoint reference files.
Install in Claude Code (run in your project root):
curl -fSL https://betterreviews.app/downloads/betterreviews-api-skill.tar.gz | tar -xz -C "$(mkdir -p .claude/skills && echo .claude/skills)" && echo "Installed to .claude/skills/betterreviews-api/"
Or download the package directly and see the skill page for setup instructions.
Book a demo