My App
Api
PUT
/translations/{translationId}
x-api-key<token>

API key from the LangRelay dashboard. Org-level keys can access all projects; project-scoped keys are restricted to one project.

In: header

Path Parameters

translationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

translatedText*string

Response Body

application/json

curl -X PUT "https://api.langrelay.com/v1/translations/string" \  -H "Content-Type: application/json" \  -d '{    "translatedText": "string"  }'
{
  "id": "translation_xyz789",
  "segmentId": "string",
  "sourceText": "Hello world",
  "language": "fr",
  "translatedText": "Bonjour le monde",
  "source": "ai",
  "confidence": 0.95,
  "approved": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}