Get Individual Translation
const url = 'https://example.com/api/integrations/translations/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/integrations/translations/exampleGet individual translation by encoded key.
Supports the LionRapid individual key lookup pattern.
Args: encoded_key: URL-encoded translation key (e.g., “en%3Aapp%3Awelcome”) api_key: Integration API key for authentication
Returns: Single translation result
HTTP Status: - 200: Translation found and ready - 404: Translation doesn’t exist - 423: Translation exists but not ready for delivery
Raises: authentication_error: Invalid API key (401) validation_error: Invalid key format (400) translation_locked: Translation exists but not ready (423) not_found: Translation not found (404)
Example: GET /translations/en%3Aapp%3Auser.profile.name → Returns: {“meta”: {…}, “schema”: {…}, “translations”: {“user.profile.name”: “Name”}}
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Standard response for all translation requests (namespace and individual).
object
Response metadata
ICU parameter schema mapping keys to parameter lists
object
Nested translation structure
object
Example
{ "meta": { "generated_at": "2025-10-02T12:00:00Z", "locale": "en", "namespace": "app", "source_context": "eng", "version": "1.0.0" }, "schema": { "item": [ "count" ], "user.profile.name": [], "welcome": [] }, "translations": { "item": "{count, plural, =0 {no items} one {# item} other {# items}}", "user": { "profile": { "email": "Email Address", "name": "Name" } }, "welcome": "Welcome to our app!" }}Validation Error
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}