APIChangelogs
Translate a changelog
Queue AI translations of a changelog for one language or all enabled ones. Each translation counts against the workspace's AI budget. Requires the Pro plan and the changelogs:write scope.
POST
/changelogs/{id}/translatecurl -X POST "https://productlane.com/api/v2/changelogs/{id}/translate" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target_language": "string"
}'Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Parameters
idstringpathrequired
Body
application/json
target_languagestringA BCP-47 code, such as
fr. Omit it to queue a translation for every enabled language except the workspace default.
Response
application/json
Successful response
statusenum<string>requiredOne of:queuedtarget_languagestringPresent only when the request sent
target_language.target_languagesstring[]required
{
"status": "queued",
"target_language": "string",
"target_languages": [
"string"
]
}