Depal Open API Doc
  1. API Instruction
Depal Open API Doc
  • 中文
    • 接入说明
      • 基本概念
      • 签名规则
      • 获取Token
    • 商品服务
      • 1688
        • 商品详情
        • 商品池查询
    • 订单服务
      • 下单前预览
      • 提交订单
      • 订单详情
      • 取消订单
      • 物流跟踪查询
  • English
    • API Instruction
      • Signature Rule
      • Get Token
        GET
    • product service
      • alibaba wholesale(1688)
        • Commodity Details
        • Commodity Pool Query
    • Order Service
      • Pre-order Preview
      • Submit Order
      • Order Details
      • Cancel Order
      • Logistics tracking query
  1. API Instruction

Get Token

GET
/openapi/auth/{appKey}/system.token.get
Get Token

Request

Path Params
appKey
string 
required
Query Params
appSecret
string 
optional
Header Params
x-depal-timestamp
string 
required
timestamp when calling the service, milliseconds
x-depal-access-token
string 
required
retrieve from "system.token.get"
x-depal-signature
string 
required
sign the request data, refer to the signature document

Responses

🟢200OK
application/json
Body
code
string 
optional
Status code
msg
string 
optional
Message
data
object 
optional
Data
accessToken
string 
optional
The accessToken used to access the interface.
f14da3b8-b0b1-4f73-a5de-9bed637e0188
Returns the same value within the expiration time. It is recommended that the client cache it.
expiresAt
integer <int64>
optional
Expiration time in milliseconds.
1745570329174
requestId
string 
optional
Request ID, convenient for problem tracking
Example
{
    "code": "string",
    "msg": "string",
    "data": {
        "accessToken": "string",
        "expiresAt": 0
    },
    "requestId": "string"
}
Previous
Signature Rule
Next
Commodity Details
Built with