GET
/
accounts
/
{account_id}
/
repo_syncs
cURL
curl "https://api.phrase.com/v2/accounts/ab12cd34/repo_syncs"\
  -u USERNAME_OR_ACCESS_TOKEN
[
  {
    "id": "abcd1234cdef1234abcd1234cdef1234",
    "project": {
      "id": "abcd1234cdef1234abcd1234cdef1234",
      "name": "My Android Project",
      "main_format": "xml",
      "created_at": "2015-01-28T09:52:53Z",
      "updated_at": "2015-01-28T09:52:53Z"
    },
    "provider": "github",
    "enabled": true,
    "auto_import": true,
    "repo_name": "organization/repo",
    "created_at": "2015-01-28T09:52:53Z",
    "last_import_at": "2015-01-28T09:52:53Z",
    "last_export_at": "2015-01-28T09:52:53Z"
  }
]

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

Response

200
application/json

OK

The response is of type repo_sync · object[].