Export Application
POST/export/workspace/{workspaceId}/apps/{appId}
Exports a ToolJet application, including pages, queries, data sources, environments, versions, and metadata.
Path Parameters
The unique identifier of the workspace.
The unique identifier of the application to export.
Query Parameters
Whether to include ToolJet Database table schemas.
Specific version to export.
Export all versions instead of just the latest.
Error Responses
Invalid UUID format for workspaceId or appId, app not found in workspace, or specified version name does not exist.
External API disabled, missing EXTERNAL_API license, or invalid Authorization header.
Request
curl -X POST "https://{your-domain}/api/ext/export/workspace/{workspaceId}/apps/{appId}?exportTJDB=<exportTJDB>&appVersion=<appVersion>&exportAllVersions=<exportAllVersions>" -H "Authorization: Basic <access_token>" -H "Content-Type: application/json"Response — 200
{
"tooljet_version": "3.x.x",
"app": [
{
"definition": {
"appV2": {
"appVersions": [...],
"appEnvironments": [...],
"components": [...],
"pages": [...],
"events": [...],
"dataQueries": [...],
"dataSources": [...],
"dataSourceOptions": [...],
"schemaDetails": {
"multiPages": true,
"multiEnv": true,
"globalDataSources": true
},
"modules": [...]
}
}
}
],
"tooljet_database": []
}