Skip to content

Get Individual Translation

GET
/api/integrations/translations/{encoded_key}
curl --request GET \
--url https://example.com/api/integrations/translations/example

Get 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”}}

encoded_key
required
Encoded Key
string
x-api-key
Any of:
string

Successful Response

Media typeapplication/json
TranslationResponse

Standard response for all translation requests (namespace and individual).

object
meta
required
TranslationMetaResponse

Response metadata

object
version
required
Version

API version

string
locale
required
Locale

Target locale

string
namespace
required
Namespace

Translation namespace

string
key
Any of:
string
source_context
Any of:
string
generated_at
required
Generated At

ISO timestamp of response generation

string
schema
required
Schema

ICU parameter schema mapping keys to parameter lists

object
key
additional properties
Array<string>
translations
required
Translations

Nested translation structure

object
key
additional properties
any
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

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}