RephraseText
Improve text
Changed onRewrite one or more texts to improve fluency and readability, optionally targeting a specific writing style or tone. Use the correct endpoint instead when you want a minimal spelling and grammar pass rather than broader rewriting.
post/v2/write/rephrase
Request
- Base URLhttps://api.deepl.com
- URLhttps://api.deepl.com/v2/write/rephrase
- AuthAPI key in header Authorization
Request body
Example request
{
"text": [
"this is a example sentence to imprve"
],
"target_lang": "de"
}Response
Successful text improvement.
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