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

# Add document asynchronously

`POST /omni/add/document/async`

Upload document image and store data asynchronously.

## Query parameters

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

## Headers

- `api-version` string, required

## Request body

- Base64ImageOrImgUrlRequest
  - `base64Image` string — Image in base64 format. One of base64Image or imageUrl is required
  - `imageUrl` string — URL of the image. One of base64Image or imageUrl is required

## 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)
