Import package into a customer workspace
Import a package in zip file format into a specified folder in a customer workspace. This endpoint allows an API client to create or update assets, such as recipes, lookup tables, event topics, and message templates, through package imports.
This is an asynchronous request. Use the Get package status endpoint to get details of the imported the package. The input (zip file) is an application/octet-stream
payload containing package content. The query parameter restart_recipes
must be set to true
if the running recipes need to be restarted upon import.
API CLIENT ACCESS
Access to this endpoint allows an API client to create or update other assets, such as recipes, lookup tables, event topics, and message templates, through package imports.PACKAGE IMPORT RATE LIMIT
Workato enforces a strict limit of 500 package import requests per hour per workspace. If this limit is exceeded, the system denies additional requests until the following hour when the request allowance resets.Path parameters
Embedded customer ID (external ID). The External ID must be URL encoded and prefixed with an E
. For example, EA2300
.
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Value must be true
to allow the restarting of running recipes during import. Packages cannot be imported if there are running recipes and this parameter equals false
or is not provided.
The ID of a folder to store assets in instead of the root folder. The folder specified must be accessible to the API client and cannot be the root folder. Defaults to blank.
FOLDER_ID_FOR_HOME_ASSETS SOMETIMES REQUIRED
Thefolder_id_for_home_assets
parameter is required if you’re importing a package that contains root folder assets or if the customer’s workspace Home assets folder has been converted to a Home assets project. Refer to the Home assets project section for more information.