Skip to main content
GET
/
accounts
/
{account_id}
/
repo_syncs
/
{id}
/
events
cURL
curl "https://api.phrase.com/v2/accounts/ab12cd34/repo_syncs/56ef78/events"\
  -u USERNAME_OR_ACCESS_TOKEN
[
  {
    "type": "import",
    "created_at": "2015-01-28T09:52:53Z",
    "status": "failure",
    "auto_import": true,
    "errors": [
      "Error message 1",
      "Error message 2"
    ]
  }
]

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

id
string
required

ID

Response

Successful response

id
string
type
enum<string>
Available options:
import,
export
created_at
string<date-time>
status
enum<string>
Available options:
running,
success,
failure
pull_request_url
string

URL of the pull request created on export

auto_import
boolean

Whether the import was triggered by the repo push event

errors
string[]

List of error messages, in case of failure