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"
}

This action is also available via CLI

Download translation files from the command line or CI with prismy pull

See the Prismy Hosted CLI guide.

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

tags
string

Comma-separated list of tag names. When provided, only keys that have any of these tags are returned. Requires Tags feature enabled.

Response

Translation file retrieved successfully. Returns an empty object {} if the file doesn't exist. When the tags query parameter is provided, only keys that have any of the given tags are included.

{key}
string