Create a review

POST https://api.tamio.com/v2/reviews/create

Creates a new product review with a star rating, text content, and reviewer name. Optionally attach an image (by asset UUID), set a custom creation timestamp, flag as a verified customer review, or add external references.

Body Parameters

product string*

UUID of the product being reviewed.

rating integer*

Star rating (0–5).

review_text string*

Main review content.

name string*

Name of the reviewer.

image string

UUID of an image asset to attach.

customer_review boolean

Whether this is a verified customer review.

created_at string

Custom creation timestamp (ISO string or Unix timestamp).

external_review string

URL to an external review document or image.

external_link string

External URL related to the review.

Responses

200 Review created

Review created

status integer
reviews Review
400 Validation or business-logic error
401 Missing or invalid API key
/reviews/create
1const response = await fetch("https://api.tamio.com/v2/reviews/create", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200,
  "reviews": {
    "id": "string",
    "object": "review",
    "name": "string",
    "locale": "string",
    "review_text": "string",
    "rating": 0,
    "created_at": 0,
    "image": "string",
    "external_review": "string",
    "external_link": "string",
    "product": {},
    "customer": {},
    "customer_review": false,
    "invoice": {}
  }
}