Skip to main content
POST
/
translate
Translate content to a target language
curl --request POST \
  --url https://api.qtzl.ai/translate \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "content": "<string>",
  "target": "<string>",
  "format": "text"
}'
{
  "result": "ok",
  "message": "Translated successfully",
  "translation": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
content
string
required
target
string
required
format
enum<string>
default:text
Available options:
text,
html

Response

result
string
Example:
message
string
Example:
translation
string