Create Embedded Signature Request with Template

post/signature_request/create_embedded_with_template

Creates a new SignatureRequest based on the given Template(s) to be signed in an embedded iFrame. Note that embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign.

Securityapi_key or oauth2
Request
Request Body schema:
required
client_id
required
string

Client id of the app you're using to create this embedded signature request. Used for security purposes.

template_ids
required
Array of strings

Use template_ids to create a SignatureRequest from one or more templates, in the order in which the template will be used.

required
Array of objects (SubSignatureRequestTemplateSigner)

Add Signers to your Templated-based Signature Request.

allow_decline
boolean
Default: false

Allows signers to decline to sign a document if true. Defaults to false.

Array of objects (SubCC)

Add CC email recipients. Required when a CC role exists for the Template.

Array of objects (SubCustomField)

An array defining values and options for custom fields. Required when a custom field exists in the Template.

files
Array of strings <binary>

Use files[] to indicate the uploaded file(s) to send for signature.

This endpoint requires either files or file_urls[], but not both.

file_urls
Array of strings

Use file_urls[] to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either files or file_urls[], but not both.

message
string <= 5000 characters

The custom message in the email that will be sent to the signers.

object <= 10 items

Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long.

object (SubSigningOptions)

This allows the requester to specify the types allowed for creating a signature.

NOTE: If signing_options are not defined in the request, the allowed types will default to those specified in the account settings.

subject
string <= 255 characters

The subject in the email that will be sent to the signers.

test_mode
boolean
Default: false

Whether this is a test, the signature request will not be legally binding if set to true. Defaults to false.

title
string <= 255 characters

The title you want to assign to the SignatureRequest.

populate_auto_fill_fields
boolean
Default: false

Controls whether auto fill fields can automatically populate a signer's information during signing.

NOTE: Keep your signer's information safe by ensuring that the signer on your signature request is the intended party before using this feature.

Responses
200

successful operation

4XX

failed_operation

Request samples
{
  • "client_id": "b6b8e7deaf8f0b95c029dca049356d4a2cf9710a",
  • "template_ids": [
    ],
  • "subject": "Purchase Order",
  • "message": "Glad we could come to an agreement.",
  • "signers": [
    ],
  • "signing_options": {
    },
  • "test_mode": true
}
Response samples
application/json
{
  • "signature_request": {
    }
}