Skip to main content

Get Template

GET 

/template/:template_id

The Get Template API allows you to retrieve details about a specific template. Templates serve as blueprints for creating documents with predefined structures.

Responses of Signer Widgets:

  1. signature
{
"type": "signature",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21
}
  1. stamp
{
"type": "stamp",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "stamp"
}
}
  1. initials
{
"type": "initials",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "initials"
}
}
  1. email
{
"type": "email",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "email",
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}
  1. name
{
"type": "name",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "name",
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}
  1. job Title
{
"type": "job title",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "job title",
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}
  1. company
{
"type": "company",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "company",
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}
  1. date
{
"type": "date",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "date",
"default": "04-15-2024",
"format": "mm-dd-yyyy",
"color": "black",
"fontsize": 12,
"min_date": "",
"max_date": "",
"readonly": false,
"signing_date": false
}
}
  1. textbox
{
"type": "textbox",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"name": "textbox",
"required": true,
"readonly": false,
"default": "name",
"hint": "provide name",
"regularexpression": "",
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}
  1. checkbox
{
"type": "checkbox",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "checkbox",
"values": ["male", "female", "other"],
"selectedvalues": ["male", "female"],
"readonly": false,
"hidelabel": false,
"color": "black",
"fontsize": 12,
"layout": "vertical",
"validation": {
"minselections": 0,
"maxselections": 0
}
}
}
  1. dropdown
{
"type": "dropdown",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "dropdown",
"readonly": false,
"values": ["male", "female", "other"],
"default": "",
"color": "black",
"fontsize": 12
}
}
  1. radio button
{
"type": "radio button",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "radio button",
"readonly": false,
"values": ["male", "female", "other"],
"default": "male",
"color": "black",
"fontsize": 12,
"layout": "vertical"
}
}
  1. image
{
"type": "image",
"page": 1,
"x": 327,
"y": 628,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "image"
}
}
  1. number
{
"type": "number",
"page": 1,
"x": 107,
"y": 528,
"w": 60,
"h": 21,
"options": {
"name": "number",
"required": true,
"readonly": false,
"default": 0,
"hint": "Enter number",
"formula": "",
"decimalplaces": 2,
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}
  1. cells
{
"type": "cells",
"page": 1,
"x": 100,
"y": 100,
"w": 114,
"h": 50,
"options": {
"name": "cells",
"required": true,
"readonly": false,
"cell_count": 5,
"default": "",
"hint": "",
"regularexpression": "",
"color": "black",
"fontsize": 12,
"hide_text_with_asterisks": false
}
}

Responses of Prefill widgets

  1. textbox
{
"type": "textbox",
"page": 1,
"x": 290,
"y": 165,
"w": 150,
"h": 20,
"options": {
"required": true,
"name": "textbox",
"response": "joe",
"color": "red",
"fontsize": 12
}
}
  1. date
{
"type": "date",
"page": 1,
"x": 173,
"y": 588,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "date",
"response": "04/15/2024",
"format": "mm/dd/yyyy",
"color": "black",
"fontsize": 12
}
}
  1. checkbox
{
"type": "checkbox",
"page": 1,
"x": 172,
"y": 630,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "checkbox",
"values": ["male", "female", "other"],
"response": ["male", "female"],
"hidelabel": false,
"color": "black",
"fontsize": 12
}
}
  1. radio button
{
"type": "radio button",
"page": 1,
"x": 173,
"y": 718,
"w": 114,
"h": 21,
"options": {
"required": true,
"name": "radio button",
"values": ["male", "female", "other"],
"response": "male",
"hidelabel": false,
"color": "black",
"fontsize": 12
}
}
  1. image
{
"type": "image",
"page": 1,
"x": 100,
"y": 95,
"w": 92,
"h": 55,
"options": {
"required": true,
"name": "image",
"response":"iVBORw0KGgoAAAANSUhEUgAAAmoAAA..."
}
}

Request

Responses

successful operation