---
title: "Ingest Document"
method: POST
path: "/v1/ingest/document"
tags: ["ingest"]
---

# Ingest Document

`POST /v1/ingest/document`

## Request body

- IngestDocumentRequest
  - `workspace_id` string, uuid, required
  - `source_connection_id` string, uuid, required
  - `source_type` 'gmail' | 'notion' | 'google-drive' | 'company-foundation' | 'voice-session' | 'hubspot' | 'pipedrive' | 'google-calendar' | 'attio' | 'personio' | 'slack' | 'manual' | 'interview' | 'gmail-send' | 'msteams-send', required
  - `external_id` string, required
  - `url` string, nullable
  - `title` string, nullable
  - `author_name` string, nullable
  - `author_email` string, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `content_text` string, required

## Response `200`

Successful Response

- IngestDocumentResponse
  - `document_id` string, uuid, required
  - `status` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
