Book demo
Start trial
Book demo
Start trial



'Get Export' endpoint returns a zip file containing all assets ('Folder', 'Flow', 'DataFile', 'SubFlow', etc.) on the basis of an itemId. The itemId is a unique Id of an element in the asset menu. If an itemId is not supplied the endpoint will export all assets in the asset menu available in the controller. The output zip file can be used as input parameter to the 'Import' end point or can be imported manually in LEAPWORK Studio. Note that, target item with 'targetItemId' must be a folder with flows inside or a flow. 

Request URL


Input parameters

Field Type Description Comments
timeoutMinutes integer Define maximum timeout based on volume of export objects  
targetItemId string Unique identifier (itemId) for an Item in the Asset menu. Items can be of the following type:'Folder', 'Flow', 'DataFile', 'SubFlow', 'InteractiveImage', 
'DesktopElement', 'WebElement', 



curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v3/export/{timeoutMinutes}/{targetItemId}'


$headers = @{}
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v3/export/{timeoutMinutes}/{targetItemId}" -ContentType "application/json" -Headers $headers -Method GET

Response Body

Response body returns a URL that can be used to download a zip file containing exported assets.


Response Code

200 (OK)

404 (Not Found)

401 (Unauthorized)

400 (Bad Request)

405 (Method Not Allowed)

500 (Internal Server Error)