Send the file bytes for a one-time upload URL
PUThttps://platform.docana.com/api/v1/uploads/:ticket/
Second step of the two-step upload: PUT the raw file bytes to the URL returned by createDocumentUploadUrl. The URL is single-use and expires; no authentication header is required because the URL itself is the credential.
Request
Responses
- 200
- 400
- 401
- 402
- 403
- 404
- 413
- 500
Upload accepted; same envelope as the multipart upload endpoint
Empty request body
The API key or session is missing, expired, or malformed.
Plan budget or quota exhausted (code: "budget-exceeded" or "quota-exceeded-<quota>")
No write permission on the collection
Unknown, expired, or already-used upload URL
File larger than the company plan's document size limit (code: "upload/file-too-large", maxFileSizeInMBytes), or body over the single-request ceiling (code: "upload/request-too-large", maxRequestSizeInMBytes, useChunkedUpload: true): send the file through the chunked protocol
Unexpected server error.