Contents
On this page

List Reviews - Plugixa Recipe

GET /plugixa-recipe/v1/reviews

List reviews in every status, for moderation or export.

Needs a signed-in user who can open Plugixa Recipe: the plugixa_recipe_manage capability, or WordPress’s edit_posts (Contributor and up). The Reviews app must be on.

Note. These rows include each reviewer’s e-mail and IP address. The public List Recipe Reviews route leaves them out.

Request

GET https://your-site.example/wp-json/plugixa-recipe/v1/reviews?status=pending&filter[recipe_id]=12

Query parameters

Name Type Default Description
search string Matches the reviewer’s name, the review text or the reviewer’s e-mail.
status string pending, approved, rejected or spam.
filter[recipe_id] integer Reviews of this recipe.
filter[rating] integer Exactly this many stars.
filter[min_rating] integer At least this many stars.

Plus the list parameters every list accepts. orderby accepts created_at (the default), rating, author_name and helpful_count.

Responses

200 OK. data.items is one page of reviews.

{
  "success": true,
  "message": "",
  "data": {
    "items": [
      {
        "id": "41",
        "recipe_id": "12",
        "user_id": null,
        "author_name": "Lucas Bernard",
        "author_email": "lucas@example.com",
        "author_ip": "203.0.113.7",
        "rating": 5,
        "review_text": "Made these on Sunday, perfect with berries.",
        "images": null,
        "status": "approved",
        "is_verified": false,
        "helpful_count": 2,
        "admin_reply": null,
        "admin_reply_at": null,
        "created_at": "2026-11-10 18:04:00",
        "modified_at": null,
        "recipe_title": "Lemon Pancakes"
      }
    ],
    "total": 1,
    "limit": 20,
    "offset": 0
  }
}
Field Type Meaning
data.items[] object A review, as in Get Review
data.total integer Reviews matching the filters, before paging

Errors

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-recipe/v1/reviews?status=pending" \
  -u "admin:$WP_APP_PASSWORD"
<?php
$query = http_build_query([
    'status' => 'pending',
]);
$ch = curl_init('https://your-site.example/wp-json/plugixa-recipe/v1/reviews?' . $query);
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERPWD        => 'admin:' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const auth = 'Basic ' + btoa(`admin:${process.env.WP_APP_PASSWORD}`);
const query = new URLSearchParams({ status: 'pending' });
const response = await fetch(`https://your-site.example/wp-json/plugixa-recipe/v1/reviews?${query}`, {
  headers: {
    'Authorization': auth,
  },
});
const { data } = await response.json();

Quick Links

Share