Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
locales
/
{locale}
cURL
curl --request GET \
  --url https://{deployment}.convex.site/v1/projects/{projectId}/locales/{locale}
{
  "greeting": "Hallo"
}

Path Parameters

projectId
string
required
Minimum string length: 1
Example:

"proj_abc123"

locale
string
required
Minimum string length: 1
Example:

"nl-NL"

Query Parameters

format
enum<string>
Available options:
flat,
nested
Example:

"flat"

fallback
string
Example:

"en"

version
number | null
Example:

4

Response

200 - application/json

Translation JSON content

The response is of type object.