Developer Hub

DocuShell API Docs

DocuShell gives developers, freelancers, and businesses one async API surface for parsing PDFs, rendering documents, capturing webpages, compressing files, and converting PDFs to Word.

Overview
View as Markdown

Base URL

https://api.docushell.com/api

Use this as the API client base, then call /v1/... routes from your server or automation.

Auth

Bearer + Idempotency-Key

Bearer authentication is required. Idempotency is optional but recommended for every submit call.

Job flow

queued -> processing -> done

Submit work, poll /v1/jobs/:jobId, then stream artifacts or files from the shared download route.

Section

Endpoint Inventory

The complete public API surface. Every route uses the same auth and the same queued job flow.

MethodPathPurpose
POST/v1/parseQueue one PDF parse job with JSON, Markdown, HTML, text, and annotated PDF artifacts.
POST/v1/parse/batchAccept an async batch of PDFs with shared parse options, required idempotency, per-file artifacts, and terminal batch status.
GET/v1/parse/batch/:batchIdPoll parse batch status, per-file statuses, usage, expiry, webhook delivery state, and artifact links.
GET/v1/parse/batch/:batchId/downloadGenerate and stream a ZIP containing completed file artifacts for the batch.
GET/v1/parse/batch/:batchId/files/:fileId/download?format=json|markdown|html|text|annotated_pdf|markdown_with_html|markdown_with_images|tagged_pdfDownload one requested artifact for one completed file in a batch.
POST/v1/resume/parseQueue ATS-focused resume parsing with candidate, contact, section, skills, keyword, confidence, and warning fields.
POST/v1/markdown-to-pdfRender Markdown into a PDF.
POST/v1/url/renderCapture a public webpage as a PDF.
POST/v1/pdf/compressCompress one or more uploaded PDFs.
POST/v1/pdf/to-wordConvert a PDF into a DOCX file.
GET/v1/jobs/:jobIdPoll a queued job until it reaches a terminal state.
GET/v1/jobs/:jobId/downloadDownload the final file for non-parse jobs.
GET/v1/jobs/:jobId/download?format=json|markdown|html|text|annotated_pdf|markdown_with_html|markdown_with_images|tagged_pdfDownload parse artifacts directly.

Section

Credit Costs

Charged on submit. Failed validation, auth failures, and rate-limited requests cost nothing.

EndpointCredits
POST /v1/parsemax(10, pages) — 1 per page, minimum 10
POST /v1/parse/batchmax(10, selected_pages) per file, estimated only
POST /v1/resume/parse15 flat
POST /v1/markdown-to-pdf5 flat
POST /v1/url/render25 flat
POST /v1/pdf/compress5 up to 50 MB, 10 above
POST /v1/pdf/to-wordmax(20, pages × 2)