---
title: "Import documents from a connected source"
method: POST
path: "/documents/import"
tags: ["Document"]
---

# Import documents from a connected source

`POST /documents/import`

Import drive items from a connected source as documents; returns an import token.

## Query parameters

- `cookie_name` string, nullable

## Response `201`

Successful Response

- string, uuid

## Other responses

- `400` — The provided source type is not supported.
- `401` — Missing or invalid authentication.
- `403` — Usage limit exceeded, or caller lacks access to the target entity.
- `404` — The referenced project, chat, assistant, or library does not exist.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/revisions/b53e89b98c2b/schema)
