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

The body is of type object.

Response

201
application/json

Document created from URL

The response is of type object.