---
title: "Upload Documents From Url"
method: POST
path: "/api/document/upload-url"
tags: ["document"]
---

# Upload Documents From Url

`POST /api/document/upload-url`

Download and upload documents from URLs to a workspace with encryption.
Documents are queued for processing, parsed, and indexed for vector search.

Requires active subscription (paid/trial/dev) if Stripe is configured.

## Query parameters

- `urls` string[], required — URLs to download documents from
- `workspace_ext_id` string, required
- `shared` boolean — Whether the document should be shared with workspace members
- `config_ext_id` string, nullable — Configuration to use for processing

## Headers

- `workspace-key` string

## Response `200`

Successful Response

- UploadDocumentsResponse — Response for document upload operations. Returns array of document IDs in the same order as uploaded files.
  - `doc_ext_ids` string[], required

## Other responses

- `422` — Validation Error

## Changes

- **2025-12-19** `7073d8652386` — 1 breaking, 1 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the required property `doc_ext_ids` to the response with the `200` status
- **2025-10-28** `849d5e8732f6` — 1 info
  - added the new optional `header` request parameter `workspace-key`
- **2025-10-06** `8d3e894e6c0b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/arbicity/apis/arbi/changes/api/document/upload-url/post.md)

---

[API](https://skmtc.dev/arbicity/apis/arbi.md) · [All operations](https://skmtc.dev/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arbicity/arbi/revisions/1f956ac3d1c1/schema)
