Signvoy Template Versions API

Draft and published template version management

GitHub OpenAPI

Operations 7

GET /v1/templates/{templateId}/draft Get current draft version #
PATCH /v1/templates/{templateId}/draft Upsert draft content #
DELETE /v1/templates/{templateId}/draft Discard the current draft #
POST /v1/templates/{templateId}/draft/ensure Lazily create a draft from the published version (or empty) #
POST /v1/templates/{templateId}/draft/publish Publish the draft #
GET /v1/templates/{templateId}/versions List all published + draft versions #
GET /v1/templates/{templateId}/versions/{versionId} Get a specific version (read-only) #

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/signvoy-com:signvoy-com-template-versions-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

signvoy-com-template-versions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signvoy Template Versions API
  description: API for managing PDF document signing workflows, templates, and workspaces
  version: '1.0'
  contact: {}
servers:
- url: https://api.signvoy.com
  description: Signvoy API
tags:
- name: Template Versions
  description: Draft and published template version management
paths:
  /v1/templates/{templateId}/draft:
    get:
      description: Returns the current draft version's content, or 200 with `null` if none exists.
      operationId: TemplateVersions_getDraft
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Draft retrieved (or null).
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: Get current draft version
      tags:
      - Template Versions
    patch:
      description: Writes the full version content. Always allowed; returns engine diagnostics for the editor to render (warning-tolerant).
      operationId: TemplateVersions_upsertDraft
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: Upsert draft content
      tags:
      - Template Versions
    delete:
      operationId: TemplateVersions_discardDraft
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: Discard the current draft
      tags:
      - Template Versions
  /v1/templates/{templateId}/draft/ensure:
    post:
      operationId: TemplateVersions_ensureDraft
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: Lazily create a draft from the published version (or empty)
      tags:
      - Template Versions
  /v1/templates/{templateId}/draft/publish:
    post:
      description: Strict engine validation gate. Returns the published version; or throws RuleEngineException with structured diagnostics.
      operationId: TemplateVersions_publish
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: Publish the draft
      tags:
      - Template Versions
  /v1/templates/{templateId}/versions:
    get:
      operationId: TemplateVersions_listVersions
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: List all published + draft versions
      tags:
      - Template Versions
  /v1/templates/{templateId}/versions/{versionId}:
    get:
      operationId: TemplateVersions_findOne
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      - name: versionId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      summary: Get a specific version (read-only)
      tags:
      - Template Versions
components:
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: '**Recommended.** Signvoy API key. Create one in Workspace Settings → API Keys and pass it as `Authorization: Bearer sk_live_...`. The key implies its workspace, so `X-Workspace-Id` is optional when using an API key.'
    clerk-jwt:
      scheme: bearer
      bearerFormat: Clerk JWT
      type: http
      description: Clerk session JWT — used internally by the Signvoy dashboard. Not recommended for external integrations; use an API key instead.
    workspace-id:
      type: apiKey
      in: header
      name: X-Workspace-Id
      description: Workspace ID for multi-tenancy. Optional when authenticating with an API key (the key already implies its workspace).