Exporting flow services

Export a flow service and all its dependencies. The exported data is downloaded as a compressed file to your local computer.

Before you begin

To export Flow services from a project, admin access is required. Only admins have the necessary permissions for this activity. If you do not have admin access but hold a custom role, ensure that you have the write access specifically for the project where you intend to export Flow services.

Procedure

  1. In a REST client platform, add the authentication details of the tenant from where you want to export a Flow service.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
  2. Make a POST request at the URL of the Flow service that you want to export.

    URL Syntax - <domain>/apis/v1/rest/projects/:project/flows/:flow/export

    In this URL request, /:project is the name of the project that is associated with the Flow service you want to export and /:flow is the name of the Flow service you want to export.

    If the request is successful, you receive the response code for success.
    {
      output : 
    	{
    	download_link: <download_link>,
    	valid_till: <valid_till>
        }
    }
    Note: The value in valid_till indicates the validity period for downloading the link.