AI
AI Translate Strings
Required scopes: ai.translate (Read and Write).
post/users/{userId}/ai/translate
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
User Identifier
Request body
Example request
{
"strings": [
"Some text to translate!"
],
"sourceLanguageId": "en",
"targetLanguageId": "uk",
"tmIds": [
123
],
"glossaryIds": [
456
],
"styleGuideIds": [
654
],
"instructions": [
"Keep a formal tone"
],
"attachmentIds": [
123
],
"aiPromptId": 789
}Response
Strings translated successfully
Example response
{
"data": {
"sourceLanguageId": "en",
"targetLanguageId": "uk",
"translations": [
"Перекладений текст 1",
"Перекладений текст 2"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.