Dropbox Sign/templateFilesAsFileUrl

仅预览 · 原因见下方

Dropbox SignDropbox Sign 电子签名 API

GET/template/files_as_file_url/{template_id}

获取模板文件作为文件 URL

获取 `template_id` 参数指定的当前文档的副本。返回带有文件 url 的 JSON 对象(仅限 PDF)。 如果当前正在准备文件,则会返回状态代码 `409`。此时请等待`template_created`回调事件。

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

请求

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

请求参数

template_id

pathstring必填

要检索的模板文件的 ID。

f57db65d3f933b5316d398057a36176831451a35

force_download

queryinteger

默认情况下,打开 `file_url` 时,浏览器将下载 PDF 并将其保存在本地。当设置为 `0` 时,PDF 文件将显示在浏览器中。

1

响应

200

FileResponseapplication/json

成功响应

字段: file_urlexpires_at

4XX

ErrorResponseapplication/json

操作失败

字段: error

{
  "file_url": "https://example.com/resource",
  "expires_at": 0
}