---
title: "Create a job template locale"
method: POST
path: "/projects/{project_id}/job_templates/{job_template_id}/locales"
tags: ["Job Template Locales"]
---

# Create a job template locale

`POST /projects/{project_id}/job_templates/{job_template_id}/locales`

## Request

- Base URL: `https://eu.phrase.com/control-hub`
- URL: `https://eu.phrase.com/control-hub/projects/{project_id}/job_templates/{job_template_id}/locales`
- Auth: none required
- TypeScript: <https://skmtc.dev/phrase/apis/control-hub-service/docs/projects/:project_id/job_templates/:job_template_id/locales/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new job template locale.

## Path parameters

- `project_id` string, required
- `job_template_id` string, required

## Headers

- `X-PhraseApp-OTP` string

## Request body

- object
  - `branch` string: specify the branch to use
  - `locale_id` string, required: locale id
  - `user_ids` string[]: Array of user ids to be assigned to the job template locale
  - `reviewer_ids` string[]: Array of reviewer ids to be assigned to the job template locale
  - `translator_team_ids` string[]: Array of team ids to be assigned to the job locale as translators
  - `reviewer_team_ids` string[]: Array of team ids to be assigned to the job locale as reviewers

## Response `201`

Created

- JobTemplateLocales
  - `id` string
  - `job_template` object
    - `id` string
    - `name` string
  - `locale` LocalePreview
    - `id` string
    - `name` string
    - `code` string
  - `users` LocaleUserPreview[]
    - `id` string
    - `username` string
    - `name` string
    - `role` string
  - `teams` LocaleTeamPreview[]
    - `id` string
    - `name` string
    - `role` string

## Other responses

- `400`: Bad request. The request could not be parsed or a parameter failed validation. Verify the request body, the content type, and the parameter types, then retry.
- `404`: Not found. The requested resource does not exist or is not visible to the authenticated user. Verify the identifiers in the request path and that the token has access to them, then retry.
- `429`: Too many requests. The rate limit has been exceeded. Wait until the time indicated by the `X-Rate-Limit-Reset` response header before retrying.

---

[API](https://skmtc.dev/phrase/apis/control-hub-service.md) - [All operations](https://skmtc.dev/phrase/apis/control-hub-service/llms.txt) - [OpenAPI document](https://skmtc.dev/phrase/apis/control-hub-service/revisions/98ecac7ba2bf?raw)
