Trustoo
  1. Reviews Data API
Trustoo
  • Reviews Widget Integration
  • Reviews Data API
    • API Quick Start
    • Response Code
    • Webhook Description
    • Create shop webhook
      POST
    • Update shop webhook
      POST
    • Delete shop webhook
      POST
    • Get shop webhooks
      GET
    • Get review list
      GET
    • Get order list
      GET
    • Get customer event list
      GET
    • Unsubscribe
      POST
    • Get the video upload url
      GET
    • Create review
      POST
    • Delete review
      POST
    • Create customer exclusion
      POST
    • Delete customer exclusion
      POST
    • Get customer exclusion list
      GET
  1. Reviews Data API

Create review

POST
/api/v1/openapi/create_review

Request

Body Params application/json

Example
{
    "rating": 5,
    "author": "Trustoo",
    "commented_at": "2025-06-20 00:00:00",
    "source": "Shop",
    "is_verified": 0,
    "is_featured": 1,
    "is_published": 0,
    "is_top": 0,
    "author_country": "US",
    "author_phone": "",
    "tag": "",
    "content": "this is a test",
    "media": {
        "images": [
        ],
        "thumbnails": [
        ],
        "video": "",
        "video_thumbnail": ""
    },
    "reply": {
        "content": "Thank you",
        "reply_at": "2025-06-20 00:00:00"
    },
    "author_email": "trustoo@gmail.com",
    "order_id": "",
    "product_id": 0,
    "title": "test",
    "item_type": "Red"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rapi.trustoo.io/api/v1/openapi/create_review' \
--header 'Content-Type: application/json' \
--data-raw '{
    "rating": 5,
    "author": "Trustoo",
    "commented_at": "2025-06-20 00:00:00",
    "source": "Shop",
    "is_verified": 0,
    "is_featured": 1,
    "is_published": 0,
    "is_top": 0,
    "author_country": "US",
    "author_phone": "",
    "tag": "",
    "content": "this is a test",
    "media": {
        "images": [
        ],
        "thumbnails": [
        ],
        "video": "",
        "video_thumbnail": ""
    },
    "reply": {
        "content": "Thank you",
        "reply_at": "2025-06-20 00:00:00"
    },
    "author_email": "trustoo@gmail.com",
    "order_id": "",
    "product_id": 0,
    "title": "test",
    "item_type": "Red"
}'

Responses

🟢200OK
application/json
Body

Example
{}
Modified at 2025-07-20 10:52:41
Previous
Get the video upload url
Next
Delete review
Built with