MantaGO
  • 文件說明
  • 文件說明
    • 會員API
      • 帳號綁定
      • 解除帳號綁定
      • 會員列表
      • 會員資料
    • 用戶推播
    • 設定webview網址
    • 設定回呼網址
    • API Token與Secret Key換發
  • 常見問題
    • 如何取得Token
    • 錯誤代碼
  • 情境範例
    • 購物車下單後推播訊息
Powered by GitBook
On this page
  1. 文件說明

API Token與Secret Key換發

API Token 與 Secret 30天到期

Request Url :

POST https://mantago.cc/api/openapi/token

Request headers :

Name
Description

Content-Type

application/json

Authorization

Bearer {API Token}

Request body :

Name
Type
Description

secret

String

API Secret

Response Result:

Name
Type
Description

apiToken

String

apiSecret

String

Response example :

{
    "success": true,
    "message": "Get new open api information successfully",
    "apiToken": "example apiToken",
    "apiSecret": "example apiSecret"
}
Previous設定回呼網址Next如何取得Token

Last updated 9 months ago