Contents
On this page
List Recipe Reviews - Plugixa Recipe
GET /plugixa-recipe/v1/frontend/recipes/{id}/reviews
List the approved reviews of one recipe, in the order the site is set to show them.
Public: no sign-in needed. Only approved reviews, without e-mail, IP address or user id. The Reviews app must be on.
Note. Page with
limitandoffset:per_pageis echoed back indata.limitbut does not change how many reviews come back.limitdefaults to 20, so the Reviews Per Page setting does not apply to this route.
Request
GET https://your-site.example/wp-json/plugixa-recipe/v1/frontend/recipes/12/reviews?limit=10&offset=0
Path parameters
| Name | Type | Description |
|---|---|---|
id |
integer |
The recipe’s id |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
limit |
integer |
20 |
Reviews to return. |
offset |
integer |
0 |
Reviews to skip. |
The order is the site’s Default Sort review setting: newest first (the default), oldest, highest, lowest or most helpful first. orderby and order have no effect here.
Responses
200 OK. data.items is one page of approved reviews.
{
"success": true,
"message": "",
"data": {
"items": [
{
"id": "41",
"recipe_id": "12",
"author_name": "Lucas Bernard",
"rating": 5,
"review_text": "Made these on Sunday, perfect with berries.",
"images": null,
"is_verified": false,
"helpful_count": 2,
"admin_reply": null,
"admin_reply_at": null,
"created_at": "2026-11-10 18:04:00",
"is_helpful": false
}
],
"total": 1,
"limit": 10,
"offset": 0
}
}
| Field | Type | Meaning |
|---|---|---|
data.items[].rating |
integer |
1 to 5, or 0 for a review posted without a rating |
data.items[].is_verified |
boolean |
Posted by a signed-in user |
data.items[].images |
object[]|null |
Photos: each one’s id, medium url and full size URL |
data.items[].is_helpful |
boolean |
Whether this caller (by user, or by IP address for a guest) voted it helpful |
data.items[].admin_reply |
string|null |
The site’s reply |
data.total |
integer |
Approved reviews of the recipe |
An id with no approved reviews, or no recipe at all, answers 200 with an empty list.
Errors
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-recipe/v1/frontend/recipes/12/reviews?limit=10&offset=0"
<?php
$query = http_build_query([
'limit' => 10,
'offset' => 0,
]);
$ch = curl_init('https://your-site.example/wp-json/plugixa-recipe/v1/frontend/recipes/12/reviews?' . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const query = new URLSearchParams({ limit: '10', offset: '0' });
const response = await fetch(`https://your-site.example/wp-json/plugixa-recipe/v1/frontend/recipes/12/reviews?${query}`);
const { data } = await response.json();
Quick Links
Share