1. Open
dy-gateway
  • Health
    • 健康检查
      GET
  • Open
    • 统一券核销入口
      POST
    • 验券准备
      POST
    • 获取当前抖音 access_token
      GET
    • 查询门店信息
      GET
  • Internal
    • 查询核销流水
      GET
    • 查询核销汇总报表
      GET
    • 创建核销端应用
      POST
    • 查询核销端应用列表
      GET
    • 修改应用 token 读取权限
      PATCH
  • 数据模型
    • HealthResponse
    • ErrorResponse
    • MessageResponse
    • AppStatus
    • VerificationStatus
    • EnrichmentStatus
    • OrderStatus
    • PrepareCouponRequest
    • VerifyCouponRequest
    • VerificationView
    • VerificationResponse
    • AccessToken
    • AccessTokenResponse
    • VerifierApp
    • CreateAppResponseData
    • CreateAppRequest
    • CreateAppResponse
    • AppListResponse
    • UpdateTokenAccessRequest
    • VerificationListResponse
    • VerificationSummaryRow
    • VerificationSummaryResponse
  1. Open

获取当前抖音 access_token

GET
/v1/open/douyin/access-token
仅允许 allow_token_read=true 的调用方访问。

请求参数

Authorization
API Key
在 header 添加参数
X-Client-Key
示例:
X-Client-Key: ********************
API Key
在 header 添加参数
X-Timestamp
示例:
X-Timestamp: ********************
API Key
在 header 添加参数
X-Nonce
示例:
X-Nonce: ********************
API Key
在 header 添加参数
X-Signature
示例:
X-Signature: ********************
or

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/open/douyin/access-token' \
--header 'X-Client-Key: <api-key>' \
--header 'X-Timestamp: <api-key>' \
--header 'X-Nonce: <api-key>' \
--header 'X-Signature: <api-key>'

返回响应

🟢200成功
application/json
成功返回当前 token
Body

示例
{
    "data": {
        "access_token": "string",
        "expires_at": "2019-08-24T14:15:22.123Z",
        "source": "cache"
    }
}
🟠401未认证
🟠403权限不足
🔴502网关错误
修改于 2026-03-16 02:28:54
上一页
验券准备
下一页
查询门店信息
Built with