latestOpenAPI 3.0.02026-08-07103189636.5 KB

2a73d11e9b98

Machine Translation (MT)

Machine Translation (MT) using a preconfigured MT or LLM Profile

Machine Translation (MT) using a preconfigured MT or LLM Profile. Input and output text format is HTML.

post/mt-router-api/v2/accounts/{accountUid}/smartling-mt

Path parameters

accountUidstring required

A unique account identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

MTTranslateRequest required— unresolved $ref

Response

OK

Example response

{
  "response": {
    "data": {
      "items": [
        {
          "key": "my-key-1",
          "translationText": "Text zum Übersetzen",
          "mtUid": "m91o03gnvzuh",
          "provider": "AUTO_SELECT_PROVIDER",
          "error": {
            "key": "PROVIDER_UNAUTHORIZED",
            "code": "invalid.credentials",
            "message": "Invalid API Key."
          }
        }
      ]
    }
  }
}