API KeysTranslate

Translate

Translate a note into another language. All endpoints below accept an API key (X-API-Key or Authorization: Bearer ntx_...).

Base URL: https://api.notexapp.com

Translate note — POST /v2/create/translate

Translate the content of an existing note into a target language. Returns a task_id — poll Tasks for the result.

Also accepts: user JWT.

Content-Type: application/x-www-form-urlencoded

FieldTypeRequiredDescription
note_idstringrequiredID of the note to translate
languagestringrequiredTarget language code (e.g. "vi", "ja", "fr")
only_summarybooleanoptionalTranslate only the summary section
communitybooleanoptionalTranslate a community note
curl -X POST https://api.notexapp.com/v2/create/translate \
  -H "X-API-Key: ntx_live_..." \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "note_id=665f..." \
  --data-urlencode "language=vi"

Response (200) — returns a task_id:

{
  "status": "PROCESSING",
  "data": {
    "task_id": "b3f1a2c4-...",
    "user_id": "665f..."
  }
}

Poll the task result to get the translated note:

{
  "status": "SUCCESS",
  "data": {
    "note_id": "665f...",
    "title": "Giới thiệu về Machine Learning",
    "summary": "..."
  }
}