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

GET
/api/v1/open_api/get_shop_webhooks

Request

Header Params
Public-Token
string 
optional
Example:
GfKu22TCaj4gULtrA3/OgA==
Sign
string 
optional
Example:
c3f6910a4dc12969c819f47621e5adf608e2a33f4db0575988bd4fc19173a582
Timestamp
string 
optional
Example:
1699934592
Body Params application/json
webhook_url
string 
required
webhook url
event_type
string 
required
webhook event type: review/created, review/updated, review/deleted
Example
{
  "webhook_url": "string",
  "event_type": "string"
}

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/get_shop_webhooks' \
--header 'Public-Token: GfKu22TCaj4gULtrA3/OgA==' \
--header 'Sign: c3f6910a4dc12969c819f47621e5adf608e2a33f4db0575988bd4fc19173a582' \
--header 'Timestamp: 1699934592' \
--header 'Content-Type: application/json' \
--data-raw '{
    "webhook_url": "string",
    "event_type": "string"
}'

Responses

🟢200OK
application/json
Body
code
integer 
required
status code
message
string 
required
data
array [object {5}] 
required
id
string 
optional
topic
string 
optional
url
string 
optional
created_at
string 
optional
updated_at
string 
optional
request_id
string 
required
Example
{
  "code": 2000,
  "message": "OK",
  "data": [
    {
      "id": "1",
      "topic": "review/created",
      "url": "https://trustoo.io/webhook",
      "created_at": "2024-08-28 08:32:32",
      "updated_at": "2024-08-28 08:32:32"
    }
  ],
  "request_id": "14ad238c-d82b-4e70-89e6-04fb9ff7d406"
}
Modified at 2024-08-28 08:59:36
Previous
Delete shop webhook
Next
Get review list
Built with