DocuSeal · Schema

DocuSeal Template

A document template in DocuSeal, defining fields, roles, and document structure for signing workflows.

Document SigningE-SignatureElectronic SignatureDocument-ManagementPDFTemplatesOpen-SourceWebhookEmbedding

Properties

Name Type Description
id integer Unique identifier for the template.
slug string Unique URL-safe identifier for the template.
name string Display name of the template.
source string How the template was created (e.g., api, web).
external_id stringnull Application-specific identifier for the template.
folder_id integernull ID of the folder containing the template.
folder_name stringnull Name of the folder containing the template.
shared_link stringnull Public sharing link for the template.
preferences object Template-level preferences and configuration.
author_id integer ID of the user who created the template.
author object Author user details.
schema array Document attachment references defining the template structure.
fields array Form fields defined in the template.
submitters array Roles (submitter slots) defined in the template.
documents array Documents attached to the template.
archived_at stringnull Timestamp when the template was archived.
created_at string Timestamp when the template was created.
updated_at string Timestamp when the template was last updated.
View JSON Schema on GitHub

JSON Schema

docuseal-template-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/docuseal/main/json-schema/docuseal-template-schema.json",
  "title": "DocuSeal Template",
  "description": "A document template in DocuSeal, defining fields, roles, and document structure for signing workflows.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier for the template."
    },
    "slug": {
      "type": "string",
      "description": "Unique URL-safe identifier for the template."
    },
    "name": {
      "type": "string",
      "description": "Display name of the template."
    },
    "source": {
      "type": "string",
      "description": "How the template was created (e.g., api, web)."
    },
    "external_id": {
      "type": ["string", "null"],
      "description": "Application-specific identifier for the template."
    },
    "folder_id": {
      "type": ["integer", "null"],
      "description": "ID of the folder containing the template."
    },
    "folder_name": {
      "type": ["string", "null"],
      "description": "Name of the folder containing the template."
    },
    "shared_link": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "Public sharing link for the template."
    },
    "preferences": {
      "type": "object",
      "description": "Template-level preferences and configuration.",
      "additionalProperties": true
    },
    "author_id": {
      "type": "integer",
      "description": "ID of the user who created the template."
    },
    "author": {
      "type": "object",
      "description": "Author user details.",
      "properties": {
        "id": { "type": "integer" },
        "email": { "type": "string", "format": "email" },
        "name": { "type": ["string", "null"] }
      }
    },
    "schema": {
      "type": "array",
      "description": "Document attachment references defining the template structure.",
      "items": {
        "type": "object",
        "properties": {
          "attachment_uuid": { "type": "string", "format": "uuid" },
          "name": { "type": "string" }
        }
      }
    },
    "fields": {
      "type": "array",
      "description": "Form fields defined in the template.",
      "items": {
        "$ref": "#/definitions/Field"
      }
    },
    "submitters": {
      "type": "array",
      "description": "Roles (submitter slots) defined in the template.",
      "items": {
        "$ref": "#/definitions/SubmitterRole"
      }
    },
    "documents": {
      "type": "array",
      "description": "Documents attached to the template.",
      "items": {
        "$ref": "#/definitions/Document"
      }
    },
    "archived_at": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "Timestamp when the template was archived."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the template was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the template was last updated."
    }
  },
  "required": ["id", "slug", "name", "created_at", "updated_at"],
  "definitions": {
    "Field": {
      "type": "object",
      "description": "A form field within the template.",
      "properties": {
        "uuid": { "type": "string", "format": "uuid" },
        "submitter_uuid": { "type": "string", "format": "uuid" },
        "name": { "type": "string" },
        "type": {
          "type": "string",
          "enum": ["signature", "text", "date", "number", "image", "checkbox", "select", "radio", "file", "payment", "stamp", "initials", "phone", "cells", "verification"]
        },
        "required": { "type": "boolean" },
        "readonly": { "type": "boolean" },
        "preferences": { "type": "object", "additionalProperties": true },
        "areas": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/FieldArea"
          }
        },
        "options": {
          "type": ["array", "null"],
          "items": { "type": "object" }
        }
      }
    },
    "FieldArea": {
      "type": "object",
      "description": "Placement area for a field on a document page.",
      "properties": {
        "x": { "type": "number" },
        "y": { "type": "number" },
        "w": { "type": "number" },
        "h": { "type": "number" },
        "page": { "type": "integer" },
        "attachment_uuid": { "type": "string", "format": "uuid" }
      }
    },
    "SubmitterRole": {
      "type": "object",
      "description": "A signer role slot defined in the template.",
      "properties": {
        "name": { "type": "string" },
        "uuid": { "type": "string", "format": "uuid" }
      }
    },
    "Document": {
      "type": "object",
      "description": "A document attached to the template.",
      "properties": {
        "id": { "type": "integer" },
        "uuid": { "type": "string", "format": "uuid" },
        "url": { "type": "string", "format": "uri" },
        "preview_image_url": { "type": ["string", "null"], "format": "uri" },
        "filename": { "type": "string" }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/docuseal-template"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.