Templates API

Manage reusable contract templates with variables.

Base URL:https://apisign.io/api

Create Template

Template Variables

Use double curly braces to define variables in your template content:

Variable TypeExampleDescription
Text{{company_name}}Simple text field
Signature{{signature}}Signature capture field
Date{{effective_date}}Date picker field
Signer Name{{signer_name}}Auto-filled with signer's name

Get Template


List Templates


Update Template


Archive Template


Field Definitions

When creating or updating a template, you can specify field definitions to control how variables behave:

{
  "fields": {
    "fields": [
      {
        "name": "company_name",
        "type": "text",
        "completedBy": "creator"
      },
      {
        "name": "signature",
        "type": "signature",
        "completedBy": "signer"
      },
      {
        "name": "effective_date",
        "type": "date",
        "completedBy": "creator"
      }
    ]
  }
}

Field Types

TypeDescription
textPlain text input
signatureSignature capture
initialsInitials capture
dateDate picker
emailEmail input with validation
signer_nameAuto-filled with signer's name

Completed By

ValueDescription
creatorFilled when creating the contract
signerFilled by the signer during signing