Authentication & Scope
Requiresdocuments-write.
Request
Response
201 Created when new, 200 OK when reused by sha256.
URL is provenance metadata only. Deduplication is content-based within the workspace.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Import a document by URL with workspace-level content deduplication.
documents-write.
POST /workspaces/12/documents:importUrl HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
Content-Type: application/json
{
"url": "https://example.com/invoice.pdf",
"filename": "invoice.pdf"
}
201 Created when new, 200 OK when reused by sha256.
