v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBJob Locales
Add a target locale to a job
Adds a target locale to a job.
post/projects/{project_id}/jobs/{job_id}/locales
Path parameters
project_idstring required
Project ID
job_idstring required
Job 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": {
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Job 1",
"state": "completed"
},
"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"
},
"annotations": [
{
"name": "priority",
"value": "high",
"created_at": "2023-10-01T12:00:00Z",
"updated_at": "2023-10-01T12:00:00Z"
}
],
"completed": true,
"translation_completed_at": "2017-01-28T09:52:53Z",
"review_completed_at": "2017-01-28T09:52:53Z"
}