API Reference

Last updated: March 27, 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.

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 → Developer → Create token.

Pass it in every request:

curl https://api.betterreviews.app/api/v1/reviews/stats \
  -H "X-API-Key: YOUR_API_KEY"

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": "customer@example.com",
    "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.

MethodPathDescription
POST/review-requests/sendCreate review request, get hub URL
GET/review-requestsList recent review requests
DELETE/review-requests/:idCancel a review request

Reviews

List, moderate, and analyze reviews.

MethodPathDescription
GET/reviewsList reviews (filterable by status, rating, product)
GET/reviews/:idGet single review
PATCH/reviews/:id/approveApprove a pending review
PATCH/reviews/:id/rejectReject a review
DELETE/reviews/:idDelete a review
GET/reviews/statsAggregate review statistics
POST/reviews/searchFull-text search reviews

Product Optimizations

Generate, edit, and publish AI-optimized product descriptions to Shopify.

MethodPathDescription
POST/products/:id/optimizeStart AI optimization (async)
GET/products/:id/optimizationGet current optimization
PATCH/products/:id/optimizationEdit optimization content
POST/products/:id/optimization/approveApprove optimization
POST/products/:id/optimization/publishPublish to Shopify
POST/products/:id/optimization/regenerateGenerate new version
DELETE/products/:id/optimizationDiscard optimization

Brand & Content

AI-powered brand analysis and content generation from reviews.

MethodPathDescription
POST/brand/analyze-brandAnalyze brand positioning from store URL
POST/content/featuresExtract product features from reviews
POST/content/seo-descriptionGenerate SEO product description
POST/questions/generateGenerate FAQ from reviews
POST/reviews/askNatural language Q&A over reviews
POST/reviews/summaryAI summary of review themes

Products

Product catalog, metrics, and Shopify ID lookup.

MethodPathDescription
GET/productsList products with metrics
GET/products/:idGet single product
GET/products/lookup/:platform_idLook up by Shopify product ID
GET/products/status-countsOptimization status summary

Integrations

Connect Okendo, Judge.me, or Yotpo to import existing reviews.

MethodPathDescription
POST/reviews/connectConnect platform + start import
POST/reviews/disconnectDisconnect platform
GET/reviews/platforms/credentialsList active connections
POST/reviews/webhooks/subscribeRegister webhook with platform

Settings

Configure review collection and moderation rules.

MethodPathDescription
GET/store/review-settingsGet current settings
PUT/store/review-settingsUpdate settings

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.

Error Responses

All errors return JSON with an error field:

{"error": "invalid_email"}
StatusMeaning
401Invalid or missing API key
404Resource not found
409Duplicate (review request already exists)
422Validation error

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.