v1

latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KB
Projects

Update a project

Update an existing project.

patch/projects/{id}

Path parameters

idstring required

ID

Headers

X-PhraseApp-OTPstring

Two-Factor-Authentication token (optional)

Request body

account_idstring

(Optional) ID of an account the requesting user belongs to. Used only to disambiguate the request context; the project itself cannot be moved between accounts through this endpoint.

namestring

(Optional) Name of the project

point_of_contactstring

(Optional) User ID of the point of contact for the project. Pass null to unset.

main_formatstring

(Optional) Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see Format Guide or our Formats API Endpoint.

mediastring

(Optional) Main technology stack used in the project. It affects for example the suggested placeholder style. Predefined values include: Ruby, JavaScript, AngularJS, React, iOS, Android, Python, PHP, Java, Go, Windows Phone, Rails, Node.js, .NET, Django, Symfony, Yii Framework, Zend Framework, Apple App Store Description, Google Play Description, but it can also take any other value.

shares_translation_memoryboolean

(Optional) Indicates whether the project should share the account's translation memory

project_imagestring binary

(Optional) Image to identify the project

remove_project_imageboolean

(Optional) Indicates whether the project image should be deleted.

workflowstring

(Optional) Review Workflow. "simple" / "review". Read more

machine_translation_enabledboolean

(Optional) Enable machine translation support in the project. Required for Pre-Translation

enable_branchingboolean

(Optional) Enable branching in the project

protect_master_branchboolean

(Optional) Protect the master branch in project where branching is enabled

enable_all_data_type_translation_keys_for_translatorsboolean

(Optional) Otherwise, translators are not allowed to edit translations other than strings

enable_icu_message_formatboolean

(Optional) We can validate and highlight your ICU messages. Read more

zero_plural_form_enabledboolean

(Optional) Displays the input fields for the 'ZERO' plural form for every key as well although only some languages require the 'ZERO' explicitly.

autotranslate_enabledboolean

(Optional) Autopilot, requires machine_translation_enabled. Read more

autotranslate_check_new_translation_keysboolean

(Optional) Requires autotranslate_enabled to be true

autotranslate_check_new_uploadsboolean

(Optional) Requires autotranslate_enabled to be true

autotranslate_check_new_localesboolean

(Optional) Requires autotranslate_enabled to be true

autotranslate_mark_as_unverifiedboolean

(Optional) Requires autotranslate_enabled to be true

autotranslate_use_machine_translationboolean

(Optional) Requires autotranslate_enabled to be true

autotranslate_use_translation_memoryboolean

(Optional) Requires autotranslate_enabled to be true

autotranslate_overwrite_unverified_translationsboolean

(Optional) Requires autotranslate_enabled to be true

default_encoding'UTF-8' | 'UTF-16' | 'UTF-16BE' | 'UTF-16LE' | 'ISO-8859-1'

(Optional) Sets the default encoding for Uploads. If you leave it empty, we will try to guess it automatically for you when you Upload a file. You can still override this value by setting the file_encoding parameter for Uploads.

placeholder_stylesstring[]

(Optional) List of placeholder styles enabled for the project.

autocomplete_job_enabledboolean

(Optional) Enable autocomplete-job behavior so that newly created keys and locales are automatically added to in-progress jobs.

job_locking_enabledboolean

(Optional) When enabled, translations are locked once a job moves into review.

smart_suggest_enabledboolean

(Optional) Enable Smart Suggest for the project.

smart_suggest_use_glossaryboolean

(Optional) Allow Smart Suggest to source suggestions from the project glossary.

smart_suggest_use_machine_translationboolean

(Optional) Allow Smart Suggest to source suggestions from machine translation.

translation_keys_sort_collationstring

(Optional) Collation used when sorting translation keys alphabetically.

cldr_versionstring

(Optional) CLDR plural-rule version used by the project.

Example request

{
  "account_id": "abcd1234",
  "name": "My Android Project",
  "point_of_contact": "abcd1234",
  "main_format": "yml",
  "media": "Python",
  "shares_translation_memory": true,
  "project_image": "/path/to/my/project-screenshot.png",
  "workflow": "review",
  "machine_translation_enabled": true,
  "enable_branching": true,
  "protect_master_branch": true,
  "enable_all_data_type_translation_keys_for_translators": true,
  "enable_icu_message_format": true,
  "zero_plural_form_enabled": true,
  "autotranslate_enabled": true,
  "autotranslate_check_new_translation_keys": true,
  "autotranslate_check_new_uploads": true,
  "autotranslate_check_new_locales": true,
  "autotranslate_mark_as_unverified": true,
  "autotranslate_use_machine_translation": true,
  "autotranslate_use_translation_memory": true,
  "autotranslate_overwrite_unverified_translations": true,
  "default_encoding": "UTF-8",
  "placeholder_styles": [
    "angular",
    "iOS"
  ],
  "smart_suggest_enabled": true,
  "smart_suggest_use_glossary": true,
  "smart_suggest_use_machine_translation": true,
  "translation_keys_sort_collation": "unicode_ci",
  "cldr_version": "legacy"
}

Response

OK

idstring
namestring
slugstring
main_formatstring
project_image_urlstring
mediastring
created_atstring date-time
updated_atstring date-time
shares_translation_memoryboolean
machine_translation_enabledboolean
zero_plural_form_enabledboolean
enable_all_data_type_translation_keys_for_translatorsboolean
enable_icu_message_formatboolean
enable_branchingboolean
protect_master_branchboolean
autotranslate_enabledboolean
autotranslate_check_new_translation_keysboolean
autotranslate_check_new_uploadsboolean
autotranslate_check_new_localesboolean
autotranslate_mark_as_unverifiedboolean
autotranslate_use_machine_translationboolean
autotranslate_use_translation_memoryboolean
autotranslate_overwrite_unverified_translationsboolean
autocomplete_job_enabledboolean
default_encodingstring
cldr_versionstring
job_locking_enabledboolean
placeholder_stylesstring[]

Example response

{
  "slug": "my-android-project",
  "shares_translation_memory": true,
  "machine_translation_enabled": true,
  "zero_plural_form_enabled": true,
  "enable_all_data_type_translation_keys_for_translators": false,
  "enable_icu_message_format": false,
  "enable_branching": false,
  "protect_master_branch": false,
  "autotranslate_enabled": false,
  "autotranslate_check_new_translation_keys": false,
  "autotranslate_check_new_uploads": false,
  "autotranslate_check_new_locales": false,
  "autotranslate_mark_as_unverified": false,
  "autotranslate_use_machine_translation": false,
  "autotranslate_use_translation_memory": true,
  "autotranslate_overwrite_unverified_translations": false,
  "autocomplete_job_enabled": false,
  "default_encoding": "UTF-8",
  "cldr_version": "legacy",
  "job_locking_enabled": false,
  "placeholder_styles": [
    "angular",
    "iOS"
  ]
}