Skip to main content
POST
Import Workspace Document from URL
Import a remote document URL directly into your workspace document library.

Authentication & Scope

Requires documents-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.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

workspaceId
integer
required

Body

application/json
url
string<uri>
required
filename
string

Response

Reused existing document by content hash

document
object
dedup
object
document_ref
object