1. Reviews Data API
TrustWILL
  • Reviews Widget Integration
  • Reviews Data API
    • API Quick Start
    • Response Code
    • Webhook Description
    • Get OAuth2 Authorization URL
      GET
    • OAuth2 Get Access Token
      POST
    • Revoke Token
      POST
    • Disconnect Authorization
      POST
    • Get Shop Authorization Info
      GET
    • Get Shop Installation Status
      GET
    • Create shop webhook
      POST
    • Update shop webhook
      POST
    • Delete shop webhook
      POST
    • Get shop webhooks
      GET
    • Get review detail
      GET
    • Get review list
      GET
    • Get order list
      GET
    • Get rating
      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
    • Obtain file upload credentials
      GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Reviews Data API

Create review

POST
/api/v1/openapi/create_review

Request

Authorization
API Key
Add parameter in header
Example:
X-Token: ********************
or
Header Params

Body Params application/json

Example
{
    "product_id":"9200305176832",
    "rating": 5,
    "author": "Trustoo",
    "author_country": "US",
    "content": "[openapi]this is a test",
    "source": "ChatWILL",
    "media": [
        {
            "url": "https://img.trustoo.io/test/79198486784/2026/5/14/57ca8d51-4d0a-4785-b0e0-24a1b3ac1624.jpeg?x-oss-process=style/trustoo_big",
            "thumbnail_url": "https://img.trustoo.io/test/79198486784/2026/5/14/57ca8d51-4d0a-4785-b0e0-24a1b3ac1624.jpeg?x-oss-process=style/trustoo_small",
            "type": 1,
            "is_published": 1
        },
        {
            "url": "https://img.trustoo.io/test/79198486784/2026/5/14/816e71c2-4230-48b3-b7e7-74868a742e8d.jpeg?x-oss-process=style/trustoo_big",
            "thumbnail_url": "https://img.trustoo.io/test/79198486784/2026/5/14/816e71c2-4230-48b3-b7e7-74868a742e8d.jpeg?x-oss-process=style/trustoo_small",
            "type": 1,
            "is_published": 1
        }
    ]
}

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 'https://rapi.trustoo.io/api/v1/openapi/create_review' \
--header 'Public-Token: f4OUkAIBAHAPbhn/fPjv1g==' \
--header 'Sign: ba527bb3b8877237610ba6bec99d523a889790955a9841692ef22c23a852bf5d' \
--header 'Timestamp: 1779681440' \
--header 'Content-Type: application/json' \
--data '{
    "product_id":"9200305176832",
    "rating": 5,
    "author": "Trustoo",
    "author_country": "US",
    "content": "[openapi]this is a test",
    "source": "ChatWILL",
    "media": [
        {
            "url": "https://img.trustoo.io/test/79198486784/2026/5/14/57ca8d51-4d0a-4785-b0e0-24a1b3ac1624.jpeg?x-oss-process=style/trustoo_big",
            "thumbnail_url": "https://img.trustoo.io/test/79198486784/2026/5/14/57ca8d51-4d0a-4785-b0e0-24a1b3ac1624.jpeg?x-oss-process=style/trustoo_small",
            "type": 1,
            "is_published": 1
        },
        {
            "url": "https://img.trustoo.io/test/79198486784/2026/5/14/816e71c2-4230-48b3-b7e7-74868a742e8d.jpeg?x-oss-process=style/trustoo_big",
            "thumbnail_url": "https://img.trustoo.io/test/79198486784/2026/5/14/816e71c2-4230-48b3-b7e7-74868a742e8d.jpeg?x-oss-process=style/trustoo_small",
            "type": 1,
            "is_published": 1
        }
    ]
}'

Responses

🟢200OK
application/json
Bodyapplication/json

Example
{
    "code": 0,
    "message": "success",
    "time": 1779681854,
    "request_id": "59934b74d9c327a7a0fb13e88e2265ea",
    "data": {
        "id": "57860"
    }
}
Modified at 2026-05-25 04:35:40
Previous
Get the video upload url
Next
Delete review
Built with