Signvoy Documents API

Document creation and lifecycle management

GitHub OpenAPI

Operations 12

POST /v1/documents Create a new document #
GET /v1/documents List documents #
GET /v1/documents/{id} Get document by ID #
PATCH /v1/documents/{id} Update document #
DELETE /v1/documents/{id} Delete document #
POST /v1/documents/{id}/send Send document for signing #
POST /v1/documents/{id}/remind Send a manual reminder #
POST /v1/documents/{id}/recipients/{recipientId}/remind Send a reminder to a specific recipient #
POST /v1/documents/{id}/void Void document #
GET /v1/documents/{id}/signed-pdf Get signed PDF URL #
GET /v1/documents/{id}/certificate Get certificate of completion URL #
GET /v1/documents/{id}/audit Get document audit trail #

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-documents-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-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signvoy Documents 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: Documents
  description: Document creation and lifecycle management
paths:
  /v1/documents:
    post:
      description: Creates a document from a template with recipients for signing. Reusable templates must already be published. One-off templates — the single-use containers behind the 'upload and send' flow — are published implicitly here, so their draft must pass rules-engine validation.
      operationId: Documents_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDocumentDto'
      responses:
        '201':
          description: Document created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: Invalid input data, an unknown role key, an archived template, a reusable template with no published version (`NO_PUBLISHED_VERSION`), or a one-off template whose draft has blocking rule diagnostics.
        '401':
          description: Unauthorized - Invalid or missing JWT token
        '404':
          description: Template not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Create a new document
      tags:
      - Documents
    get:
      description: Retrieves all documents in the workspace with optional filtering by status, template, or search query
      operationId: Documents_list
      parameters:
      - name: status
        required: false
        in: query
        description: Filter by document status
        schema:
          example: sent
          type: string
          enum:
          - draft
          - sent
          - in_progress
          - completed
          - declined
          - voided
          - expired
      - name: templateId
        required: false
        in: query
        description: Filter by template UUID
        schema:
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
          type: string
      - name: q
        required: false
        in: query
        description: Search query for document name, recipient name, or email
        schema:
          example: john
          type: string
      responses:
        '200':
          description: List of documents retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DocumentDto'
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: List documents
      tags:
      - Documents
  /v1/documents/{id}:
    get:
      description: Retrieves detailed information about a specific document
      operationId: Documents_findOne
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Get document by ID
      tags:
      - Documents
    patch:
      description: Updates document details (only allowed in draft state)
      operationId: Documents_update
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDocumentDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: Invalid input or document not in draft state
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Update document
      tags:
      - Documents
    delete:
      description: Permanently deletes a document
      operationId: Documents_remove
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '204':
          description: Document deleted
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Delete document
      tags:
      - Documents
  /v1/documents/{id}/send:
    post:
      description: Sends the document to recipients and transitions it to 'sent' state
      operationId: Documents_send
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: Document not in valid state for sending
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Send document for signing
      tags:
      - Documents
  /v1/documents/{id}/remind:
    post:
      description: Immediately emails a reminder to every pending recipient with an active signing link. Does not consume the automatic reminder budget.
      operationId: Documents_remind
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: No pending recipients, or document not in a remindable state
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Send a manual reminder
      tags:
      - Documents
  /v1/documents/{id}/recipients/{recipientId}/remind:
    post:
      description: Immediately emails a reminder to a single pending recipient with an active signing link. Does not consume the automatic reminder budget.
      operationId: Documents_remindRecipient
      parameters:
      - name: recipientId
        required: true
        in: path
        description: Recipient UUID
        schema:
          format: uuid
          type: string
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: Recipient not pending or does not have an active signing link
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document or recipient not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Send a reminder to a specific recipient
      tags:
      - Documents
  /v1/documents/{id}/void:
    post:
      description: Cancels the document and prevents further signing
      operationId: Documents_voidDoc
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: Document cannot be voided in current state
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Void document
      tags:
      - Documents
  /v1/documents/{id}/signed-pdf:
    get:
      description: Retrieves a presigned URL for the completed signed PDF. By default the URL renders inline (for previewing in a browser); pass `download=true` to force an attachment download with a friendly filename.
      operationId: Documents_signedPdf
      parameters:
      - name: download
        required: false
        in: query
        description: Force an attachment download instead of inline rendering
        schema:
          type: boolean
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UrlResponseDto'
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found or not completed
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Get signed PDF URL
      tags:
      - Documents
  /v1/documents/{id}/certificate:
    get:
      description: Retrieves a presigned URL to download the standalone certificate of completion
      operationId: Documents_certificate
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UrlResponseDto'
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document or certificate not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Get certificate of completion URL
      tags:
      - Documents
  /v1/documents/{id}/audit:
    get:
      description: Returns the ordered chain-of-custody events (sent, viewed, signed, declined, etc.) for the document
      operationId: Documents_audit
      parameters:
      - name: id
        required: true
        in: path
        description: Document UUID
        schema:
          format: uuid
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AuditEventDto'
        '403':
          description: Forbidden - Not the document owner
        '404':
          description: Document not found
      security:
      - workspace-id: []
      - clerk-jwt: []
      - api-key: []
      summary: Get document audit trail
      tags:
      - Documents
components:
  schemas:
    AuditEventDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        documentId:
          type: string
          format: uuid
        documentRecipientId:
          type:
          - string
          - 'null'
          format: uuid
        type:
          type: string
          description: Event type
          example: signed
        actorName:
          type:
          - string
          - 'null'
        actorEmail:
          type:
          - string
          - 'null'
        apiKeyId:
          type:
          - string
          - 'null'
          format: uuid
          description: API key that performed the action (when applicable)
        apiKeyName:
          type:
          - string
          - 'null'
          description: Human-readable name of the API key used (when applicable)
        ipAddress:
          type:
          - string
          - 'null'
        userAgent:
          type:
          - string
          - 'null'
        metadata:
          type:
          - object
          - 'null'
          additionalProperties: true
        createdAt:
          format: date-time
          type: string
      required:
      - id
      - documentId
      - type
      - createdAt
    CreateDocumentRecipientDto:
      type: object
      properties:
        roleKey:
          type: string
          description: Template role key this recipient fills (matches `version.content.recipients[].key`). Required for `signer`; ignored for `cc` and `viewer`, which hold no fields and are assigned a synthetic key.
          example: buyer
        name:
          type: string
          description: Recipient's full name
          example: John Doe
          maxLength: 255
        email:
          type: string
          description: Recipient's email address for notifications
          example: john.doe@example.com
          maxLength: 254
        type:
          type: string
          description: What this recipient is asked to do. `signer` (default) fills in fields and signs. `cc` receives a copy and never holds up the signing order. `viewer` must open and confirm they reviewed the document, and blocks the order until they do.
          enum:
          - signer
          - cc
          - viewer
          default: signer
        order:
          type: number
          description: 'Position in the signing order. Signers default to the order set on their template role. For a `cc` this is also *when* the copy is sent: a position after every signer gets the certified final document, while a mid-order position gets the document as it stands at that step.'
          minimum: 1
          example: 2
      required:
      - roleKey
      - name
    ExpirySettingsDto:
      type: object
      properties:
        days:
          type: number
          description: Days after sending that this document can still be signed. The absolute deadline is derived from this when the document is sent.
          minimum: 1
          maximum: 365
          default: 30
    CreateDocumentDto:
      type: object
      properties:
        templateId:
          type: string
          description: Template UUID to create document from
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
        name:
          type: string
          description: Custom name for the document
          example: Q4 2025 Contract Agreement
          maxLength: 255
        message:
          type: string
          description: Message to include with the signing request
          example: Please review and sign this document at your earliest convenience.
          maxLength: 5000
        emailSubject:
          type: string
          description: 'Replaces the generated subject line on the signing request, the awaiting-your-turn heads-up, and reminders (which stay prefixed with "Reminder: "). Completion, decline, void and expiry notices always use their standard wording. Leave unset for the generated subject.'
          example: 'Please sign: Acme MSA'
          maxLength: 120
        routingMode:
          type: string
          description: 'Signing-order mode. parallel (default): all recipients are invited at once. sequential: recipients are activated group-by-group by ascending order value — the next group is only activated once the current group has fully signed.'
          enum:
          - parallel
          - sequential
          default: parallel
        reminders:
          description: Automatic reminder cadence for this document. When omitted, the template's reminder default (or the product default) is used.
          allOf:
          - $ref: '#/components/schemas/ReminderSettingsDto'
        expiry:
          description: Signing deadline for this document. When omitted, the template's deadline default (or the product default) is used.
          allOf:
          - $ref: '#/components/schemas/ExpirySettingsDto'
        recipients:
          description: Everyone involved with the document, in signing order — those who sign, those who must view and confirm, and those who just receive a copy. At least one must sign or view.
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/CreateDocumentRecipientDto'
      required:
      - templateId
      - recipients
    DocumentRecipientDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        roleKey:
          type: string
          description: Matches template version recipient key
        roleName:
          type: string
          description: Role display name snapshot at send time
        type:
          type: string
          enum:
          - signer
          - cc
          - viewer
          description: What this recipient is asked to do. `signer` fills in fields and signs. `cc` receives a copy and never holds up the signing order. `viewer` must open and confirm they reviewed the document.
        name:
          type: string
        email:
          type: string
          description: Recipient email address
        color:
          type: string
          description: Hex colour assigned to this recipient
        order:
          type: integer
          description: Signing order (0-based)
        status:
          type: string
          enum:
          - pending
          - signed
          - acknowledged
          - copy_sent
          - declined
          description: 'Each role reaches its own terminal status: a signer `signed`, a viewer `acknowledged`, a CC `copy_sent`. They are never interchangeable.'
        signedAt:
          type: integer
          description: Unix ms timestamp when recipient signed
        declinedAt:
          type: integer
          description: Unix ms timestamp when recipient declined
        declineReason:
          type: string
          description: Reason for declining
        signUrl:
          type: string
          description: URL where this recipient can complete signing
        lastRemindedAt:
          type: integer
          description: Unix ms timestamp when recipient was last reminded (manual or automatic)
        hasActiveSigningLink:
          type: boolean
          description: Whether this recipient has an active signing link (can currently sign)
      required:
      - id
      - roleKey
      - roleName
      - type
      - name
      - color
      - order
      - status
    DocumentDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspaceId:
          type: string
          format: uuid
        templateId:
          type: string
          format: uuid
        templateVersionId:
          type: string
          format: uuid
        ownerId:
          type: string
          description: Clerk user ID of the document owner
        name:
          type: string
          description: Human-readable document name
        status:
          type: string
          enum:
          - draft
          - sent
          - in_progress
          - completed
          - declined
          - voided
          - expired
          description: Current document lifecycle state
        routingMode:
          type: string
          enum:
          - parallel
          - sequential
          description: Signing-order mode
        message:
          type: string
          description: Custom message sent with the signing request
        emailSubject:
          type: string
          description: Sender's replacement subject for the signing request and reminders. Absent means the generated subject is used.
        createdAt:
          type: integer
          description: Creation timestamp (Unix ms)
        sentAt:
          type: integer
          description: Unix ms when sent
        completedAt:
          type: integer
          description: Unix ms when all signed
        voidedAt:
          type: integer
          description: Unix ms when voided
        expiresAt:
          type: integer
          description: Unix ms when expires/expired
        documentHash:
          type: string
          description: SHA-256 fingerprint of the certified final PDF
        certifiedAt:
          type: integer
          description: Unix ms when certified
        reminderEnabled:
          type: boolean
          description: Whether automatic reminders are enabled
        reminderIntervalDays:
          type: integer
          description: Days between automatic reminders
        reminderMaxCount:
          type: integer
          description: Max automatic reminders
        reminderCount:
          type: integer
          description: Automatic reminders sent so far
        lastReminderAt:
          type: integer
          description: Unix ms of the most recent reminder (auto or manual)
        recipients:
          type: array
          items:
            $ref: '#/components/schemas/DocumentRecipientDto'
        previewPins:
          type: array
          description: Positions (percent of page) of up to 8 fields on page 1 of the pinned template version, for list thumbnails. `recipientKey` matches `recipients[].roleKey`. Only returned by the list endpoint.
          items:
            type: object
            properties:
              id:
                type: string
              recipientKey:
                type: string
              x:
                type: number
              y:
                type: number
            required:
            - id
            - recipientKey
            - x
            - y
        sendBlockers:
          type: array
          description: Reasons a draft cannot yet be sent. Empty array when the document is ready to send or is not in draft state.
          items:
            type: object
            properties:
              code:
                type: string
                enum:
                - NO_RECIPIENTS
                - RECIPIENT_EMAIL_MISSING
                - CC_EMAIL_MISSING
              message:
                type: string
              recipientIds:
                type: array
                items:
                  type: string
            required:
            - code
            - message
      required:
      - id
      - workspaceId
      - templateId
      - templateVersionId
      - ownerId
      - name
      - status
      - routingMode
      - createdAt
      - reminderEnabled
      - reminderIntervalDays
      - reminderMaxCount
      - reminderCount
      - recipients
      - sendBlockers
    UrlResponseDto:
      type: object
      properties:
        url:
          type: string
          description: Presigned download URL
          format: uri
      required:
      - url
    ReminderSettingsDto:
      type: object
      properties:
        enabled:
          type: boolean
          description: Whether automatic reminders are enabled for this document
          default: true
        intervalDays:
          type: number
          description: Days between automatic reminder emails
          minimum: 1
          maximum: 30
          default: 3
        maxReminders:
          type: number
          description: Maximum number of automatic reminders before giving up
          minimum: 0
          maximum: 10
          default: 3
    UpdateDocumentDto:
      type: object
      properties:
        name:
          type: string
          description: Custom name for the document
          example: Q4 2025 Contract Agreement
          maxLength: 255
        message:
          type: string
          description: Message to include with the signing request
          example: Please review and sign this document at your earliest convenience.
          maxLength: 5000
        emailSubject:
          type: string
          description: 'Replaces the generated subject line on the signing request, the awaiting-your-turn heads-up, and reminders (which stay prefixed with "Reminder: "). Completion, decline, void and expiry notices always use their standard wording. Leave unset for the generated subject.'
          example: 'Please sign: Acme MSA'
          maxLength: 120
        routingMode:
          type: string
          description: 'Signing-order mode. parallel (default): all recipients are invited at once. sequential: recipients are activated group-by-group by ascending order value — the next group is only activated once the current group has fully signed.'
          enum:
          - parallel
          - sequential
          default: parallel
        reminders:
          description: Automatic reminder cadence for this document. When omitted, the template's reminder default (or the product default) is used.
          allOf:
          - $ref: '#/components/schemas/ReminderSettingsDto'
        expiry:
          description: Signing deadline for this document. When omitted, the template's deadline default (or the product default) is used.
          allOf:
          - $ref: '#/components/schemas/ExpirySettingsDto'
        recipients:
          description: Everyone involved with the document, in signing order — those who sign, those who must view and confirm, and those who just receive a copy. At least one must sign or view.
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/CreateDocumentRecipientDto'
  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).