---
title: "Add document"
method: POST
path: "/omni/add/document"
tags: ["Document capture"]
---

# Add document

`POST /omni/add/document`

Upload document image and store data.

**Note**: Make sure to put the 'Content-Type' header as 'Content-Type: image/jpeg' or 'Content-Type: image/png'.

## Query parameters

- `type` 'signature' | 'document' | 'medicalDoc' | 'thirdId' | 'contract', required
- `title` string
- `format` 'image' | 'pdf'

## Headers

- `api-version` string, required

## Request body

- string, byte

## Response `200`

OK

- BasicResponse
  - `success` boolean — Flag indicating request passed successfully.
  - `sessionStatus` 'Alive' | 'Closed' | 'Deleted' — Session status

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/incode/apis/incode-omni-api.md) · [All operations](https://skmtc.net/incode/apis/incode-omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/incode/incode-omni-api/revisions/30cd6d926ea3/schema)
