Skip to main content
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

OK

id
string
project
project_short · object
Example:
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Android Project",
"main_format": "xml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}
provider
string
enabled
boolean
auto_import
boolean
repo_name
string
created_at
string<date-time>
last_import_at
string<date-time>
last_export_at
string<date-time>