跳到主要内容
未找到任何项目。
dropboxsign 徽标
为什么选择 Dropbox Sign?
展开或折叠手风琴

您可以做什么

在线签署文档
创建电子签名
选择或创建模板
填写和签署 PDF
完成线上合同
文档管理
探索功能
向右箭头图标

用例

销售与业务拓展
人力资源
初创公司
金融科技
房地产
按需服务
产品
展开或折叠手风琴
Dropbox 图标
Sign
实现轻松发送和签字
Dropbox 图标
Sign API
将电子签名集成到您的工作流程中
dropbox fax 图标
Fax
无需传真机便能发送传真
dropbox 集成图标
集成
无缝集成助力您轻松工作
资源
展开或折叠手风琴
博客
工作流程专业知识和产品新闻
客户案例
讲述取得实际成果的真实故事
帮助中心
关于我们产品的深入指南
资源库
报告、视频和信息表
开发人员
定价
展开或折叠手风琴
Dropbox Sign 定价
找到适合您的套餐
Dropbox Sign API 定价
讲述取得实际成果的真实故事
与销售人员联系
注册
联系销售人员
登录
展开或折叠手风琴
Dropbox Sign
Dropbox Forms
Dropbox Fax
免费试用版
博客
/
开发人员

Using Dropbox Sign’s API to Bulk Send with Templates (+ Code Example)

by 
LaToya Williams
December 6, 2018
3
分钟阅读时间
Using Dropbox sign’s API to Bulk Send with Templates (+ Code Example)
工具提示图标

外观全新但功能同样出色的产品!HelloSign 现为 Dropbox Sign。

关闭图标

What if you could maximize the impact of an action without having to do more work? You can do exactly that with Dropbox Sign's newest API feature: Bulk Send with Template. This new feature allows you to send up to 250 separate signature requests using a template with a single API request. As a reminder, templates are a great way to customize a file for signature requests that need to be sent out repeatedly to multiple recipients.

‍

When using the Bulk Send with Template endpoint, you’re able to send the signature request to a list of signers via the signer_list or the signer_file parameters. The signer_list parameter accepts a JSON array that defines the values and options of signers. This parameter is required unless a signer_file is used, you may not use both.

‍

The signer_file parameter is super handy when sending signature requests to a large list of signers provided within an uploaded CSV file. Examples of this might be petition lists, volunteer sign-up lists, school permission slips, community events, etc.

‍

Let’s walk through how it works.

‍

In this simple example, we will use the signer_list parameter for a request with 3 signers.

‍

Before we get started, you need to create a template to send out for signature. Follow this simple guide on How to Create a Template and be sure to save the template_id.

‍

Now that you have your template_id handy, we will be making the call to the API using the /v3/signature_request/bulk_send_with_template endpoint. In addition to your template_id, you will need to grab your API Key from your account settings.

‍

In this example, we will be using cURL and request-promise, a Node.js request library. In the future, you can use one of the six Dropbox Sign SDKs to make this request.

‍

cURL Example:

‍

CODE: https://gist.github.com/latoyazamill/8e616a3e9d6ad79ea197e8def3a01be3.js

‍

Node.js Example:

‍

CODE: https://gist.github.com/latoyazamill/b4b2f77aa3068ba38fb14612f6f484af.js

‍

Response:

‍

CODE: https://gist.github.com/latoyazamill/6f062cb50f565b854bdd22ffb80ca9dc.js

‍

Description:

‍

  • bulk_send_job_id: This is a unique identifier that is associated with all of the Signature Requests created for this Bulk Send Job.
  • total: The number of Signature Requests generated from this Bulk Send Job
  • is_creator: This is always true for the creator. This is set to false when searching as a team admin with the Get Bulk Send Job or List Bulk Send Jobs endpoints.
  • created_at: Unix timestamp for when the Bulk Send Job was created.

‍

Once your Bulk Send Job has been properly sent you will receive an automated message from Dropbox Sign that includes the Bulk Send Job ID.

‍

Email from Dropbox Sign notifying that a bulk job is in process screenshot

‍

You can you use the following endpoint to check the status of the Bulk Send Job:

‍

Get Bulk Send Job
GET /bulk_send_job/[:bulk_send_job_id]
Returns a BulkSendJob that includes all SignatureRequests sent.

‍

Since you are sending a non-embedded signature request, your users receive email notifications from Dropbox Sign and will sign the documents online.

‍

Congrats! You’ve just completed your first Bulk Send Job. As promised, here is an example of the cURL Request using a CSV file.

‍

cURL Request:

‍

CODE: https://gist.github.com/latoyazamill/46f8a550d7a4f182ad8dfb282b5c7be1.js

‍

Example CSV File Format:

‍

Note: Any column with a "_field" suffix will be treated as a custom field (optional). You may only specify field values here, any other options should be set in the custom_fields request parameter. You can learn more about using custom_fields in our API Documentation.

‍

Happy Bulk Sending!

‍

保持更新

完成!请检查您的收件箱。

Thank you!
Thank you for subscribing!

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum
向右箭头图标
关闭图标

Up next:

手写签名的特写插图,代表现代数字签名解决方案。
开发人员
15
分钟阅读时间

将 Dropbox Sign 与 Ruby on Rails 集成:分步教程

手写签名的特写插图,代表现代数字签名解决方案。
开发人员
15
分钟阅读时间

Dropbox Sign vs. SignNow for developers

模板

员工评估模板

产品
Dropbox SignDropbox Sign APIDropbox Fax集成
为什么选择 Dropbox Sign
电子签名签署文档签署和填写 PDF在线合同创建电子签名签名编辑器签署 Word 文档
支持
帮助中心与销售人员联系联系支持人员管理 Cookie开始使用:Dropbox Sign开始使用:Dropbox Sign API
资源
博客客户案例资源中心合法性指南信任中心
合作伙伴
战略合作伙伴合作伙伴查找工具
公司
招贤纳士条款隐私
Facebook 图标YouTube 图标

接受的付款方式

Mastercard 徽标Visa 徽标American Express 徽标Discover 徽标
CPA 合规标记HIPAA 合规标记Sky High Enterprise Ready 标记ISO 9001 认证标志

在美国、欧盟、英国和世界许多其他地区,Dropbox Sign 电子签名均具有法律约束力。
如需了解更多信息,请查看我们的条款和条件以及隐私政策