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
The body is of type object.
object
Document created from URL
The response is of type object.
Was this page helpful?