Dropbox Sign/templateCreate

正在自动加载完整文档…

Dropbox SignDropbox Sign 电子签名 API

POST/template/create

创建模板

创建可在将来的签名请求中使用的模板。

如果提供了 client_id,则模板将被创建为嵌入模板。嵌入式模板可用于嵌入式签名请求,并且可以稍后通过使用 /embedded/edit_url/{template_id} 生成新的 edit_url 进行编辑。

接受初始请求后,模板创建可能会异步完成。建议实现回调来监听回调事件。 template_created 事件表示模板已准备好使用,而 template_error 事件表示创建模板时出现问题。如果已配置回调处理程序,但在调用后 60 分钟内未收到事件,请在 API 仪表板中检查请求的状态,并在必要时重试该请求。

通过完整的 Dropbox Sign v3 API 管理账户、签名请求、模板、团队、批量发送、文件下载、传真和事件回调;可在网页调试面板中使用当前会话凭据发起单次请求。

请求

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

请求参数

无 URL、查询或 Header 参数。

Body 参数

TemplateCreateRequest必填

Content-Type: application/json, multipart/form-data

字段: filesfile_urlsallow_reassignattachmentscc_rolesclient_idfield_optionsform_field_groupsform_field_rulesform_fields_per_documentmerge_fieldsmessagemetadatasigner_rolessubjecttest_modetitleuse_preexisting_fields

响应

200

TemplateCreateResponseapplication/json

成功响应

字段: templatewarnings

4XX

ErrorResponseapplication/json

操作失败

字段: error

{
  "template": {
    "template_id": "example-template-id"
  },
  "warnings": {
    "warning_name": "Example Name"
  }
}