> For the complete documentation index, see [llms.txt](https://doc.faceplugin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.faceplugin.com/products/id-document-recognition-sdk/recognition-and-liveness/server-sdk.md).

# Server

Faceplugin document verification API for Windows and Linux Docker. On-premise passport OCR, MRZ, and authenticity HTTP on port 8082. documentRecognition and documentProcess.

ID Document Recognition as an HTTP API on **your** machine. Send page images; receive OCR, MRZ, barcode, image quality, and optional authenticity JSON.

Typical call order: `GET /api/machinecode` → send machine code → `POST /api/activate` → `POST /api/documentRecognition` / `documentLiveness` / `documentProcess`. Default port **8082**.

Parse results with [Document result JSON](/products/id-document-recognition-sdk/document-result-json.md). Authenticity field names: [Document security check fields](/products/id-document-recognition-sdk/document-security-check-fields.md).

Authenticity **without** OCR is a separate product: [ID Document Liveness SDK](/products/id-document-recognition-sdk/id-document-liveness-sdk.md).

For on-device capture, use [Mobile SDK](/products/id-document-recognition-sdk/recognition-and-liveness/mobile-sdk.md).

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><strong>Linux SDK</strong></td><td>Docker image faceplugin/document-reader. Same HTTP API as Windows.</td><td><a href="https://2098903383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOVPhdobVzMJATKJFiDsH%2Fuploads%2Fgit-blob-0f5cb3cdee8ca0578139512c4b8f6ad8d172d7e2%2Flinux-docker.png?alt=media">linux-docker.png</a></td><td><a href="/products/id-document-recognition-sdk/recognition-and-liveness/server-sdk/id-document-recognition-linux-sdk.md">Linux</a></td></tr><tr><td></td><td><strong>Windows SDK</strong></td><td>HTTP API on port 8082. No Docker on Windows.</td><td><a href="https://2098903383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOVPhdobVzMJATKJFiDsH%2Fuploads%2Fgit-blob-59325fc91dbc615d2a269f4ff990bc5c6c3f6697%2Fwindows.png?alt=media">windows.png</a></td><td><a href="/products/id-document-recognition-sdk/recognition-and-liveness/server-sdk/id-document-recognition-windows-sdk.md">Windows</a></td></tr><tr><td></td><td><strong>Node SDK</strong></td><td>HTTP API on port 8082. Optional native libDocSDK.</td><td><a href="https://2098903383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOVPhdobVzMJATKJFiDsH%2Fuploads%2Fgit-blob-8dabcc15bc251df0287d02213e1a5efe43ded616%2Fjavascript.png?alt=media">javascript.png</a></td><td><a href="/products/id-document-recognition-sdk/recognition-and-liveness/server-sdk/id-document-recognition-node-sdk.md">Node.js</a></td></tr></tbody></table>

```mermaid
flowchart LR
  PageImage --> documentProcess
  documentProcess --> OCR_MRZ
  OCR_MRZ --> Authenticity
  Authenticity --> JSON
```

### FAQ

**Is this a document verification API?** Yes. Port **8082**: `POST /api/documentRecognition`, `/api/documentLiveness`, `/api/documentProcess`.

**Passport OCR without authenticity?** Use `documentRecognition`. Authenticity-only is [ID Document Liveness](/products/id-document-recognition-sdk/id-document-liveness-sdk.md) on port **8086**.

### Related documentation

* [Capabilities](/products/id-document-recognition-sdk/capabilities.md) · [Faceplugin ID Document Recognition Mobile SDK](/products/id-document-recognition-sdk/recognition-and-liveness/mobile-sdk.md) · [ID Document Recognition SDK](/products/id-document-recognition-sdk.md) · [Glossary](/help/resources/glossary.md)
* [ID Document Liveness Server SDK](/products/id-document-recognition-sdk/id-document-liveness-sdk/server-sdk.md)
* [Document result JSON](/products/id-document-recognition-sdk/document-result-json.md)
* [Request a License](/help/request-a-license-and-support.md) · [Status codes](/help/resources/status-codes.md)
* [Combining products (eKYC)](/getting-started/choose-a-product.md) · [SDK comparison](/help/comparisons.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.faceplugin.com/products/id-document-recognition-sdk/recognition-and-liveness/server-sdk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
