CorrectText
Correct text
Changed onFix spelling and grammar errors in one or more texts. Unlike /v2/write/rephrase, this endpoint applies a minimal-change correction pass and does not rewrite the text for style or tone.
post/v2/write/correct
Request
- Base URLhttps://api.deepl.com
- URLhttps://api.deepl.com/v2/write/correct
- AuthAPI key in header Authorization
Request body
Example request
{
"text": [
"this is a example sentence to imprve"
],
"target_lang": "de"
}Response
Successful text correction.
Example response
{
"improvements": [
{
"detected_source_language": "en",
"target_language": "en-US",
"text": "This is a sample sentence to improve."
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info