cURL
curl --request POST \ --url http:localhost:3000/v2/documents/withUrl \ --header 'Content-Type: application/json' \ --header 'x-API-Key: <api-key>' \ --data '{ "url": "<string>", "fileName": "<string>", "accessGroup": "<string>" }'
{ "_id": "<string>", "url": "<string>" }
Create a document by providing an external URL. The file will be fetched and stored.
URL and metadata for the document
External file URL
Name for the document
Access group (service or objectmanager)
Document created from URL
Was this page helpful?