---
title: "Get template translation keys"
method: GET
path: "/templates/translation_keys/{uid}"
tags: ["Templates"]
---

# Get template translation keys

`GET /templates/translation_keys/{uid}`

Get translation keys for a specific template. Returns all translatable text keys found in the template structure.

## Path parameters

- `uid` string, required

## Query parameters

- `format` 'full' | 'compact'

## Response `200`

successful operation

- object
  - `status` string
  - `translation_keys` object[] — Array of translation keys (when format=full)
    - `key` string — Translation key
    - `title` string — Default title text
    - `prop_key` string — Property key if different from main key
  - `translations` object — Key-value pairs of translations (when format=compact)

## Other responses

- `400` — Bad request - missing UID parameter or template not found

---

[API](https://skmtc.net/worldbank/apis/metadata-editor-api.md) · [All operations](https://skmtc.net/worldbank/apis/metadata-editor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldbank/metadata-editor-api/revisions/f4c8258bab5a/schema)
