Dropbox Sign/templateCreateEmbeddedDraft

仅预览 · 原因见下方

Dropbox SignDropbox Sign 电子签名 API

POST/template/create_embedded_draft

创建嵌入模板草稿

嵌入式模板工作流程的第一步。创建一个草稿模板,然后可以在模板“编辑”阶段进一步设置该模板。

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

请求

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

请求参数

无 URL、查询或 Header 参数。

Body 参数

TemplateCreateEmbeddedDraftRequest必填

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

字段: filesfile_urlsallow_ccsallow_reassignattachmentscc_rolesclient_ideditor_optionsfield_optionsforce_signer_rolesforce_subject_messageform_field_groupsform_field_rulesform_fields_per_documentmerge_fieldsmessagemetadatashow_previewshow_progress_steppersigner_rolesskip_me_nowsubjecttest_modetitleuse_preexisting_fields

{
  "files": [
    {}
  ],
  "file_urls": [
    "https://example.com/resource"
  ],
  "allow_ccs": true,
  "allow_reassign": false,
  "attachments": [
    {
      "name": "Example Name",
      "required": false,
      "signer_index": 0
    }
  ],
  "cc_roles": [
    {}
  ],
  "client_id": "example-client-id",
  "editor_options": {
    "allow_edit_signers": false,
    "allow_edit_documents": false
  }
}

响应

200

TemplateCreateEmbeddedDraftResponseapplication/json

成功响应

字段: templatewarnings

4XX

ErrorResponseapplication/json

操作失败

字段: error

{
  "template": {
    "template_id": "example-template-id",
    "edit_url": "https://example.com/resource",
    "expires_at": 0,
    "warnings": [
      {
        "warning_name": "Example Name"
      }
    ]
  },
  "warnings": [
    {
      "warning_name": "Example Name"
    }
  ]
}