API

Getting Started

  • You can use the API directly via HTTPS requests, or with our Command Line tool and locizer module.
  • The API supports both public and private (API-key protected) endpoints.
  • Depending on your CDN type, the API domain may differ.
Tip: Store your API keys securely and never expose write keys in client-side code or public repositories.

Main Capabilities

  • Fetch translations for any namespace, version, and language
  • Fetch available languages for a project
  • Report missing or used translations (for development workflows)
  • Update or remove translations in bulk
  • Add context or tags to translations

Usage Notes

  • All endpoints use standard HTTP verbs (GET, POST, etc).
  • Most endpoints require your projectId (and sometimes an API key).
  • For large updates, batch your requests (max 1000 keys per request).
  • For production, use only read endpoints or API keys with limited permissions.
  • See the Going to production guide for best practices.

API Endpoint Explorer

Browse all available endpoints grouped by category. Click an endpoint for details and usage examples.

Domain:🌐 Applies to all endpoints
Global API Key:πŸ”’ Used for all endpoints that require authorization

CDN

Endpoints for CDN resource fetching.

  • GET/{projectId}/{version}/{language}/{namespace}β–Ά

    Fetch namespace resources

  • GET/private/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Fetch private namespace resources

  • GET/languages/{projectId}β–Ά

    Fetch the available languages

Translations

Fetch, update, report missing/used translations, and manage translation content.

  • POST/missing/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Missing translations

  • POST/update/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Update or remove translations

  • POST/used/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Report used translations

Namespaces

Manage translation namespaces: create, rename, delete, and fetch namespace resources.

  • POST/create/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Create a new namespace in a specific language

  • POST/create/{projectId}/{version}/{namespace}πŸ”’β–Ά

    Create a new namespace in the reference language

  • DELETE/delete/{projectId}/{version}/{namespace}πŸ”’β–Ά

    Delete a namespace from all languages

  • GET/download/{projectId}πŸ”’β–Ά

    List all namespace resources (all versions)

  • GET/download/{projectId}/{version}πŸ”’β–Ά

    List all namespace resources for a version

  • GET/download/{projectId}/{version}/{language}πŸ”’β–Ά

    List all namespace resources for a language

  • GET/download/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Get a specific namespace resource

  • GET/pull/{projectId}/{version}/{language}/{namespace}πŸ”’β–Ά

    Fetch/filter the (unpublished) namespace resources

  • POST/rename/{projectId}/{version}/{namespace}/{toNamespace}πŸ”’β–Ά

    Rename a namespace in all languages

Languages

Manage project languages: add, remove, update, and list available languages.

  • POST/language/{projectId}/{language}πŸ”’β–Ά

    Add a new language to a project

  • DELETE/language/{projectId}/{language}πŸ”’β–Ά

    Remove language

  • PUT/language/{projectId}πŸ”’β–Ά

    Update languages for a project

  • POST/copy/{projectId}/version/{fromVersion}/{version}/{language}πŸ”’β–Ά

    Copy a language from one version to another

Versions

Versioning: copy, publish, add, remove, and manage translation versions.

  • POST/version/{projectId}/{version}πŸ”’β–Ά

    Add a new version to a project

  • DELETE/version/{projectId}/{version}πŸ”’β–Ά

    Remove a version

  • POST/copy/{projectId}/version/{fromVersion}/{version}πŸ”’β–Ά

    Copy all translations from one version to another

  • POST/publish/{projectId}/{version}πŸ”’β–Ά

    Publish a version

Users

User and invitation management for projects.

  • GET/users/{projectId}πŸ”’β–Ά

    Fetch users

  • POST/invite/{projectId}πŸ”’β–Ά

    Invite new users

Tenants

Multi-tenant project management.

  • GET/tenants/{projectId}πŸ”’β–Ά

    List all tenants of project

  • POST/tenant/create/{projectId}πŸ”’β–Ά

    Create a new tenant project

  • PUT/tenant/update/{projectId}/{tenantProjectId}πŸ”’β–Ά

    Update tenant project settings

  • POST/tenant/subscribe/{projectId}/{tenantProjectId}πŸ”’β–Ά

    Subscribe tenant project

Branches

Branching and branch management for projects.

  • DELETE/branch/{projectId}πŸ”’β–Ά

    Delete a branch project

  • GET/branches/{projectId}πŸ”’β–Ά

    List all branches of project

  • POST/branch/merge/{projectId}πŸ”’β–Ά

    Merge a branch

  • POST/branch/create/{projectId}/{version}πŸ”’β–Ά

    Create a new branched project

Statistics

Project and user statistics endpoints.

  • GET/stats/project/{projectId}πŸ”’β–Ά

    Statistics: project

  • GET/stats/user/{projectId}/{userId}πŸ”’β–Ά

    Statistics: user

  • GET/stats/users/{projectId}πŸ”’β–Ά

    Statistics: user

Projects

Other project related stuff.

  • GET/jobs/{projectId}/{jobId}πŸ”’β–Ά

    Get async job status

  • GET/tags/{projectId}πŸ”’β–Ά

    Fetch configured project tags