Translate documents
Upload and translate a document
POST
Authorizations
Authentication with Authorization
header and DeepL-Auth-Key
authentication scheme
Body
multipart/form-data
Response
200
application/json
The document function returns a JSON object containing the ID and encryption key assigned to the uploaded document. Once received by the server, uploaded documents are immediately encrypted using a uniquely generated encryption key. This key is not persistently stored on the server. Therefore, it must be stored by the client and sent back to the server with every subsequent request that refers to this particular document.
The response is of type object
.