Upload a document to the repository. You must provide either a file (multipart upload) or a url to fetch the document from. An optional metadata JSON object can be attached.
Requires the write scope.
Documentation Index
Fetch the complete documentation index at: https://docs.simpledocs.com/llms.txt
Use this file to discover all available pages before exploring further.
Obtain a Bearer token via the Create access token endpoint using the OAuth2 client credentials flow.
The document file to upload. Required if url is not provided.
A public HTTPS URL to fetch the document from. Required if file is not provided. Internal and private network addresses are blocked.
A JSON string with arbitrary metadata to attach to the document.
"{\"department\":\"Legal\",\"category\":\"Vendor\"}"