zSign Signing API

The signing API from zSign — 18 operation(s) for signing.

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 20

POST /api/sign/{token}/signature-image Upload Signature Image #
GET /api/sign/{token}/signature-image/{image_id} Get Signature Image #
POST /api/sign/{token}/saved-signature/verify-email Send Saved Signature Verification Email #
POST /api/sign/{token}/saved-signature/{kind} Save Saved Signature #
POST /api/sign/{token}/saved-signature/{kind}/adopt Adopt Saved Signature #
GET /api/sign/{token}/saved-signature/{kind}/image Get Saved Signature Image #
POST /api/sign/{token}/consent Give Consent #
POST /api/sign/{token}/decline Decline Signing #
GET /api/sign/{token}/data Get Signing Session Data #
GET /api/sign/{token}/document Get Signing Document #
POST /api/sign/{token}/complete Complete Signing #
GET /api/sign/{token}/completed-document Get Completed Document #
GET /api/sign/{token}/comments Get Signer Comment Threads #
POST /api/sign/{token}/comments Create Signer Comment Thread #
POST /api/sign/{token}/comments/{comment_id}/replies Create Signer Comment Reply #
PATCH /api/sign/{token}/comments/{reply_id} Edit Signer Comment Reply #
DELETE /api/sign/{token}/comments/{reply_id} Delete Signer Comment Reply #
POST /api/sign/{token}/comments/{comment_id}/resolve Resolve Signer Comment Thread #
POST /api/sign/{token}/comments/{comment_id}/reopen Reopen Signer Comment Thread #
GET /api/signature-verifications/saved-signature/verify Verify Saved Signature Email #

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-signing-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-signing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: zSign Signing API
  description: Document Processing and Signing Sessions API
  version: 1.0.0
tags:
- name: Signing
paths:
  /api/sign/{token}/signature-image:
    post:
      tags:
      - Signing
      summary: Upload Signature Image
      description: 'Store a hand-drawn signature or initials mark for this signer.


        Called when the signer adopts their mark, not at completion: a flaky mobile

        connection should fail here (retryable, with a spinner) rather than inside

        the one request that must not fail.'
      operationId: upload_signature_image_api_sign__token__signature_image_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_signature_image_api_sign__token__signature_image_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/signature-image/{image_id}:
    get:
      tags:
      - Signing
      summary: Get Signature Image
      description: 'Stream a previously-adopted mark back to the signer.


        Exists so the frontend can render adopted marks without minting signed GCS

        URLs and without holding base64 in localStorage -- an pointed here

        survives a page refresh.'
      operationId: get_signature_image_api_sign__token__signature_image__image_id__get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: image_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Image Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/saved-signature/verify-email:
    post:
      tags:
      - Signing
      summary: Send Saved Signature Verification Email
      description: Email the signer a link that proves control of their signing email.
      operationId: send_saved_signature_verification_email_api_sign__token__saved_signature_verify_email_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/saved-signature/{kind}:
    post:
      tags:
      - Signing
      summary: Save Saved Signature
      description: Save (or replace) this signer's reusable signature for `kind`.
      operationId: save_saved_signature_api_sign__token__saved_signature__kind__post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: kind
        in: path
        required: true
        schema:
          type: string
          title: Kind
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedSignatureSaveRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/saved-signature/{kind}/adopt:
    post:
      tags:
      - Signing
      summary: Adopt Saved Signature
      description: Materialise the saved drawn mark as this session's signature image.
      operationId: adopt_saved_signature_api_sign__token__saved_signature__kind__adopt_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: kind
        in: path
        required: true
        schema:
          type: string
          title: Kind
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/saved-signature/{kind}/image:
    get:
      tags:
      - Signing
      summary: Get Saved Signature Image
      description: Stream the saved drawn mark so the signing UI can preview it.
      operationId: get_saved_signature_image_api_sign__token__saved_signature__kind__image_get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: kind
        in: path
        required: true
        schema:
          type: string
          title: Kind
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/consent:
    post:
      tags:
      - Signing
      summary: Give Consent
      description: Record electronic signature consent
      operationId: give_consent_api_sign__token__consent_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/decline:
    post:
      tags:
      - Signing
      summary: Decline Signing
      description: Record formal decline to sign
      operationId: decline_signing_api_sign__token__decline_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeclineRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeclineResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/data:
    get:
      tags:
      - Signing
      summary: Get Signing Session Data
      description: Get signing session data as JSON for frontend
      operationId: get_signing_session_data_api_sign__token__data_get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/document:
    get:
      tags:
      - Signing
      summary: Get Signing Document
      description: Get the PDF document for signing
      operationId: get_signing_document_api_sign__token__document_get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/complete:
    post:
      tags:
      - Signing
      summary: Complete Signing
      description: Complete recipient signing
      operationId: complete_signing_api_sign__token__complete_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Field Values
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/completed-document:
    get:
      tags:
      - Signing
      summary: Get Completed Document
      description: Download the completed signed PDF using a signing token
      operationId: get_completed_document_api_sign__token__completed_document_get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: document
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Document
      - name: format
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Format
      - name: probe
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Probe
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/comments:
    get:
      tags:
      - Signing
      summary: Get Signer Comment Threads
      operationId: get_signer_comment_threads_api_sign__token__comments_get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: include_resolved
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Include Resolved
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThreadsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Signing
      summary: Create Signer Comment Thread
      operationId: create_signer_comment_thread_api_sign__token__comments_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommentCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/comments/{comment_id}/replies:
    post:
      tags:
      - Signing
      summary: Create Signer Comment Reply
      operationId: create_signer_comment_reply_api_sign__token__comments__comment_id__replies_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: comment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Comment Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommentTextRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/comments/{reply_id}:
    patch:
      tags:
      - Signing
      summary: Edit Signer Comment Reply
      operationId: edit_signer_comment_reply_api_sign__token__comments__reply_id__patch
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: reply_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Reply Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommentTextRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Signing
      summary: Delete Signer Comment Reply
      operationId: delete_signer_comment_reply_api_sign__token__comments__reply_id__delete
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: reply_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Reply Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/comments/{comment_id}/resolve:
    post:
      tags:
      - Signing
      summary: Resolve Signer Comment Thread
      operationId: resolve_signer_comment_thread_api_sign__token__comments__comment_id__resolve_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: comment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Comment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/sign/{token}/comments/{comment_id}/reopen:
    post:
      tags:
      - Signing
      summary: Reopen Signer Comment Thread
      operationId: reopen_signer_comment_thread_api_sign__token__comments__comment_id__reopen_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      - name: comment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Comment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/signature-verifications/saved-signature/verify:
    get:
      tags:
      - Signing
      summary: Verify Saved Signature Email
      description: Consume the emailed proof and return the signer to their session.
      operationId: verify_saved_signature_email_api_signature_verifications_saved_signature_verify_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      - name: signing_token
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Signing Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ThreadsResponse:
      properties:
        enabled:
          type: boolean
          title: Enabled
        read_only:
          type: boolean
          title: Read Only
        require_resolved:
          type: boolean
          title: Require Resolved
          default: false
        threads:
          items:
            $ref: '#/components/schemas/CommentThreadOut'
          type: array
          title: Threads
      type: object
      required:
      - enabled
      - read_only
      title: ThreadsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CommentCreateRequest:
      properties:
        page:
          type: integer
          minimum: 1.0
          title: Page
        field_id:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Field Id
        x:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: X
        y:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Y
        width:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Width
        height:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Height
        anchor_text:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Anchor Text
        text:
          type: string
          maxLength: 1000
          minLength: 1
          title: Text
      type: object
      required:
      - page
      - text
      title: CommentCreateRequest
    ChangeRequestCommentIn:
      properties:
        page:
          type: integer
          minimum: 1.0
          title: Page
        field_id:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Field Id
        x:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: X
        y:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Y
        width:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Width
        height:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Height
        anchor_text:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Anchor Text
        text:
          type: string
          maxLength: 1000
          minLength: 1
          title: Text
      type: object
      required:
      - page
      - text
      title: ChangeRequestCommentIn
    ConsentResponse:
      properties:
        success:
          type: boolean
          title: Success
        consent_timestamp:
          type: string
          title: Consent Timestamp
        consent_ip:
          type: string
          title: Consent Ip
      type: object
      required:
      - success
      - consent_timestamp
      - consent_ip
      title: ConsentResponse
    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
    Body_upload_signature_image_api_sign__token__signature_image_post:
      properties:
        kind:
          type: string
          title: Kind
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - kind
      - file
      title: Body_upload_signature_image_api_sign__token__signature_image_post
    CommentThreadOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        page:
          type: integer
          title: Page
        field_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Field Id
        field_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Field Label
        x:
          anyOf:
          - type: number
          - type: 'null'
          title: X
        y:
          anyOf:
          - type: number
          - type: 'null'
          title: Y
        w:
          anyOf:
          - type: number
          - type: 'null'
          title: W
        h:
          anyOf:
          - type: number
          - type: 'null'
          title: H
        anchor_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Anchor Text
        anchor_moved:
          type: boolean
          title: Anchor Moved
        text:
          type: string
          title: Text
        author:
          $ref: '#/components/schemas/CommentAuthorOut'
        created_at:
          type: string
          format: date-time
          title: Created At
        edited_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Edited At
        resolved_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Resolved At
        resolved_by:
          anyOf:
          - $ref: '#/components/schemas/CommentAuthorOut'
          - type: 'null'
        replies:
          items:
            $ref: '#/components/schemas/CommentReplyOut'
          type: array
          title: Replies
        can_resolve:
          type: boolean
          title: Can Resolve
      type: object
      required:
      - id
      - page
      - anchor_moved
      - text
      - author
      - created_at
      - can_resolve
      title: CommentThreadOut
    CommentReplyOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        text:
          type: string
          title: Text
        author:
          $ref: '#/components/schemas/CommentAuthorOut'
        created_at:
          type: string
          format: date-time
          title: Created At
        edited_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Edited At
        can_edit:
          type: boolean
          title: Can Edit
      type: object
      required:
      - id
      - text
      - author
      - created_at
      - can_edit
      title: CommentReplyOut
    DeclineResponse:
      properties:
        success:
          type: boolean
          title: Success
        declined_at:
          type: string
          title: Declined At
        mode:
          type: string
          title: Mode
      type: object
      required:
      - success
      - declined_at
      - mode
      title: DeclineResponse
    SavedSignatureSaveRequest:
      properties:
        method:
          type: string
          enum:
          - typed_cursive
          - drawn
          title: Method
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
        font_family:
          anyOf:
          - type: string
          - type: 'null'
          title: Font Family
        font_size:
          anyOf:
          - type: string
          - type: 'null'
          title: Font Size
        image_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Image Id
      type: object
      required:
      - method
      title: SavedSignatureSaveRequest
    DeclineRequest:
      properties:
        mode:
          type: string
          enum:
          - refuse
          - changes
          title: Mode
          default: refuse
        reason:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Reason
        comments:
          items:
            $ref: '#/components/schemas/ChangeRequestCommentIn'
          type: array
          maxItems: 50
          title: Comments
      type: object
      title: DeclineRequest
    CommentTextRequest:
      properties:
        text:
          type: string
          maxLength: 1000
          minLength: 1
          title: Text
      type: object
      required:
      - text
      title: CommentTextRequest
    CommentAuthorOut:
      properties:
        kind:
          type: string
          enum:
          - sender
          - signer
          - agent
          title: Kind
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        initials:
          type: string
          title: Initials
      type: object
      required:
      - kind
      - name
      - initials
      title: CommentAuthorOut
    ConsentRequest:
      properties:
        consent_acknowledged:
          type: boolean
          title: Consent Acknowledged
      type: object
      required:
      - consent_acknowledged
      title: ConsentRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer