Document AI — DMS

Get document OCR text

Returns the OCR-extracted text of a document. Contains text per page with confidence scoring.

get/documents/ocr-get

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/documents/ocr-get
  • Auth: HTTP bearer

Query parameters

pofidstring required

PaperOffice File Document ID

localestring

OCR language/locale hint (e.g. de-DE). Omit for auto-detect.

pageinteger

1-based page number (omit for full-document OCR text).

include_bounding_boxesboolean

When true, include OCR bounding-box coordinates per text block.

format'json' | 'text'

Response shape: json (structured OCR pages, default) or text (plain text without layout).

Response

Success

processing_timestring required

Verarbeitungszeit (Format: 123.45ms)

Changes

No recorded changes to this operation across all 1 revision of this API.