---
title: "Sync template localizations"
method: POST
path: "/templates/{templateId}/localizations/sync"
tags: ["Templates"]
---

# Sync template localizations

`POST /templates/{templateId}/localizations/sync`

Queues AI translation for selected enabled template locales. Omit locales to sync every enabled non-primary locale, even when automatic on-save sync is disabled.

## Path parameters

- `templateId` string, required

## Request body

- object
  - `locales` string[] — Enabled non-primary locale codes to sync. Omit to sync all of them.

## Response `200`

Template localizations queued

- object
  - `success` boolean
  - `templateId` string
  - `queuedLocales` string[]
  - `queuedVariantCount` integer

## Other responses

- `400` — Invalid locales or no enabled non-primary locales
- `401` — Unauthorized
- `404` — Template not found

## Changes

> 121 revisions in range; 9 could not be searched.

- **2026-08-19** `ba3a29c6eb33` — 3 info
  - added the optional property `retryable` to the response with the `400` status
  - added the optional property `retryable` to the response with the `401` status
  - added the optional property `retryable` to the response with the `404` status
- **2026-08-16** `6fd2903b91ce` — 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status
- **2026-08-02** `36f92fc0caa2` — 3 breaking
  - the response property `success` became optional for the status `400`
  - the response property `success` became optional for the status `401`
  - the response property `success` became optional for the status `404`
- **2026-07-15** `8bc13491b9f6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/templates/:templateId/localizations/sync/post.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/73f826277d9a/schema)
