Copy a document into another collection
POSThttps://platform.docana.com/api/v1/documents/:id/export/
Takes the source document id as the id path parameter and a JSON body { collectionId } (destination collection). Failure responses other than the invalid-id 400 are plain-text bodies.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The copied document
Invalid document id (standard shape) or missing collectionId (plain-text body)
The API key or session is missing, expired, or malformed.
No write permission on the destination collection (plain-text body)
Source document not found (plain-text body)
Unexpected server error.