Tenant/Product

Trigger auto-translation for new languages on selected platforms

Enqueues AI auto-translation of the given languages for the chosen platforms. One event is fired per (platform x language), skipping each platform's own base language.

POST
/api/v2/products/auto-translate

Authorization

BearerAuthObject
AuthorizationBearer <token>

Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v2/products/auto-translate" \  -H "Content-Type: application/json" \  -d '{    "languageIds": [      2,      3,      4    ],    "projectTypeIds": [      10,      11    ]  }'
{  "message": "Accepted"}
Empty
Empty
Empty