ShopReviews

Developers

ShopReviews API

Use the REST API to show your reviews anywhere, build rich snippets, sync rating numbers into your shop, and push orders so ShopReviews can invite customers to leave a review. All requests and responses use JSON.

Base URL

https://portal.shopreviews.com/api/v1

Dates are ISO 8601 strings in UTC (e.g. 2026-09-15T12:00:00+00:00). Ratings are normalised to a 0–5 scale; the platform's own value is available as original_rating / original_scale.

Authentication

Company admins create API tokens in the app under Developers → API tokens. A token is shown only once, starts with sr_ and belongs to your company: it can only read and write your own data.

Send the token in the Authorization header of every request. Never expose it in browser code — use the widget embed for public pages.

curl
curl 'https://portal.shopreviews.com/api/v1/reviews' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'

Abilities

Each token has one or more abilities. Calling an endpoint without the required ability returns 403. Give integrations only the abilities they need.

Ability Grants
reviews:read Read reviews, summaries and widgets
orders:write Push customers & orders (review invitations)

Rate limits & quotas

Every token may make 120 requests per minute. Every successful authenticated request also counts towards your company's monthly quota, which depends on your plan and resets on the first day of each month (UTC).

When a limit is exceeded the API responds with 429 Too Many Requests and a Retry-After header (seconds). Every response includes these headers:

Header Meaning
X-RateLimit-LimitRequests allowed per minute for this token.
X-RateLimit-RemainingRequests left in the current minute.
X-Quota-LimitMonthly calls included in your plan, or "unlimited".
X-Quota-RemainingCalls left this month, or "unlimited".

Monthly quota per plan

Plan API calls per month
Free No API access
S No API access
M No API access
L 100.000
XL 1.000.000

Paging through results

List endpoints are paginated. Use per_page (1–100, default 25) and page. Responses contain the items in data, navigation URLs in links and counters in meta. Follow links.next until it is null.

JSON
{
    "data": [
        "…"
    ],
    "links": {
        "first": "https://portal.shopreviews.com/api/v1/reviews?page=1",
        "last": "https://portal.shopreviews.com/api/v1/reviews?page=12",
        "prev": null,
        "next": "https://portal.shopreviews.com/api/v1/reviews?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 12,
        "path": "https://portal.shopreviews.com/api/v1/reviews",
        "per_page": 25,
        "to": 25,
        "total": 290
    }
}

Errors

Errors always return JSON with a human readable message. Validation errors (422) also contain an errors object with the messages per field.

Status Meaning
400 The request is malformed.
401 The token is missing, unknown, revoked or expired.
403 The token lacks the required ability, the account is suspended, or your plan has no API access.
404 The resource does not exist or belongs to another account.
422 The request data is invalid; see errors.
429 Rate limit or monthly quota exceeded; wait for Retry-After seconds.
5xx Something went wrong on our side. Retry with exponential backoff.
422 JSON
{
    "message": "The external id field is required. (and 1 more error)",
    "errors": {
        "external_id": [
            "The external id field is required."
        ],
        "customer.email": [
            "The customer.email field must be a valid email address."
        ]
    }
}

Endpoints

GET /reviews reviews:read

List reviews

Paginated reviews of your company across all platforms. Only visible reviews are returned unless visible is set.

Parameters

Name In Type Description
project_id query integer Only reviews of this website.
source_id query integer Only reviews of this review source.
provider query string Platform, e.g. google, trustpilot, kiyoh, manual or native.
min_rating query number Minimum rating on the 0–5 scale.
max_rating query number Maximum rating on the 0–5 scale.
language query string ISO language code, e.g. nl.
visible query string true (default), false or all. Values: true, false, all
featured query string true for featured reviews only, false to exclude them. Values: true, false
sku query string Product SKU for product reviews.
since query string (date-time) Reviewed at or after this date / datetime (ISO 8601).
until query string (date-time) Reviewed at or before this date / datetime (ISO 8601). A date includes the whole day.
search query string Search in title, body, author name and SKU.
sort query string Sort order (default -reviewed_at). A leading - sorts descending. Values: -reviewed_at, reviewed_at, -rating, rating, -priority
per_page query integer Results per page (1–100, default 25).
page query integer Page number (default 1).
Request
curl 'https://portal.shopreviews.com/api/v1/reviews?min_rating=4&per_page=10' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'
Response 200
{
    "data": [
        {
            "id": 4821,
            "provider": "google",
            "provider_label": "Google Business Profile",
            "source_id": 7,
            "project_id": 3,
            "author": {
                "name": "Sanne de Vries",
                "location": "Haarlem"
            },
            "rating": 5,
            "original_rating": 5,
            "original_scale": 5,
            "title": "Fast delivery",
            "body": "Ordered on Monday, delivered on Tuesday. Great service!",
            "language": "en",
            "reviewed_at": "2026-09-14T18:22:05+00:00",
            "reply": {
                "text": "Thank you, Sanne!",
                "replied_at": "2026-09-15T08:01:00+00:00"
            },
            "verified": true,
            "featured": false,
            "visible": true,
            "priority": 0,
            "product": {
                "sku": "SHOE-42-BLK",
                "name": "Running shoe black"
            },
            "custom_fields": {
                "size_fit": "true to size"
            },
            "created_at": "2026-09-14T18:30:00+00:00",
            "updated_at": "2026-09-15T08:01:00+00:00"
        }
    ],
    "links": {
        "first": "https://portal.shopreviews.com/api/v1/reviews?page=1",
        "last": "https://portal.shopreviews.com/api/v1/reviews?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://portal.shopreviews.com/api/v1/reviews",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}
GET /reviews/{review} reviews:read

Get a review

A single review of your company, including hidden reviews.

Parameters

Name In Type Description
review required path integer Review id.
Request
curl 'https://portal.shopreviews.com/api/v1/reviews/4821' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'
Response 200
{
    "data": {
        "id": 4821,
        "provider": "google",
        "provider_label": "Google Business Profile",
        "source_id": 7,
        "project_id": 3,
        "author": {
            "name": "Sanne de Vries",
            "location": "Haarlem"
        },
        "rating": 5,
        "original_rating": 5,
        "original_scale": 5,
        "title": "Fast delivery",
        "body": "Ordered on Monday, delivered on Tuesday. Great service!",
        "language": "en",
        "reviewed_at": "2026-09-14T18:22:05+00:00",
        "reply": {
            "text": "Thank you, Sanne!",
            "replied_at": "2026-09-15T08:01:00+00:00"
        },
        "verified": true,
        "featured": false,
        "visible": true,
        "priority": 0,
        "product": {
            "sku": "SHOE-42-BLK",
            "name": "Running shoe black"
        },
        "custom_fields": {
            "size_fit": "true to size"
        },
        "created_at": "2026-09-14T18:30:00+00:00",
        "updated_at": "2026-09-15T08:01:00+00:00"
    }
}
GET /summary reviews:read

Rating summary

Average rating, review count, star distribution and per-platform numbers of all visible reviews.

Parameters

Name In Type Description
project_id query integer Only reviews of this website.
source_id query integer Only reviews of this review source.
since query string (date-time) Reviewed at or after this date / datetime (ISO 8601).
until query string (date-time) Reviewed at or before this date / datetime (ISO 8601).
Request
curl 'https://portal.shopreviews.com/api/v1/summary' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'
Response 200
{
    "data": {
        "average": 4.62,
        "count": 1284,
        "distribution": {
            "1": 21,
            "2": 18,
            "3": 57,
            "4": 243,
            "5": 945
        },
        "providers": [
            {
                "provider": "google",
                "label": "Google Business Profile",
                "count": 812,
                "average": 4.7
            },
            {
                "provider": "kiyoh",
                "label": "Kiyoh",
                "count": 472,
                "average": 4.49
            }
        ]
    }
}
GET /projects reviews:read

List websites

The websites (projects) of your company.

Parameters

Name In Type Description
per_page query integer Results per page (1–100, default 25).
page query integer Page number (default 1).
Request
curl 'https://portal.shopreviews.com/api/v1/projects' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'
Response 200
{
    "data": [
        {
            "id": 3,
            "name": "My Webshop",
            "domain": "www.example.com",
            "default_locale": "nl",
            "created_at": "2026-01-12T09:30:00+00:00",
            "updated_at": "2026-08-01T14:02:11+00:00"
        }
    ],
    "links": {
        "first": "https://portal.shopreviews.com/api/v1/projects?page=1",
        "last": "https://portal.shopreviews.com/api/v1/projects?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://portal.shopreviews.com/api/v1/projects",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}
GET /sources reviews:read

List review sources

Connected review platforms with their sync status and rating numbers. Credentials are never returned.

Parameters

Name In Type Description
project_id query integer Only sources of this website.
per_page query integer Results per page (1–100, default 25).
page query integer Page number (default 1).
Request
curl 'https://portal.shopreviews.com/api/v1/sources' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'
Response 200
{
    "data": [
        {
            "id": 7,
            "project_id": 3,
            "provider": "kiyoh",
            "provider_label": "Kiyoh",
            "name": "Kiyoh — example.com",
            "status": "connected",
            "review_count": 472,
            "average_rating": 4.49,
            "last_synced_at": "2026-09-15T06:00:04+00:00",
            "created_at": "2026-01-12T09:41:00+00:00",
            "updated_at": "2026-09-15T06:00:04+00:00"
        }
    ],
    "links": {
        "first": "https://portal.shopreviews.com/api/v1/sources?page=1",
        "last": "https://portal.shopreviews.com/api/v1/sources?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://portal.shopreviews.com/api/v1/sources",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}
GET /widgets reviews:read

List widgets

Your widgets with their public key and ready-to-paste embed snippet.

Parameters

Name In Type Description
project_id query integer Only widgets of this website.
per_page query integer Results per page (1–100, default 25).
page query integer Page number (default 1).
Request
curl 'https://portal.shopreviews.com/api/v1/widgets' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json'
Response 200
{
    "data": [
        {
            "id": 12,
            "key": "k3v9q1x7m2p8r5t0w4y6z8a1",
            "name": "Homepage carousel",
            "project_id": 3,
            "layout": "carousel",
            "layout_label": "Carousel",
            "is_active": true,
            "embed": "<script src=\"https://cdn.shopreviews.com/widget.js\" async></script>\n<div data-shopreviews-widget=\"k3v9q1x7m2p8r5t0w4y6z8a1\"></div>",
            "created_at": "2026-02-01T10:00:00+00:00",
            "updated_at": "2026-02-01T10:00:00+00:00"
        }
    ],
    "links": {
        "first": "https://portal.shopreviews.com/api/v1/widgets?page=1",
        "last": "https://portal.shopreviews.com/api/v1/widgets?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://portal.shopreviews.com/api/v1/widgets",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}
POST /orders orders:write

Create or update an order

Upserts the customer by e-mail and the order by external_id. Matching review invitation automations are scheduled. Returns 201 when the order was created and 200 when an existing order was updated.

Request body

Field Type Description
project_id integer|null Website the order belongs to.
external_id required string Order id in your shop; used to match updates.
number string|null Human readable order number.
status string|null
ordered_at string|null (date-time)
fulfilled_at string|null (date-time) Set when shipped / delivered; triggers "order fulfilled" automations.
total number|null
currency string|null
customer required object
customer.email required string (email)
customer.first_name string|null
customer.last_name string|null
customer.locale string|null
customer.external_id string|null Customer id in your shop.
products array|null
products[].sku required string
products[].name required string
products[].url string|null (uri)
products[].image string|null (uri)
Request
curl -X POST 'https://portal.shopreviews.com/api/v1/orders' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "external_id": "100234",
    "number": "#100234",
    "status": "paid",
    "ordered_at": "2026-09-15T14:03:00+02:00",
    "total": 89.95,
    "currency": "EUR",
    "customer": {
        "email": "sanne@example.com",
        "first_name": "Sanne",
        "last_name": "de Vries",
        "locale": "nl"
    },
    "products": [
        {
            "sku": "SHOE-42-BLK",
            "name": "Running shoe black",
            "url": "https://www.example.com/p/shoe",
            "image": "https://www.example.com/img/shoe.jpg"
        }
    ]
}'
Response 201
{
    "data": {
        "id": 918,
        "external_id": "100234",
        "project_id": null,
        "number": "#100234",
        "status": "paid",
        "total": 89.95,
        "currency": "EUR",
        "ordered_at": "2026-09-15T12:03:00+00:00",
        "fulfilled_at": null,
        "products": [
            {
                "sku": "SHOE-42-BLK",
                "name": "Running shoe black",
                "url": "https://www.example.com/p/shoe",
                "image": "https://www.example.com/img/shoe.jpg"
            }
        ],
        "customer": {
            "id": 5120,
            "external_id": null,
            "email": "sanne@example.com",
            "first_name": "Sanne",
            "last_name": "de Vries",
            "locale": "nl"
        },
        "created_at": "2026-09-15T12:03:02+00:00",
        "updated_at": "2026-09-15T12:03:02+00:00"
    }
}
PATCH /orders/{externalId} orders:write

Update an order

Partially update an order, e.g. mark it fulfilled. Provide at least one of status, fulfilled_at, products, total.

Parameters

Name In Type Description
externalId required path string The order id in your shop (external_id).

Request body

Field Type Description
status string|null
fulfilled_at string|null (date-time)
total number|null
products array|null
products[].sku required string
products[].name required string
products[].url string|null (uri)
products[].image string|null (uri)
Request
curl -X PATCH 'https://portal.shopreviews.com/api/v1/orders/100234' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "status": "shipped",
    "fulfilled_at": "2026-09-16T08:12:00+02:00"
}'
Response 200
{
    "data": {
        "id": 918,
        "external_id": "100234",
        "project_id": null,
        "number": "#100234",
        "status": "paid",
        "total": 89.95,
        "currency": "EUR",
        "ordered_at": "2026-09-15T12:03:00+00:00",
        "fulfilled_at": null,
        "products": [
            {
                "sku": "SHOE-42-BLK",
                "name": "Running shoe black",
                "url": "https://www.example.com/p/shoe",
                "image": "https://www.example.com/img/shoe.jpg"
            }
        ],
        "customer": {
            "id": 5120,
            "external_id": null,
            "email": "sanne@example.com",
            "first_name": "Sanne",
            "last_name": "de Vries",
            "locale": "nl"
        },
        "created_at": "2026-09-15T12:03:02+00:00",
        "updated_at": "2026-09-15T12:03:02+00:00"
    }
}
GET /openapi.json No authentication

OpenAPI document

This API description in OpenAPI 3.1 format. No authentication required.

Request
curl 'https://portal.shopreviews.com/api/v1/openapi.json' \
  -H 'Accept: application/json'
Response 200
{
    "openapi": "3.1.0",
    "info": {
        "title": "ShopReviews API",
        "version": "1.0.0"
    }
}

Custom fields

Custom fields store extra data that review platforms provide — for example a product variant, the purchase channel or the answer to a question. Create them in the app under Developers → Custom fields with a snake_case key (it cannot change later) and a type:

  • string — Text
  • number — Number
  • boolean — Yes / no
  • date — Date

Map a field to a dot-notation path in the raw review data of a platform, e.g. reviewer.country or answers.0.value. A mapping can apply to one platform or to all platforms. Mappings are applied during the next sync of each source.

Only fields marked public appear in the custom_fields object of review responses and widget data, keyed by field key. Private fields stay internal.

JSON
{
    "id": 4821,
    "…": "…",
    "custom_fields": {
        "size_fit": "true to size",
        "purchase_channel": "webshop"
    }
}

Orders & review invitations

Push your orders so ShopReviews can send review invitations through your automations. You need a token with the orders:write ability.

  1. When an order is placed, call POST /orders with the order and customer. The customer is matched on e-mail address and the order on your external_id, so sending the same order twice is safe: it is updated instead of duplicated.
  2. When the order is shipped or delivered, call PATCH /orders/{externalId} with fulfilled_at. Automations triggered by "order fulfilled" schedule the invitation after their configured delay.
  3. Customers who unsubscribed never receive invitations, and plan limits for invitations per month apply.
curl
curl -X PATCH 'https://portal.shopreviews.com/api/v1/orders/100234' \
  -H 'Authorization: Bearer sr_your_token' \
  -H 'Content-Type: application/json' \
  -d '{"status": "shipped", "fulfilled_at": "2026-09-16T08:12:00+02:00"}'

Widget embed

Widgets show your reviews on any website without exposing an API token. Create a widget in the app, then paste the script once per page and a div wherever the widget should appear. Multiple widgets on one page share the script.

HTML
<script src="https://cdn.shopreviews.com/widget.js" async></script>
<div data-shopreviews-widget="YOUR_WIDGET_KEY"></div>

Attributes

Optional data attributes override the widget settings for one placement.

Attribute Values Description
data-shopreviews-widget required Widget key Public key of the widget (Widgets page or GET /widgets).
data-layout carousel | badge | grid | list | text | popup Override the layout configured on the widget.
data-lang en | nl | de | fr | es | all Only show reviews in this language.
data-min-rating 1 – 5 Only show reviews with at least this rating.
data-limit number Maximum number of reviews to show.
data-sku SKU Only show reviews of this product — ideal for product pages.
data-project website id Only show reviews of this website (GET /projects).
data-theme light | dark Colour scheme that matches your site.
data-accent #RRGGBB Accent colour for stars and buttons.

Layouts

  • Carousel carousel

    Horizontal slider with review cards — ideal for homepages.

  • Star badge badge

    Compact score badge — fits in headers, footers and checkouts.

  • Grid grid

    2–4 column grid — for a dedicated reviews page.

  • List list

    Vertical feed — for product pages.

  • Inline text text

    One line of text with stars — for next to the add-to-cart button.

  • Floating popup popup

    Floating corner popup that rotates recent reviews.

Example: product page

HTML
<div data-shopreviews-widget="YOUR_WIDGET_KEY"
     data-layout="list"
     data-sku="SHOE-42-BLK"
     data-lang="nl"
     data-min-rating="4"
     data-limit="5"
     data-theme="light"
     data-accent="#FB3B39"></div>

OpenAPI

A machine-readable OpenAPI 3.1 description of this API is available without authentication. Import it into Postman, Insomnia or a client generator.