Middesk subpackage_documents API

The subpackage_documents API from Middesk — 3 operation(s) for subpackage_documents.

Operations 3

GET /v1/businesses/{business_id}/documents List documents for a business #
GET /v1/documents/{id} Get a document #
GET /v1/documents/{id}/download_url Get document download URL #

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/middesk-subpackage-documents-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

middesk-subpackage-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Middesk subpackage_actions Subpackage Documents API
  version: 1.0.0
servers:
- url: https://api.middesk.com
  description: Default
tags:
- name: subpackage_documents
paths:
  /v1/businesses/{business_id}/documents:
    get:
      operationId: list-documents
      summary: List documents for a business
      tags:
      - subpackage_documents
      parameters:
      - name: business_id
        in: path
        description: Business ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: documents found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_documents_ListDocumentsResponse'
        '404':
          description: business not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
  /v1/documents/{id}:
    get:
      operationId: get-document
      summary: Get a document
      tags:
      - subpackage_documents
      parameters:
      - name: id
        in: path
        description: Document ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: document found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__Document'
        '404':
          description: document not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
  /v1/documents/{id}/download_url:
    get:
      operationId: get-document-download-url
      summary: Get document download URL
      tags:
      - subpackage_documents
      parameters:
      - name: id
        in: path
        description: Document ID
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: download URL returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_documents_GetDocumentDownloadUrlResponse'
        '404':
          description: document not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
components:
  schemas:
    type__ErrorResponseErrorsItem:
      type: object
      properties:
        message:
          type: string
      required:
      - message
      title: ErrorResponseErrorsItem
    type__ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/type__ErrorResponseErrorsItem'
      required:
      - errors
      title: ErrorResponse
    type__DocumentObject:
      type: string
      enum:
      - document
      title: DocumentObject
    type__DocumentSource:
      type: object
      properties:
        type:
          type: string
          description: Source type (e.g., registration)
        id:
          type: string
          format: uuid
          description: Source record ID
        metadata:
          type: object
          additionalProperties:
            description: Any type
          description: Additional source metadata
      title: DocumentSource
    type__Document:
      type: object
      properties:
        object:
          $ref: '#/components/schemas/type__DocumentObject'
        id:
          type: string
          format: uuid
        document_type:
          type: string
          description: 'Type of document. Common values include: Initial_Filing, Certificate of Good Standing, Articles of Incorporation, Initial Filing (UCC1), Amendment (UCC3)'
        filename:
          type: string
          description: Name of the document file
        content_type:
          type: string
          description: MIME type of the document
        size:
          type: integer
          description: File size in bytes
        download_url:
          type: string
          format: uri
          description: URL to download the document
        created_at:
          type: string
          format: date-time
        source:
          $ref: '#/components/schemas/type__DocumentSource'
        filing_date:
          type:
          - string
          - 'null'
          format: date-time
        metadata:
          type: object
          additionalProperties:
            description: Any type
          description: Additional document metadata
      required:
      - object
      - id
      - document_type
      - filename
      - content_type
      - size
      - download_url
      - created_at
      title: Document
    type_documents_ListDocumentsResponse:
      type: object
      properties:
        object:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/type__Document'
      title: ListDocumentsResponse
    type_documents_GetDocumentDownloadUrlResponse:
      type: object
      properties:
        data:
          type: string
          format: uri
      title: GetDocumentDownloadUrlResponse
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer