GET
/
projects
/
{project_id}
/
job_templates
/
{job_template_id}
/
locales
/
{job_template_locale_id}
cURL
curl "https://api.phrase.com/v2/projects/:project_id/job_templates/:job_template_id/locales/:job_template_locale_id?branch=my-feature-branch" \
  -u USERNAME_OR_ACCESS_TOKEN
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

project_id
string
required

Project ID

job_template_id
string
required

Job Template ID

job_template_locale_id
string
required

Job Template Locale ID

Query Parameters

branch
string

specify the branch to use

Response

200
application/json

OK

The response is of type object.