---
title: "Ingest Document V2"
method: POST
path: "/v2/documents"
tags: ["V2"]
---

# Ingest Document V2

`POST /v2/documents`

## Request

- Base URL: `https://api.morphik.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.morphik.ai/v2/documents`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body `multipart/form-data`

- BodyIngestDocumentV2V2DocumentsPost
  - `file` string, binary, nullable
  - `content` string, nullable
  - `filename` string, nullable
  - `metadata` string
  - `metadata_types` string
  - `folder_path` string, nullable
  - `end_user_id` string, nullable

## Response `200`

Successful Response

- V2IngestResponse
  - `document_id` string, required
  - `filename` string, required
  - `chunk_count` integer, required
  - `status` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `45d77e08d406`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/morphik-org/apis/morphik-api/changes/v2/documents/post.md)

---

[API](https://skmtc.dev/morphik-org/apis/morphik-api.md) - [All operations](https://skmtc.dev/morphik-org/apis/morphik-api/llms.txt) - [OpenAPI document](https://skmtc.dev/morphik-org/apis/morphik-api/revisions/45d77e08d406?raw)
