The Upload a Document endpoint allows you to upload a document to the ParDocs API. You can submit the document either as a file or via a URL. This endpoint is used to add new documents for processing or storage.Request Parameters:
file (form-data, optional): The document file you want to upload. Provide this if you are uploading a file directly.
url (form-data, optional): The URL of the document you want to upload. Provide this if you are uploading a document from a URL.
The object can contain either a file or a URL pointing to the document to be analyzed. The properties are mutually exclusive, meaning you should provide either a file or a URL, but not both.