SignWell · Schema

DocumentTemplateRequest

E-SignatureElectronic SignatureDocumentsPDFSigningTemplatesWorkflowsHIPAASOC2

Properties

Name Type Description
files object
name string The name of the template.
subject string Email subject for the signature request that recipients will see. Defaults to the default system subject or a template subject (if the document is created from a template).
message string Email message for the signature request that recipients will see. Defaults to the default system message or a template message (if the document is created from a template).
placeholders object
copied_placeholders object
draft boolean Whether the template can still be updated before it is ready for usage. If set to `false` the template is marked as `Available` and it will be ready for use. Defaults to `false`.
expires_in integer Number of days before the signature request expires. Defaults to the account expiration setting or template expiration (if the document is created from a template).
reminders boolean Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to `true`. Defaults to `true`.
apply_signing_order boolean When set to `true` recipients will sign one at a time in the order of the `recipients` collection of this request.
api_application_id string Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings
text_tags boolean An alternative way (if you can’t use the recommended way) of placing fields in specific locations of your document by using special text tags. Useful when changing the content of your files changes th
redirect_url string A URL that recipients are redirected to after successfully signing a document.
allow_decline boolean Whether to allow recipients the option to decline signing a document. If multiple signers are involved in a document, any single recipient can cancel the entire document signing process by declining t
allow_reassign boolean In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else.
decline_redirect_url string A URL that recipients are redirected to if the document is declined.
language string Sets the language for the template and documents created from the template for all recipient side interactions including the document email and the document itself. Accepted languages: English, França
metadata object Optional key-value data that can be associated with the document. If set, will be available every time the document data is returned.
fields object
attachment_requests object
labels object
checkbox_groups object
View JSON Schema on GitHub

JSON Schema

DocumentTemplateRequest.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/signwell/main/json-schema/DocumentTemplateRequest.json",
  "title": "DocumentTemplateRequest",
  "type": "object",
  "properties": {
    "files": {
      "$ref": "#/components/schemas/Files"
    },
    "name": {
      "type": "string",
      "description": "The name of the template."
    },
    "subject": {
      "type": "string",
      "description": "Email subject for the signature request that recipients will see. Defaults to the default system subject or a template subject (if the document is created from a template)."
    },
    "message": {
      "type": "string",
      "description": "Email message for the signature request that recipients will see. Defaults to the default system message or a template message (if the document is created from a template)."
    },
    "placeholders": {
      "$ref": "#/components/schemas/Placeholders"
    },
    "copied_placeholders": {
      "$ref": "#/components/schemas/CopiedPlaceholders"
    },
    "draft": {
      "type": "boolean",
      "default": false,
      "description": "Whether the template can still be updated before it is ready for usage. If set to `false` the template is marked as `Available` and it will be ready for use. Defaults to `false`."
    },
    "expires_in": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of days before the signature request expires. Defaults to the account expiration setting or template expiration (if the document is created from a template)."
    },
    "reminders": {
      "type": "boolean",
      "default": true,
      "description": "Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to `true`. Defaults to `true`."
    },
    "apply_signing_order": {
      "type": "boolean",
      "default": false,
      "description": "When set to `true` recipients will sign one at a time in the order of the `recipients` collection of this request."
    },
    "api_application_id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings"
    },
    "text_tags": {
      "type": "boolean",
      "default": false,
      "description": "An alternative way (if you can\u2019t use the recommended way) of placing fields in specific locations of your document by using special text tags. Useful when changing the content of your files changes the location of fields. See API documentation for \u201cText Tags\u201d for details. Defaults to false."
    },
    "redirect_url": {
      "type": "string",
      "format": "url",
      "description": "A URL that recipients are redirected to after successfully signing a document."
    },
    "allow_decline": {
      "type": "boolean",
      "default": true,
      "description": "Whether to allow recipients the option to decline signing a document. If multiple signers are involved in a document, any single recipient can cancel the entire document signing process by declining to sign."
    },
    "allow_reassign": {
      "type": "boolean",
      "default": true,
      "description": "In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else."
    },
    "decline_redirect_url": {
      "type": "string",
      "format": "url",
      "description": "A URL that recipients are redirected to if the document is declined."
    },
    "language": {
      "type": "string",
      "description": "Sets the language for the template and documents created from the template for all recipient side interactions including the document email and the document itself. Accepted languages: English, Fran\u00e7ais, Espa\u00f1ol, Deutsch, Polski, Portugu\u00eas, Dansk, Nederlands, Italiano, \u0420\u0443\u0441\u0441\u043a\u0438\u0439, Svenska, \u0627\u0644\u0639\u0631\u0628\u064a\u0629, \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac, T\u00fcrk\u00e7e, Sloven\u010dina. Language should be sent in ISO 639-1 format: en, fr, es, de, pl, pt, da, nl, it, ru, sv, ar, el, tr, sk."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional key-value data that can be associated with the document. If set, will be available every time the document data is returned."
    },
    "fields": {
      "$ref": "#/components/schemas/TemplateFields"
    },
    "attachment_requests": {
      "$ref": "#/components/schemas/TemplateAttachmentRequests"
    },
    "labels": {
      "$ref": "#/components/schemas/Labels"
    },
    "checkbox_groups": {
      "$ref": "#/components/schemas/TemplateCheckboxGroups"
    }
  },
  "required": [
    "files",
    "placeholders"
  ]
}