Export translations
Exports all translations for a project. This is the **primary endpoint for CI/CD and programmatic access**. Supports API key authentication via the `Authorization: Bearer <key>` header. Returns translations in JSON or PO format, optionally as a ZIP file.
Unkey API key. Create one via POST /api/projects/{project-id}/keys. Keys are prefixed with loko_. Supported on all project-scoped endpoints.
In: header
Path Parameters
Project ID
uuidQuery Parameters
Export format
"json"Value in
- "json"
- "po"
Return as ZIP file instead of JSON
falseResponse Body
application/json
application/json
curl -X GET "https://example.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/translations"{ "en": { "common.json": { "greeting": "Hello", "farewell": "Goodbye" } }, "es": { "common.json": { "greeting": "Hola", "farewell": "Adios" } }}Disconnect Bitbucket
Disconnects the Bitbucket integration by clearing all stored Bitbucket fields. Requires `canEditProjects` permission.
Get Bitbucket config
Returns the current Bitbucket integration status and configuration. Does not return the access token. Requires `canViewTranslations` permission.