Doola Documents API

List, download and upload a company's formation documents.

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 3

GET /v1/partner/companies/{doolaCompanyId}/documents List company documents #
POST /v1/partner/companies/{doolaCompanyId}/documents Upload a company document #
GET /v1/partner/companies/{doolaCompanyId}/documents/{documentId} Get a document download URL #

Specifications

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/doola:doola-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

doola-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: doola Partner Documents API
  description: 'REST API for doola partners to create and manage customers and companies, retrieve formation documents, and look up reference data.


    Authenticate every request with a partner API key in the `Authorization` header. Generate keys and manage your webhook endpoint in the doola Partner Portal.'
  contact:
    name: doola
    url: https://www.doola.com
  version: v1
servers:
- url: https://api.test.doola.com
  description: Sandbox — use test keys (dk_test_…)
- url: https://api.doola.com
  description: Production — use live keys (dk_live_…)
security:
- PartnerApiKey: []
tags:
- name: Documents
  description: List, download and upload a company's formation documents.
paths:
  /v1/partner/companies/{doolaCompanyId}/documents:
    get:
      tags:
      - Documents
      summary: List company documents
      description: 'Returns the documents available for a company (metadata only), newest first. A company accumulates documents over its lifetime and every one of them is listed — several `Mail` scans, several state notices, and so on. The one exception is a document the founder signs: a `SignedSS4` or `SignedForm8821` can be signed again after a correction or a voided session, and only the most recent version of each is returned so there is never any doubt which one is current.'
      operationId: listDocuments
      parameters:
      - name: doolaCompanyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DocumentDto'
      x-mint:
        metadata:
          description: Lists the documents available for a company, newest first, as metadata. Only the latest signed SS-4 and Form 8821 are returned.
    post:
      tags:
      - Documents
      summary: Upload a company document
      description: 'Adds one document to a company you own, sent as `multipart/form-data` with the file in `file` and its type in `documentType`. The file must be a PDF of at most 10MB, whatever the document type, with a name of at most 255 characters; a PDF is recognised from the file''s contents, not from the declared content type. The stored document is returned and from then on appears in the list endpoint and can be downloaded by its `id`. Uploading a document has the same effect as doola receiving it: an `ArticlesOfOrganization` or `EinLetter` upload starts the work that document unlocks, and the matching `document_*_uploaded` webhook is sent for every type except `OTHER`. Idempotent on the `Idempotency-Key` header: retrying the same file with the same key returns the first upload instead of storing a second copy.'
      operationId: uploadDocument
      parameters:
      - name: doolaCompanyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        description: Unique key that makes the upload safe to retry. Reuse the same value to retry; if the upload fails before it is stored, the key is released, so retry with the same value.
        required: true
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                documentType:
                  type: string
                  description: 'What the document is. `ArticlesOfOrganization` is the formation document for both entity types: the Articles of Organization of an LLC, and the Articles or Certificate of Incorporation of a C-Corp. `EinLetter` is the IRS CP 575 or 147C letter; `OTHER` is any other company document.'
                  enum:
                  - ArticlesOfOrganization
                  - EinLetter
                  - OperatingAgreement
                  - CorporateBylaws
                  - OTHER
                file:
                  type: string
                  format: binary
                  description: 'The document: a PDF of at most 10MB.'
              required:
              - documentType
              - file
      responses:
        '201':
          description: Created
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DocumentDto'
        '400':
          description: 'E_DOCUMENT_TYPE_INVALID: `documentType` is not one of the allowed values. E_DOCUMENT_FILE_INVALID: the file is not a PDF, or its name is missing or longer than 255 characters. E_FILE_TOO_LARGE: the file is larger than 10MB. E_REQUEST_BODY_INVALID: the `file` or `documentType` part is missing. E_IDEMPOTENCY_KEY_REQUIRED: the `Idempotency-Key` header is missing.'
        '404':
          description: 'E_COMPANY_NOT_FOUND: no company with this ID for the authenticated partner.'
        '409':
          description: 'E_IDEMPOTENCY_KEY_REUSED: the key was already used for a different upload. E_IDEMPOTENCY_IN_PROGRESS: an upload with the same key is still running.'
      x-mint:
        metadata:
          description: Uploads a PDF of up to 10MB to a company you own and triggers the same work and webhooks as doola receiving it. Idempotent on Idempotency-Key.
  /v1/partner/companies/{doolaCompanyId}/documents/{documentId}:
    get:
      tags:
      - Documents
      summary: Get a document download URL
      description: 'Returns document metadata plus a short-lived, pre-signed `downloadUrl` for the file. Only documents currently returned by the list endpoint can be downloaded: a deleted `documentId`, or the `documentId` of a superseded `SignedSS4` or `SignedForm8821`, responds with 404. Always take the `documentId` from the list endpoint rather than caching one across polls. An `ITIN_PASSPORT` is listed, but its download answers 404 `E_COMPANY_DOCUMENT_NOT_FOUND`.'
      operationId: getDocument
      parameters:
      - name: doolaCompanyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      - name: documentId
        in: path
        description: Document ID returned by the list endpoint.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DocumentDownloadUrlDto'
      x-mint:
        metadata:
          description: Returns a document's metadata and a short-lived, pre-signed download URL. Take the documentId from the list endpoint instead of caching it.
components:
  schemas:
    DocumentDto:
      type: object
      description: Metadata for a company document.
      properties:
        id:
          type: string
          description: Document ID.
        companyId:
          type: string
          description: doola company ID (KSUID) the document belongs to.
        name:
          type: string
          description: File name.
          example: Articles-of-Organization.pdf
        contentType:
          type: string
          description: MIME content type.
          example: application/pdf
        documentType:
          type:
          - string
          - 'null'
          description: Document type — for example ArticlesOfOrganization, EinLetter, Mail, SignedSS4 or SignedForm8821. May be absent for a file whose source provides no type.
          example: ArticlesOfOrganization
        lastModified:
          type: string
          format: date-time
          description: Last modified timestamp (RFC 3339).
          example: '2026-07-06T21:11:56Z'
        createdAt:
          type:
          - string
          - 'null'
          format: date-time
          description: Creation timestamp (RFC 3339). May be null for files whose source provides no creation time.
          example: '2026-07-06T21:11:56Z'
    DocumentDownloadUrlDto:
      type: object
      description: Document metadata plus a short-lived, pre-signed download URL.
      properties:
        id:
          type: string
          description: Document ID.
        companyId:
          type: string
          description: doola company ID (KSUID) the document belongs to.
        name:
          type: string
          description: File name.
          example: Articles-of-Organization.pdf
        contentType:
          type: string
          description: MIME content type.
          example: application/pdf
        documentType:
          type:
          - string
          - 'null'
          description: Document type — for example ArticlesOfOrganization, EinLetter, Mail, SignedSS4 or SignedForm8821. May be absent for a file whose source provides no type.
          example: ArticlesOfOrganization
        lastModified:
          type: string
          format: date-time
          description: Last modified timestamp (RFC 3339).
          example: '2026-07-06T21:11:56Z'
        createdAt:
          type:
          - string
          - 'null'
          format: date-time
          description: Creation timestamp (RFC 3339). May be null for files whose source provides no creation time.
          example: '2026-07-06T21:11:56Z'
        downloadUrl:
          type: string
          description: Short-lived, pre-signed URL to download the file.
  securitySchemes:
    PartnerApiKey:
      type: apiKey
      description: Partner API key. Send the raw key as the `Authorization` header value — e.g. `dk_test_…` in sandbox or `dk_live_…` in production. Generate and rotate keys in the doola Partner Portal.
      name: Authorization
      in: header