Start import

/data/v1/projects/{projectToken}/imports/{import_id}/start

Trigger the run of an existing import programmatically.

The following types of imports can be triggered: URL, Filestorage (GCS, SFTP), Database, and Bloomreach Engagement.

If you're using a URL or Filestorage (GCS, SFTP) import, you can override its original path or URL. When overridden, the path applies only to this specific run and doesn't modify the import definition.

Definition

Authorization

Use the following authorization access and permissions for this API call:

  • Access type: Private access
  • Permissions needed: Imports > Allow trigger imports

Learn more about:

Path parameters

ParameterTypeDescriptionRequired
projectTokenstringThe ID of your project.Required
import_idstringThe ID of an existing import in your project.Required

Body parameters

ParameterTypeDescriptionRequired
pathstringURL, GCS, or SFTP path to override. This doesn't modify the import definition—the path is overridden just for this run of the import.No
test_connectionbooleanSkips the import source connection checking to avoid timeouts. Note that imports can fail to execute later because the source wasn't checked. Default = true.No

Header

ParameterTypeDescriptionRequired
authorizationstringUsed for authentication.Required
content-typestringapplication/json

If you're sending this request without a body, don't include content-type: application/json in the header. Including it results in Error 400.
Required if body isn't empty

Limitations

The following restrictions apply to this endpoint:

  • Import type compatibility: This endpoint supports customers, events, vouchers, and legacy catalogs only. It doesn't support item collections, Snowflake imports, or Databricks imports.
  • You can't trigger Copy & Paste and Upload imports from this route.
  • You can't trigger imports created and managed through the Imports Management API (/imports/v1). These imports have run restrictions and must use the /imports/v1/{project_id}/{import_id}/run endpoint instead.
Language
Click Try It! to start a request and see the response here!