Doola Documents API
List, download and upload a company's formation documents.
List, download and upload a company's formation documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/doola:doola-documents-api"
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.
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: 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