Contents
On this page

Get Review - Plugixa Recipe

GET /plugixa-recipe/v1/reviews/{id}

Read one review in any status.

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.

Request

GET https://your-site.example/wp-json/plugixa-recipe/v1/reviews/41

Path parameters

Name Type Description
id integer The review’s id

Responses

200 OK. data is the review.

{
  "success": true,
  "message": "",
  "data": {
    "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"
  }
}
Field Type Meaning
data.id string The review’s id
data.recipe_id string The recipe reviewed
data.recipe_title string That recipe’s title
data.user_id string|null The WordPress user who wrote it, null for a guest
data.author_email, data.author_ip string|null The reviewer’s e-mail and IP address
data.rating integer 1 to 5, or 0 when the review was posted without a rating
data.status string pending, approved, rejected or spam
data.is_verified boolean Set for reviews posted by a signed-in user
data.helpful_count integer Helpful votes
data.images integer[]|null Attachment ids of the photos sent with the review
data.admin_reply, data.admin_reply_at string|null Your public reply and when it was written

Errors

Status Code When
404 rest_error No review with that id.

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-recipe/v1/reviews/41" \
  -u "admin:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-recipe/v1/reviews/41');
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 response = await fetch('https://your-site.example/wp-json/plugixa-recipe/v1/reviews/41', {
  headers: {
    'Authorization': auth,
  },
});
const { data } = await response.json();

Quick Links

Share