1. Reviews Data API
Trustoo
  • 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
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Reviews Data API

Get OAuth2 Authorization URL

GET
/api/v1/openapi/get_oauth_authorize_url
Provides third-party applications with a one-click authorization entry URL to guide merchants through the authorization process

Request

Authorization
API Key
Add parameter in header
authorization
Example:
authorization: ********************
or
Query Params

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/get_oauth_authorize_url?client_id=trustwill&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&state=123456789&scope=read_reviews' \
--header 'authorization: <api-key>'

Responses

🟢200
application/json
Successful response
Bodyapplication/json

Example
{
    "code": 0,
    "message": "success",
    "time": 1772087676,
    "request_id": "771197f10769e3a2465c9b332e63bb59",
    "data": {
        "authorize_url": "string"
    }
}
Modified at 2026-06-15 03:24:13
Previous
Webhook Description
Next
OAuth2 Get Access Token
Built with