GET
/
accounts
/
{account_id}
/
job_templates
/
{job_template_id}
/
locales
cURL
curl "https://api.phrase.com/v2/accounts/:account_id/job_templates/:job_template_id/locales" \
  -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

account_id
string
required

Account ID

job_template_id
string
required

Job Template ID

Query Parameters

page
integer

Page number

per_page
integer

Limit on the number of objects to be returned, between 1 and 100. 25 by default

Response

200
application/json

OK

The response is of type job_template_locale · object[].