Signicat Attachments API

The Attachments API from Signicat — 2 operation(s) for attachments.

Operations 5

POST /documents/{documentId}/attachments Create attachment #
GET /documents/{documentId}/attachments List attachments #
GET /documents/{documentId}/attachments/{attachmentId} Retrieve attachment #
PATCH /documents/{documentId}/attachments/{attachmentId} Update attachment #
DELETE /documents/{documentId}/attachments/{attachmentId} Delete attachment #

Documentation

📖
APIReference
https://developer.signicat.com/apis/data-verification/
📖
APIReference
https://developer.signicat.com/apis/digital-evidence-management/
📖
APIReference
https://developer.signicat.com/apis/eid-hub/
📖
APIReference
https://developer.signicat.com/apis/electronic-signing/sign-api-v2/
📖
APIReference
https://developer.signicat.com/apis/electronic-signing/enterprise/
📖
APIReference
https://developer.signicat.com/apis/electronic-signing/express/
📖
APIReference
https://developer.signicat.com/apis/archive/
📖
APIReference
https://developer.signicat.com/apis/id-document-and-biometric-verification/
📖
APIReference
https://developer.signicat.com/apis/mobileid/
📖
APIReference
https://developer.signicat.com/apis/mobileid-admin/
📖
APIReference
https://developer.signicat.com/apis/ongoing-monitoring/
📖
APIReference
https://developer.signicat.com/apis/person-monitoring/
📖
APIReference
https://developer.signicat.com/apis/reuseid-onboarding/
📖
APIReference
https://developer.signicat.com/apis/reuseid/
📖
APIReference
https://developer.signicat.com/apis/secure-share/
📖
APIReference
https://developer.signicat.com/apis/mint/
📖
APIReference
https://developer.signicat.com/apis/siam/
📖
APIReference
https://developer.signicat.com/apis/audit-logs/
📖
APIReference
https://developer.signicat.com/apis/account-management/
📖
APIReference
https://developer.signicat.com/apis/domain-management/
📖
APIReference
https://developer.signicat.com/apis/events/
📖
APIReference
https://developer.signicat.com/apis/oidc-config/
📖
APIReference
https://developer.signicat.com/apis/usage/

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organization-basic-info-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-person-basic-info-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organization-ownership-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-business-registry-registration-authority-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-geodata-country-info-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-business-registry-registration-authority-item-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-query-request-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-record-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-query-record-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-stats-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-session-data-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-session-request-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-signing-session-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-document-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-post-document-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-paginated-signing-session-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-merchant-sign-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-signing-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-task-status-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-forwarding-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-event-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-artifact-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-packaging-task-status-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-signer-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-update-signer-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-signer-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-document-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-update-signer-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-attachment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-archive-jsonld-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-archive-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-archive-archive-objects-representation-jsonld-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-archive-archive-patch-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-audit-log-jsonld-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-archive-direct-jsonld-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-capture-configuration-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-capture-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-process-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-process-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-process-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-match-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-signature-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-account-recovery-details-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-authentication-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-registration-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-idverification-add-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-application-config-properties-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-application-config-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-account-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-e2-ekey-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-apnstoken-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-account-platform-all-details-statistic-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organisation-data-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-person-response-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-monitor-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organisation-request-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-monitor-changes-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-create-monitor-request-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-monitor-person-get-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-monitor-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-base-monitor-person-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-monitor-get-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-person-changes-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-paged-collection-1-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-device-signature-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-device-registration-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-device-authentication-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-passkey-authentication-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-passkey-registration-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-create-share-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-create-recipient-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-update-recipient-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-update-share-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-share-response-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-recipient-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-journey-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-workflow-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-workflow-template-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-create-workflow-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-update-workflow-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-step-definition-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-user-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-subject-custom-attribute-definition-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-membership-custom-attribute-definition-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-group-custom-attribute-definition-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-membership-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organization-list-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-audit-log-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-query-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-audit-query-result-audit-log-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-query-metadata-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-query-metadata-response-event-type-properties-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-invoice-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-invoice-list-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organization-read-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-account-read-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organization-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-organization-write-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-domain-read-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-get-metadata-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-domain-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-check-domain-availability-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-domain-patch-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-check-dns-setup-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-subscription-get-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-subscription-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-subscription-event-delivery-attempt-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-subscription-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-event-log-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-page-subscription-list-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-client-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-patch-client-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-public-key-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-signicat-error-template-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-secret-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-custom-claim-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/signicat/json-schema/signicat-usage-set-schema.json

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/signicat:signicat-attachments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

signicat-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signicat Attachments API
  version: v1
  contact: ''
  license: ''
  termsOfService: ''
  description: 'Operations tagged Attachments across 2 of this provider''s published API definitions: signing-express-openapi.json, signicat-signing-express-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.signicat.com/express/sign
tags:
- name: Attachments
paths:
  /documents/{documentId}/attachments:
    post:
      tags:
      - Attachments
      summary: Create attachment
      description: 'Adds an attachments to the specified document. You can choose between different ways to make the user accept the attachment.

        The attachment will be deleted together with the main document when the signature job is completed or has expired'
      parameters:
      - name: documentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/AttachmentRequest'
            example:
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
              type: show_accept
          application/json:
            schema:
              $ref: '#/components/schemas/AttachmentRequest'
            example:
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
              type: show_accept
          text/json:
            schema:
              $ref: '#/components/schemas/AttachmentRequest'
            example:
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
              type: show_accept
          application/*+json:
            schema:
              $ref: '#/components/schemas/AttachmentRequest'
            example:
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
              type: show_accept
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
              example:
                id: c0dac803-fb03-4307-ba98-0951839966a0
                fileName: Attachment1.pdf
                title: Attachment 1 - Type description
                convertToPdf: false
                description: This attachment describes bla bla bla...
                type: show_accept
            text/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
              example:
                id: c0dac803-fb03-4307-ba98-0951839966a0
                fileName: Attachment1.pdf
                title: Attachment 1 - Type description
                convertToPdf: false
                description: This attachment describes bla bla bla...
                type: show_accept
        '201':
          description: ''
      operationId: postDocumentsByDocumentIdAttachments
      x-operation-id-source: derived
    get:
      tags:
      - Attachments
      summary: List attachments
      description: Returns a list of all attachments for the specified document.
      parameters:
      - name: documentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AttachmentListItem'
              example:
              - id: b9bf8b02-8e5a-4dc0-8b02-a87d565d2cc1
                title: Attachment 1 - Type description
                description: This attachment describes bla bla bla...
                type: show_accept
                fileName: Attachment1.pdf
              - id: 68a5c9de-2be5-4fc7-bae8-4f5e90310c48
                title: Attachment 2 - Building sketches
                description: This attachment includes sketches of the build at...
                type: show_accept
                fileName: Attachment2.pdf
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AttachmentListItem'
              example:
              - id: b9bf8b02-8e5a-4dc0-8b02-a87d565d2cc1
                title: Attachment 1 - Type description
                description: This attachment describes bla bla bla...
                type: show_accept
                fileName: Attachment1.pdf
              - id: 68a5c9de-2be5-4fc7-bae8-4f5e90310c48
                title: Attachment 2 - Building sketches
                description: This attachment includes sketches of the build at...
                type: show_accept
                fileName: Attachment2.pdf
      operationId: getDocumentsByDocumentIdAttachments
      x-operation-id-source: derived
    servers:
    - url: https://api.signicat.com/express/sign
  /documents/{documentId}/attachments/{attachmentId}:
    get:
      tags:
      - Attachments
      summary: Retrieve attachment
      description: Retrieves the details of a single attachment.
      parameters:
      - name: documentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      - name: attachmentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
              example:
                id: 9443bf34-3d14-420c-a982-26dfee00e996
                fileName: Attachment1.pdf
                title: Attachment 1 - Type description
                convertToPdf: false
                description: This attachment describes bla bla bla...
                type: show_accept
            text/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
              example:
                id: 9443bf34-3d14-420c-a982-26dfee00e996
                fileName: Attachment1.pdf
                title: Attachment 1 - Type description
                convertToPdf: false
                description: This attachment describes bla bla bla...
                type: show_accept
      operationId: getDocumentsByDocumentIdAttachmentsByAttachmentId
      x-operation-id-source: derived
    patch:
      tags:
      - Attachments
      summary: Update attachment
      description: Updates the specified attachment (Will only take affect if no one has signed the document yet)
      parameters:
      - name: documentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      - name: attachmentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/UpdateAttachmentRequest'
            example:
              type: show_accept
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAttachmentRequest'
            example:
              type: show_accept
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateAttachmentRequest'
            example:
              type: show_accept
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateAttachmentRequest'
            example:
              type: show_accept
              fileName: Attachment1.pdf
              title: Attachment 1 - Type description
              data: Base 64 encoded pdf
              convertToPdf: false
              description: This attachment describes bla bla bla...
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
              example:
                id: f773d437-6f71-4849-9982-43eebe07f68f
                fileName: Attachment1.pdf
                title: Attachment 1 - Type description
                convertToPdf: false
                description: This attachment describes bla bla bla...
                type: show_accept
            text/json:
              schema:
                $ref: '#/components/schemas/AttachmentResponse'
              example:
                id: f773d437-6f71-4849-9982-43eebe07f68f
                fileName: Attachment1.pdf
                title: Attachment 1 - Type description
                convertToPdf: false
                description: This attachment describes bla bla bla...
                type: show_accept
      operationId: patchDocumentsByDocumentIdAttachmentsByAttachmentId
      x-operation-id-source: derived
    delete:
      tags:
      - Attachments
      summary: Delete attachment
      description: Deletes the specified attachment (Will only take affect if no one has signed the document yet)
      parameters:
      - name: documentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      - name: attachmentId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      operationId: deleteDocumentsByDocumentIdAttachmentsByAttachmentId
      x-operation-id-source: derived
    servers:
    - url: https://api.signicat.com/express/sign
components:
  schemas:
    AttachmentListItem:
      type: object
      properties:
        id:
          type: string
          description: The attachment's unique identifier.
          format: uuid
        title:
          type:
          - string
          - 'null'
          description: The title of the attachment which will be presented to the user.
        description:
          type:
          - string
          - 'null'
          description: An optional description of the attachment.
        type:
          $ref: '#/components/schemas/AttachmentType'
        fileName:
          type:
          - string
          - 'null'
          description: Filename with file extension. <span style="color:red;">We only support PDF for attachments, set `convertToPdf` to `true` if you have a convertible file type.</span>
      additionalProperties: false
    AttachmentResponse:
      required:
      - fileName
      - title
      type: object
      properties:
        id:
          type: string
          description: The attachment's unique identifier.
          format: uuid
        fileName:
          maxLength: 200
          minLength: 0
          type: string
          description: Filename with file extension. <span style="color:red;">We only support PDF for attachments, set `convertToPdf` to `true` if you have a convertible file type.</span>
        title:
          maxLength: 300
          minLength: 0
          type: string
          description: The title of the attachment which will be presented to the user.
        convertToPdf:
          type: boolean
          description: Determines if the attachment should be converted to PDF. See our documentation for supported file types.
        signers:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
          description: An optional list of signers that should be able to see / sign the attachment.
        description:
          type:
          - string
          - 'null'
          description: An optional description of the attachment.
        type:
          $ref: '#/components/schemas/AttachmentType'
      additionalProperties: false
    AttachmentType:
      enum:
      - show_accept
      - read_accept
      - sign
      type: string
    UpdateAttachmentRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/AttachmentType'
        fileName:
          maxLength: 200
          minLength: 0
          type:
          - string
          - 'null'
          description: Filename with file extension. <span style="color:red;">We only support PDF for attachments, set `convertToPdf` to `true` if you have a convertible file type.</span>
        title:
          maxLength: 300
          minLength: 0
          type:
          - string
          - 'null'
          description: The title of the attachment which will be presented to the user.
        data:
          type:
          - string
          - 'null'
          description: Base64-encoded attachment (UTF-8-encoded)
        convertToPdf:
          type: boolean
          description: Determines if the attachment should be converted to PDF. See our documentation for supported file types.
        signers:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
          description: An optional list of signers that should be able to see / sign the attachment.
        description:
          type:
          - string
          - 'null'
          description: An optional description of the attachment.
      additionalProperties: false
    AttachmentRequest:
      required:
      - data
      - fileName
      - title
      type: object
      properties:
        fileName:
          maxLength: 200
          minLength: 0
          type: string
          description: Filename with file extension. <span style="color:red;">We only support PDF for attachments, set `convertToPdf` to `true` if you have a convertible file type.</span>
        title:
          maxLength: 300
          minLength: 0
          type: string
          description: The title of the attachment which will be presented to the user.
        data:
          minLength: 1
          type: string
          description: Base64-encoded attachment (UTF-8-encoded)
        convertToPdf:
          type: boolean
          description: Determines if the attachment should be converted to PDF. See our documentation for supported file types.
        signers:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
          description: An optional list of signers that should be able to see / sign the attachment.
        description:
          type:
          - string
          - 'null'
          description: An optional description of the attachment.
        type:
          $ref: '#/components/schemas/AttachmentType'
      additionalProperties: false
x-refined-from:
- signing-express-openapi.json
- signicat-signing-express-openapi.yml