Skip to main content
POST
/
documents
/
withUrl
Create document from URL
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>"
}

Authorizations

x-API-Key
string
header
required

Body

application/json

URL and metadata for the document

url
string
required

External file URL

fileName
string
required

Name for the document

accessGroup
string
required

Access group (service or objectmanager)

Response

Document created from URL

_id
string<objectid>
url
string