Signvoy Templates API

PDF template management

GitHub OpenAPI

Operations 8

POST /v1/templates Create a new template #
GET /v1/templates List templates in the workspace #
GET /v1/templates/{id} Get template by id #
PATCH /v1/templates/{id} Update template metadata (name only) #
DELETE /v1/templates/{id} Delete template #
GET /v1/templates/{id}/pdf Get a presigned PDF URL for the latest version #
POST /v1/templates/{id}/archive Archive template #
POST /v1/templates/{id}/unarchive Unarchive template #

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-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

signvoy-com-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signvoy Templates 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: Templates
  description: PDF template management
paths:
  /v1/templates:
    post:
      description: 'Reserves a template id and the initial draft version. For a PDF source (the default) the response also carries a presigned URL the browser uploads the file to. Pass a `content` body with `sourceKind: "document"` to author the template as rich text instead; there is then no file to upload, so no `uploadUrl` is returned.'
      operationId: Templates_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTemplateDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTemplateResponseDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Create a new template
      tags:
      - Templates
    get:
      operationId: Templates_list
      parameters:
      - name: status
        required: false
        in: query
        description: Filter templates by status
        schema:
          example: active
          type: string
          enum:
          - active
          - archived
          - all
      - name: kind
        required: false
        in: query
        description: Which kind of template to list. `reusable` (the default) is the templates library. `oneoff` returns only the single-use templates behind an unfinished 'upload and send' — the ones still being prepared, with no document created from them yet.
        schema:
          example: reusable
          type: string
          enum:
          - reusable
          - oneoff
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TemplateWithVersionsDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: List templates in the workspace
      tags:
      - Templates
  /v1/templates/{id}:
    get:
      description: Returns the lightweight template row bundled with its current draft + published version (when each exists).
      operationId: Templates_findOne
      parameters:
      - name: id
        required: true
        in: path
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateWithVersionsDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Get template by id
      tags:
      - Templates
    patch:
      operationId: Templates_update
      parameters:
      - name: id
        required: true
        in: path
        schema:
          format: uuid
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTemplateDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateWithVersionsDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Update template metadata (name only)
      tags:
      - Templates
    delete:
      operationId: Templates_remove
      parameters:
      - name: id
        required: true
        in: path
        schema:
          format: uuid
          type: string
      responses:
        '204':
          description: ''
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Delete template
      tags:
      - Templates
  /v1/templates/{id}/pdf:
    get:
      operationId: Templates_getPdfUrl
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateUrlResponseDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Get a presigned PDF URL for the latest version
      tags:
      - Templates
  /v1/templates/{id}/archive:
    post:
      operationId: Templates_archive
      parameters:
      - name: id
        required: true
        in: path
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateWithVersionsDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Archive template
      tags:
      - Templates
  /v1/templates/{id}/unarchive:
    post:
      operationId: Templates_unarchive
      parameters:
      - name: id
        required: true
        in: path
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateWithVersionsDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Unarchive template
      tags:
      - Templates
components:
  schemas:
    TemplateVersionDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        templateId:
          type: string
          format: uuid
        version:
          type: integer
          minimum: 1
        status:
          type: string
          enum:
          - draft
          - published
        fileName:
          type: string
          description: Original PDF file name
        pageCount:
          type: integer
          minimum: 1
        createdAt:
          type: integer
          description: Creation timestamp (Unix ms)
        publishedAt:
          type: integer
          description: Unix ms when published
        publishedBy:
          type: string
          description: Clerk user ID of the publisher
        pdfUrl:
          type: string
          format: uri
          description: Presigned PDF URL (included when explicitly requested)
      required:
      - id
      - templateId
      - version
      - status
      - fileName
      - pageCount
      - createdAt
    UpdateTemplateDto:
      type: object
      properties:
        name:
          type: string
          description: Updated template name
          maxLength: 255
    CreateTemplateDto:
      type: object
      properties:
        name:
          type: string
          description: Template name
          example: NDA Template
          maxLength: 255
        fileName:
          type: string
          description: Original PDF filename. Required for a pdf source; omit it for a document source, which has no uploaded file.
          example: nda.pdf
        pageCount:
          type: number
          description: Number of pages. Required for a pdf source; omit it for a document source, whose length is only known once the body is rendered.
          example: 3
          minimum: 1
        content:
          type: object
          description: 'Optional initial draft content (recipients/fields/rules, plus the `sourceFiles` manifest when several PDFs were merged on upload). Pass a body with `sourceKind: "document"` to author the template as rich text instead of uploading a PDF.'
        kind:
          type: string
          description: Whether this is a reusable template or the single-use container behind a one-off document. One-off templates are hidden from the templates list and are published implicitly when a document is created from them.
          enum:
          - reusable
          - oneoff
          default: reusable
      required:
      - name
    TemplateWithVersionsDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspaceId:
          type: string
          format: uuid
        ownerId:
          type: string
          description: Clerk user ID of the owner
        name:
          type: string
        kind:
          type: string
          description: Reusable templates appear in the templates list. One-off templates back a single 'upload and send' document and are hidden from every listing.
          enum:
          - reusable
          - oneoff
        archivedAt:
          type: integer
          description: Unix ms when archived (null if active)
        createdAt:
          type: integer
        updatedAt:
          type: integer
        currentDraftVersionId:
          type:
          - string
          - 'null'
          format: uuid
        currentPublishedVersionId:
          type:
          - string
          - 'null'
          format: uuid
        draftVersion:
          description: Current draft version (null if none exists)
          type:
          - object
          - 'null'
          allOf:
          - $ref: '#/components/schemas/TemplateVersionDto'
        publishedVersion:
          description: Current published version (null if never published)
          type:
          - object
          - 'null'
          allOf:
          - $ref: '#/components/schemas/TemplateVersionDto'
      required:
      - id
      - workspaceId
      - ownerId
      - name
      - kind
      - createdAt
      - updatedAt
    CreateTemplateResponseDto:
      type: object
      properties:
        templateId:
          type: string
          format: uuid
          description: Newly created template ID
        draftVersionId:
          type: string
          format: uuid
          description: ID of the initial draft version
        uploadUrl:
          type: string
          format: uri
          description: 'Presigned PUT URL for uploading the source PDF directly to storage. Upload the PDF bytes to this URL with Content-Type: application/pdf. Absent for a document-source template, which has no file to upload — its PDF is rendered from the body at signing time.'
      required:
      - templateId
      - draftVersionId
    TemplateUrlResponseDto:
      type: object
      properties:
        url:
          type: string
          format: uri
          description: Presigned PDF URL
      required:
      - url
  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).