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
      PUT
    • Delete shop webhook
      DELETE
    • Get shop webhooks
      GET
    • Get review list
      GET
    • Get order list
      GET
    • Get customer event list
      GET
    • Unsubscribe
      POST
  1. Reviews Data API

Get customer event list

GET
/api/v1/open_api/customer_events
Get client events

Request

Query Params
event_type
string 
optional
Event type: "VIEW_REVIEW", "EXPAND_CONTENT", "SUBMIT_REVIEW", "CLICK_REVIEW", "PAGINATION", "FILTER_REVIEW", "SORT_REVIEW", "CLICK_MEDIA", "CLOSE_VIDEO_POPUP" etc.
Example:
CLICK_MEDIA
os_type
string 
optional
Operating system type: "IOS", "ANDROID", "WINDOWS", etc.
page
number 
optional
Current page Default 1
Example:
1
sort_by
string 
optional
Sorting method (created-ascending,created-descending)
Example:
created-ascending
page_size
number 
optional
Size per page Default 20
Example:
20
event_source
string 
optional
Event source: "STOREFRONT", "EMAIL", "ADMIN", etc.
Header Params
Public-Token
string 
optional
Example:
7ygMzD/8/cpvR8DN8rquVQ==
Sign
string 
optional
Example:
cd4659b020949ca06ce4d871ba3c55377453e161da67978ceb0397a692287c03
Timestamp
string 
optional
Example:
1745488320

Request 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 GET 'https://api.trustoo.io/api/v1/open_api/customer_events?event_type=CLICK_MEDIA&os_type=&page=1&sort_by=created-ascending&page_size=20&event_source=' \
--header 'Public-Token: 7ygMzD/8/cpvR8DN8rquVQ==' \
--header 'Sign: cd4659b020949ca06ce4d871ba3c55377453e161da67978ceb0397a692287c03' \
--header 'Timestamp: 1745488320'

Responses

🟢200OK
application/json
Body
code
integer 
required
message
string 
required
data
object 
required
page
object 
required
list
array [object {9}] 
required
request_id
string 
required
Example
{
  "code": 0,
  "message": "OK",
  "request_id": "",
  "data": {
    "page": {
      "page": 1,
      "page_size": 10,
      "total_page": 3,
      "count": 23
    },
    "list": [
      {
        "order_id": "5889402896474",
        "order_name": "#1052",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Feb 01,2024 9:12AM",
        "send_at": "",
        "status": "Not auto request",
        "is_manual_send": 0
      },
      {
        "order_id": "327755",
        "order_name": "#Imp0002",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Dec 22,2023 6:13PM",
        "send_at": "",
        "status": "Opened",
        "is_manual_send": 0
      },
      {
        "order_id": "344894",
        "order_name": "#Imp0001",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Dec 22,2023 5:55PM",
        "send_at": "",
        "status": "Sent",
        "is_manual_send": 0
      },
      {
        "order_id": "5720128028762",
        "order_name": "#1051",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Nov 09,2023 4:52PM",
        "send_at": "",
        "status": "Left reviews",
        "is_manual_send": 1
      },
      {
        "order_id": "178700",
        "order_name": "#Imp0002",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Sep 20,2023 5:39PM",
        "send_at": "",
        "status": "Clicked",
        "is_manual_send": 1
      },
      {
        "order_id": "719346",
        "order_name": "#Imp0001",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Sep 20,2023 5:39PM",
        "send_at": "",
        "status": "Opened",
        "is_manual_send": 1
      },
      {
        "order_id": "5588352204890",
        "order_name": "#1050",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Aug 18,2023 2:17PM",
        "send_at": "",
        "status": "Error",
        "is_manual_send": 1
      },
      {
        "order_id": "5588350730330",
        "order_name": "#1049",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Aug 18,2023 2:13PM",
        "send_at": "",
        "status": "Error",
        "is_manual_send": 1
      },
      {
        "order_id": "5588349681754",
        "order_name": "#1048",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Aug 18,2023 2:10PM",
        "send_at": "",
        "status": "Error",
        "is_manual_send": 1
      },
      {
        "order_id": "5535725027418",
        "order_name": "#1047",
        "customer_name": "",
        "email": "[email protected]",
        "phone": "",
        "order_date": "Jul 15,2023 3:45PM",
        "send_at": "",
        "status": "Sent",
        "is_manual_send": 1
      }
    ]
  }
}
Modified at 2025-04-24 10:03:38
Previous
Get order list
Next
Unsubscribe
Built with