Dropbox Sign/oauthTokenRefresh

仅预览 · 原因见下方

Dropbox SignDropbox Sign 电子签名 API

POST/oauth/token?refresh

OAuth 令牌刷新

出于安全原因,访问令牌仅在给定时间段(通常为一小时)内有效。每当获取新的访问令牌时,也会给出其 TTL(请参阅 `expires_in`),以及可用于在当前访问令牌过期后获取新访问令牌的刷新令牌。

通过完整的 Dropbox Sign v3 API 管理账户、签名请求、模板、团队、批量发送、文件下载、传真和事件回调;Hub 仅提供文档与本地 SDK/CLI。

请求

operationId
oauthTokenRefresh
服务器
https://api.hellosign.com/v3
认证
api_key, oauth2

请求参数

无 URL、查询或 Header 参数。

Body 参数

OAuthTokenRefreshRequest必填

Content-Type: application/json

字段: grant_typerefresh_tokenclient_idclient_secret

{
  "grant_type": "refresh_token",
  "client_id": "example-client-id"
}

响应

200

OAuthTokenResponseapplication/json

成功响应

字段: access_tokentoken_typerefresh_tokenexpires_instate

4XX

ErrorResponseapplication/json

操作失败

字段: error

{
  "expires_in": 0
}