Upload an organization document
Upload a document to an organization.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.
Path parameters
orgId
Organization that will store the document.
Headers
X-Account-Id
Account that owns the organization.
Request
This endpoint expects a multipart form containing a file.
file
Document to upload. Supported file types: pdf, docx, pptx, odt, odp, txt, md, rst, adoc, org, html, csv, epub. File size limits apply.
folder
Target folder name. Must already exist. Defaults to custom-documents when omitted.
Response
The uploaded and processed document.
document
The stored document, in the lean shape.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
500
Internal Server Error

