zSign Templates API

The templates API from zSign — 3 operation(s) for templates.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /api/documents/templates List Templates #
DELETE /api/documents/templates/{document_id} Delete Template #
POST /api/documents/templates/{template_id}/link Attach Template Link #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/zsign-io:zsign-io-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

zsign-io-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: zSign Templates API
  description: Document Processing and Signing Sessions API
  version: 1.0.0
tags:
- name: Templates
paths:
  /api/documents/templates:
    get:
      tags:
      - Templates
      summary: List Templates
      description: 'Every template the caller''s org owns, each with its public link

        status -- see DraftDocumentService.list_templates_with_links for why

        link-backed templates are no longer hidden here.


        Resolves the signing base URL ONCE for the whole response rather than

        once per row: every template here belongs to the same org, so

        get_signing_base_url (a UserBranding query) would otherwise repeat

        identically for every link-backed template in the list.'
      operationId: list_templates_api_documents_templates_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateListResponse'
      security:
      - HTTPBearer: []
  /api/documents/templates/{document_id}:
    delete:
      tags:
      - Templates
      summary: Delete Template
      operationId: delete_template_api_documents_templates__document_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: document_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Document Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/documents/templates/{template_id}/link:
    post:
      tags:
      - Templates
      summary: Attach Template Link
      description: 'Give an existing template a public /t/{id} URL.


        The counterpart to POST /api/template-links, which uploads a file and

        links it in one call. This one links a template that already exists --

        including one whose fields were placed in the visual editor, which had

        no way to become a public link before.'
      operationId: attach_template_link_api_documents_templates__template_id__link_post
      security:
      - HTTPBearer: []
      parameters:
      - name: template_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Template Id
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Templates
      summary: Update Template Link Enabled
      operationId: update_template_link_enabled_api_documents_templates__template_id__link_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: template_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Template Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TemplateLinkUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Templates
      summary: Revoke Template Link
      description: 'Revoke the public URL, keeping the template. Anyone holding the link

        can no longer sign.'
      operationId: revoke_template_link_api_documents_templates__template_id__link_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: template_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Template Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TemplateSummary:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        filename:
          type: string
          title: Filename
        parties:
          items:
            type: string
          type: array
          title: Parties
        field_count:
          type: integer
          title: Field Count
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        link:
          anyOf:
          - $ref: '#/components/schemas/TemplateLinkStatus'
          - type: 'null'
        document_count:
          type: integer
          title: Document Count
          default: 1
        documents:
          items:
            $ref: '#/components/schemas/EnvelopeDocumentOut'
          type: array
          title: Documents
          default: []
      type: object
      required:
      - id
      - name
      - filename
      - parties
      - field_count
      title: TemplateSummary
      description: 'One row of GET /api/documents/templates -- deliberately cheap: built

        entirely from the `documents` row (parsed_fields already stored there),

        no GCS download per template the way _draft_response''s page metadata

        needs one. See DraftDocumentService.list_templates_with_links for every

        document_type="template" row this returns, paired with its link status.'
    TemplateListResponse:
      properties:
        templates:
          items:
            $ref: '#/components/schemas/TemplateSummary'
          type: array
          title: Templates
        total:
          type: integer
          title: Total
      type: object
      required:
      - templates
      - total
      title: TemplateListResponse
    TemplateLinkUpdateRequest:
      properties:
        enabled:
          type: boolean
          title: Enabled
      type: object
      required:
      - enabled
      title: TemplateLinkUpdateRequest
    TemplateLinkStatus:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        url:
          type: string
          title: Url
        enabled:
          type: boolean
          title: Enabled
      type: object
      required:
      - id
      - url
      - enabled
      title: TemplateLinkStatus
      description: 'The public-link half of a template row. None on TemplateSummary means

        this template has no public URL -- which is the normal case, not an

        error.'
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    EnvelopeDocumentOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        filename:
          type: string
          title: Filename
        page_start:
          type: integer
          title: Page Start
        page_count:
          type: integer
          title: Page Count
        position:
          type: integer
          title: Position
      type: object
      required:
      - id
      - name
      - filename
      - page_start
      - page_count
      - position
      title: EnvelopeDocumentOut
      description: One document inside an envelope, as every wire payload lists it.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer