Skip to main content

Commit and Push App Version to Git

POST/apps/{appId}/versions/{versionId}/git-sync/push

Commits an existing app version to the configured Git repository and pushes it to the remote. The version must already exist before calling this endpoint.

Path Parameters
appIdstringrequired
ID of the app.
versionIdstringrequired
ID of the app version to push.
Request Body
commitMessagestringrequired
Git commit message.
Error Responses
400
Wrong version ID, app not found, git sync not enabled for this app, or clone/commit/push to GitHub failed.
403
External API disabled, missing EXTERNAL_API license, or invalid Authorization token.
404
Not available on Community Edition.
Request
curl -X POST "https://{your-domain}/api/ext/apps/{appId}/versions/{versionId}/git-sync/push" \
  -H "Authorization: Basic <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "commitMessage": "Updated app configuration and components"
  }'

Response: 200