v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBRepo Syncs
Export to code repository
Export translations from Phrase Strings to repository provider according to the .phrase.yml file within the code repository.
Export is done asynchronously and may take several seconds depending on the project size.
post/accounts/{account_id}/repo_syncs/{id}/export
Path parameters
account_idstring required
Account ID
idstring required
ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"pr_branch": "my-feature-branch",
"branch": "my-strings-branch"
}Response
OK
Example response
{
"type": "import",
"created_at": "2015-01-28T09:52:53Z",
"status": "failure",
"auto_import": true,
"errors": [
"Error message 1",
"Error message 2"
]
}