Skip to main content
GET
/
api
/
public
/
prismy-hosted
/
{repo_id}
/
{language}
/
{bundleName}
Get translation file
curl --request GET \
  --url https://app.prismy.io/api/public/prismy-hosted/{repo_id}/{language}/{bundleName} \
  --header 'Authorization: Bearer <token>'
{
  "welcome": "Welcome",
  "goodbye": "Goodbye"
}

Authorizations

Authorization
string
header
required

API token from your organization settings

Path Parameters

repo_id
string
required

Repository identifier

language
string
required

Language code (e.g., en-US, fr-FR, es-ES)

bundleName
string
required

Bundle name or ID

Query Parameters

branch
string

Target branch name. Defaults to the repository's main branch

Response

Translation file retrieved successfully. Returns an empty object {} if the file doesn't exist.

{key}
string
I