Skip to main content
Enterprise Plan Self Hosted

GitSync API

The GitSync API lets you programmatically manage the full lifecycle of ToolJet applications within your CI/CD pipelines. Configure git sync, push and pull app versions from GitHub, and automate deployments without touching the ToolJet UI.

Integrate these APIs into Jenkins, GitHub Actions, GitLab CI, or any other pipeline tool.

Authentication

All requests require a Basic access token in the Authorization header.

Authorization: Basic <access_token>

Base URL

https://{your-domain}/api/ext

Endpoints

EndpointDescription
POST /organizations/gitConfigure GitHub HTTPS git settings for an organization
POST /apps/{appId}/versions/{versionId}/git-sync/pushPush an app version to the configured GitHub repository
POST /apps?createMode=gitCreate a new ToolJet app from a GitHub repository
PUT /apps/{appId}?createMode=gitSync and pull the latest changes from GitHub for an existing app
POST /apps/{appId}/promotePull latest changes from Git and promote the app to production