Create a one-time document upload URL
POSThttps://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. For files up to ~30MB; larger files should use the multipart endpoint with the resumable chunked protocol.
Request
Responses
- 201
- 400
- 401
- 403
- 500
The upload URL to send the file bytes to
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No write permission on the collection
Unexpected server error.