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 shop webhook

POST
/api/v1/openapi/create_shop_webhook

Request

Header Params

Body Params application/json

Example
{
    "topic": "review/created",
    "url": "http://api.trustoo.io/webhook"
}

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_shop_webhook' \
--header 'Public-Token: 7ygMzD/8/cpvR8DN8rquVQ==' \
--header 'Sign: 7cc8d948c41a6d0dc0397f71ed771a8098fa0bc5e2c058558065540a9b7bd308' \
--header 'Timestamp: 1750417404' \
--header 'Content-Type: application/json' \
--data-raw '{
    "topic": "review/created",
    "url": "http://api.trustoo.io/webhook"
}'

Responses

🟢200OK
application/json
Body

Example
{"code":0,"message":"success","time":1750417608,"request_id":"dbf9af0f0436ee4f86ebee64e3828555","data":{"id":"19","topic":"review/created","url":"http://api.trustoo.io/webhook","created_at":"2025-06-20T11:06:48Z","updated_at":"2025-06-20 11:06:48"}}
Modified at 2025-06-20 11:06:46
Previous
Webhook Description
Next
Update shop webhook
Built with