Export Module
POST/export/workspace/{workspaceId}/modules/{moduleId}
Exports a module, including its definition and optionally the ToolJet Database table schemas it uses.
Path Parameters
The unique identifier of the workspace.
The unique identifier of the module to export.
Query Parameters
When true, bundles the TJDB table schemas into the export payload.
Error Responses
workspaceId or moduleId is not a valid UUID, or module does not exist / does not belong to workspace.
Missing or invalid Authorization: Basic token.
EXTERNAL_API license not active on the instance.
Unexpected failure in the export pipeline.
Request
curl -X POST "https://{your-domain}/api/ext/export/workspace/{workspaceId}/modules/{moduleId}?exportTJDB=<exportTJDB>" -H "Authorization: Basic <access_token>" -H "Content-Type: application/json"Response — 200
{
"tooljet_database": [],
"app": [
{
"definition": {
"appV2": {
"name": "User Management Module",
"type": "module"
}
}
}
],
"tooljet_version": "3.16.0"
}