---
title: "Upload Document from URL"
method: POST
path: "/api/mcp/v1/knowledge/documents/url"
tags: ["Knowledge Base & RAG"]
---

# Upload Document from URL

`POST /api/mcp/v1/knowledge/documents/url`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/mcp/v1/knowledge/documents/url`
- Auth: HTTP bearer

Download and add a document from a URL.

## Request body

- object
  - `url` string: URL of the document
  - `title` string: Document title (defaults to filename)
  - `team_id` integer
  - `category_id` integer

## Response `200`

Successful response

- unknown

## Other responses

- `401`: Unauthenticated
- `422`: Invalid URL or unsupported format

---

[API](https://skmtc.dev/flowdot/apis/flowdot-api.md) · [All operations](https://skmtc.dev/flowdot/apis/flowdot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flowdot/apis/flowdot-api/revisions/93f63cc9c775?raw)
