1. Under development
Trustoo
  • Reviews Widget Integration
  • Reviews Data API
    • API Quick Start
    • Response Code
    • Webhook Description
    • Under development
      • Get OAuth2 Authorization URL
        GET
      • OAuth2 Merchant Authorization
        GET
      • OAuth2 Get Access Token
        POST
      • Get Shop OAuth 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. Under development

OAuth2 Merchant Authorization

GET
/api/v1/openapi/oauth/authorize
Merchants confirm authorization while logged in; returns the authorization code and the complete callback URL. Requires the shop's JWT login token in the request header.

Request

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/oauth/authorize?client_id=undefined&redirect_uri=undefined&state=undefined&scope=undefined&response_type=undefined'

Responses

🟢200
application/json
Successful response
Bodyapplication/json

Example
{
    "code": 0,
    "message": "success",
    "time": 1772087676,
    "request_id": "771197f10769e3a2465c9b332e63bb59",
    "data": {
        "code": "string",
        "redirect_url": "string",
        "state": "string"
    }
}
Modified at 2026-05-25 12:03:36
Previous
Get OAuth2 Authorization URL
Next
OAuth2 Get Access Token
Built with