Skip to main content
POST

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

multipart/form-data
file
file
required

TXT, DOCX, or searchable PDF document (max 20MB)

target
string
required

Target BCP-47 language code

Example:

"es"

source
string

Optional source BCP-47 language code. Auto-detected when omitted.

Example:

"en"

Response

Translated document in the source file format

The response is of type file.