v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBLocale Downloads
Initiate async download of a locale
Prepare a locale for download in a specific file format.
post/projects/{project_id}/locales/{locale_id}/downloads
Path parameters
project_idstring required
Project ID
locale_idstring required
Locale ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
If-Modified-Sincestring
Last modified condition, see Conditional GET requests / HTTP Caching (optional)
If-None-Matchstring
ETag condition, see Conditional GET requests / HTTP Caching (optional)
Request body
Example request
{
"file_format": "yml",
"branch": "my-feature-branch",
"tags": "feature1,feature2",
"include_empty_translations": true,
"exclude_empty_zero_forms": true,
"include_translated_keys": true,
"keep_notranslate_tags": true,
"format_options": {
"format_options": {
"foo": "bar"
}
},
"encoding": "UTF-8",
"include_unverified_translations": true,
"locale_ids": [
"de",
"en"
],
"fallback_locale_id": "abcd1234abcd1234abcd1234abcd1234",
"source_locale_id": "abcd1234abcd1234abcd1234abcd1234",
"translation_key_prefix": "prefix_",
"updated_since": "2023-01-01T00:00:00Z"
}Response
Created
Example response
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"status": "completed",
"result": {
"url": "https://example.com/locales/abcd1234cdef1234abcd1234cdef1234/download?file_format=yml"
},
"params": {
"file_format": "yml",
"locale_id": "abcd1234cdef1234abcd1234cdef1234",
"tags": "feature1,feature2",
"branch": "my-feature-branch",
"include_empty_translations": true,
"include_translated_keys": true,
"include_unverified_translations": true
},
"created_at": "2015-01-28T09:52:53Z",
"completed_at": "2015-01-28T09:52:53Z"
}