cURL
Repo Syncs
Activate a Repo Sync
Activate a deactivated Repo Sync. Active syncs can be used to import and export translations, and imports to Phrase are automatically triggered by pushes to the repository, if configured.
POST
cURL
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Response
OK
Example:
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Android Project",
"main_format": "xml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}Branch used as the source of exports/PRs. May be null when the sync is configured to push directly to base_branch.