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

Unsubscribe

POST
/api/v1/open_api/email_unsubscribe
Help customers unsubscribe from emails

Request

Header Params
Public-Token
string 
optional
Example:
6WuFXoxP8eSvEV0GnduE4g==
Sign
string 
optional
Example:
62edd52f32eaadcfd30ca4378430bd8e8cde5e8375dbb9c7eef91262b1f3facc
Timestamp
string 
optional
Example:
1745486160
Body Params application/json
email
string 
required
Email Address
email_type
string 
required
Email Type [all review_request review_request_test discount_for_photo_review left_review market_email question_notification answer_notification review_request_quota_exhausted review_display_quota_exhausted reply_to_review post_purchase_referral advocate_reward_paid advocate_reward_refund review_media_remind auto_leave_review request_update_review]
Example
{
  "email": "[email protected]",
  "email_type": "request_update_review"
}

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 POST 'https://api.trustoo.io/api/v1/open_api/email_unsubscribe' \
--header 'Public-Token: 6WuFXoxP8eSvEV0GnduE4g==' \
--header 'Sign: 62edd52f32eaadcfd30ca4378430bd8e8cde5e8375dbb9c7eef91262b1f3facc' \
--header 'Timestamp: 1745486160' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "[email protected]",
    "email_type": "request_update_review"
}'

Responses

🟢200OK
application/json
Body
code
integer 
required
message
string 
required
request_id
string 
required
Example
{
  "code": 0,
  "message": "OK",
  "request_id": "bf4fdcdf-c984-4c4f-a039-f8c6748285c8"
}
Modified at 2025-04-24 10:03:12
Previous
Get customer event list
Built with