v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBJob Template Locales
Create a job template locale
Create a new job template locale.
post/projects/{project_id}/job_templates/{job_template_id}/locales
Path parameters
project_idstring required
Project ID
job_template_idstring required
Job Template ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"branch": "my-feature-branch",
"locale_id": "abcd1234cdef1234abcd1234cdef1234",
"user_ids": [
"abcd1234cdef1234abcd1234cdef1234"
],
"reviewer_ids": [
"abcd1234cdef1234abcd1234cdef1234"
],
"translator_team_ids": [
"abcd1234cdef1234abcd1234cdef1234"
],
"reviewer_team_ids": [
"abcd1234cdef1234abcd1234cdef1234"
]
}Response
Created
Example response
{
"id": "626ea67628690c73ac86ac81eec2d185",
"job_template": {
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "template"
},
"users": [
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "joe.doe",
"name": "Joe Doe",
"role": "translator"
}
],
"teams": [
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "Joe's team",
"role": "translator"
}
],
"locale": {
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "English",
"code": "en-GB"
}
}