Qeasy Cloud
Get Started

领星ERP 获取 access - token和refresh - token API

Platform
领星ERP
Type
WebAPI
Effect
QUERY
API Version
1.0
Adapter
\Adapter\LingXing\LXQueryAdapter
Auth Mode
OTHER
Description
授权 · POST · 请求参数 2 个(必填 2) · 响应参数 6 个 · 限流令牌桶容量 100
Updated At
2026-11-21

获取 access - token和refresh - token

POST/api/auth-server/oauth/access-token
Factory
{
  "operation": {
    "method": "POST",
    "path": "/api/auth-server/oauth/access-token"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 100,
    "text": ""
  },
  "responseExample": {
    "code": "200",
    "msg": "OK",
    "data": {
      "access_token": "4dcaa78e-b52d-4325-bc35-571021bb0787",
      "refresh_token": "da5b5047-e6d1-496c-ab4d-d5425a6a66e4",
      "expires_in": 7199
    }
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1appIdappIdstring—RequiredAppID,在ERP开放接口菜单中获取
2appSecretappSecretstring—RequiredAppSecret,在ERP开放接口菜单中获取

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code状态码integer200Required状态码
2msg消息提示string—Required消息提示
3data响应数据object—Required响应数据
3.1access_tokenaccess_tokenstring—Requiredaccess_token,请求令牌token
3.2refresh_tokenrefresh_tokenstring—Requiredrefresh_token,可以使用它来给access_token延续有效期
3.3expires_inaccess_token过期时间string Requiredaccess_token过期时间

The 获取 access - token和refresh - token API (/api/auth-server/oauth/access-token) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.