Skip to main content

Create a one-time document upload URL

POST 

https://platform.docana.com/api/v1/uploads/

The two-step upload for callers that cannot send multipart/form-data (MCP hosts, plain scripts): this operation returns a short-lived, single-use URL, and sending the raw file bytes to it with PUT ingests the file into the collection exactly like a regular upload. The URL inherits the permissions of whoever created it. The response reports two ceilings: maxFileSizeInMBytes, the company plan's document size limit, and maxRequestSizeInMBytes, the most one request may carry through the infrastructure in front of the platform. A file between the two must go through the resumable chunked protocol of uploadCollectionDocuments (see the getDocanaHelp uploads guide): the upload URL itself only enforces the plan limit, so a bigger body is refused by the edge, not by a JSON 413 from the platform.

Request

Responses

The upload URL to send the file bytes to