Import a document from a public URL
Store the file behind a public http(s) URL as a new document in one call (up to 10 MB): Adlass fetches it, so no PUT is needed. Processed like documents.upload_confirm: images are only stored by the reading level (see documents.upload_confirm). file_name defaults to the URL's last path segment; a name taken in the folder answers conflict. For local files use documents.upload_initiate_many (its PUT tickets come in the same call).
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Header Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/documents/import-url" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "space_id": "123e4567-e89b-42d3-a456-426614174000", "source_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example" }'{ "document_id": "123e4567-e89b-42d3-a456-426614174000", "document_status": "UPLOADED", "processing_job_id": "123e4567-e89b-42d3-a456-426614174000", "processing_status": "QUEUED"}