---
updatedAt: 2026-09-01T05:59:25.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/engagement/llms.txt
---

# List imports

# Definition

The API enables vendors, plugins, and enterprise clients to manage Imports externally by API. It adds the option to automate data flow by service instead of a manual user process. Utilizing the API can significantly shorten the time to import, which is useful for external plugins.

You may make use of Management API for Imports by:

* Copying import definitions from one project to another.
* Deploying the same import to multiple projects by a script.

Management API for Imports exposes API methods to list, read, create, and delete import definitions. **List imports** operation retrieves a list of all imports that API has created.

## Authorization

In this API call you must use the following authorization access and permissions:

| Available access type | Permissions needed              |
| :-------------------- | :------------------------------ |
| Private access        | Imports > Allow to List Imports |

![1285](https://files.readme.io/13c3d3e-api_permissions.png "api_permissions.png")

Admin must first create Private access keys and grant permissions. Then the service can call the API and perform the operation.

Read more about:

* [Authentication](https://documentation.bloomreach.com/engagement/reference/authentication)
* [Setting up permissions](https://documentation.bloomreach.com/engagement/reference/prerequisites)
* [Creating an authorization header](https://documentation.bloomreach.com/engagement/reference/technical-information)

# Request

## Path parameters

| Parameter    | Type   | Description             | Required |
| :----------- | :----- | :---------------------- | :------- |
| projectToken | string | The ID of your project. | Required |

## Query parameters

| Parameter | Type    | Description                        | Required |
| :-------- | :------ | :--------------------------------- | :------- |
| limit     | integer | `>= 1`, `<= 50`<br />Default: `10` |          |
| offset    | integer | Default: `0`                       |          |

# Response description

| Parameter          | Type   | Description                    | Required |
| :----------------- | :----- | :----------------------------- | :------- |
| import\_id         | string | The ID of your import.         | Required |
| import\_definition | object | The definition of your import. | Optional |

## Import\_definition object description

| Parameter   | Type           | Description                                                                     | Required |
| :---------- | :------------- | :------------------------------------------------------------------------------ | :------- |
| name        | string         | The name of your import.                                                        | Required |
| trigger     | one of: object | The trigger for import either now, or repeated based on frequency or new files. | Required |
| active      | boolean        | Default: `true`                                                                 | Optional |
| source      | one of: object | The source of imported data.                                                    | Required |
| destination | one of: object | The destination where data is imported.                                         | Required |
| mapping     | object         | Data mapping pattern of your import.                                            | Required |

## Trigger object description

Trigger can be defined by one of the two object descriptions:

**(1) First trigger object description option:**

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>

      <th>
        Required
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        trigger_type
      </td>

      <td>
        string
      </td>

      <td>
        Type of the trigger.

        Allowed values: `now`, `on_new_file`
      </td>

      <td>
        Required
      </td>
    </tr>
  </tbody>
</Table>

**(2) Second trigger object description option:**

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>

      <th>
        Required
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        trigger_type
      </td>

      <td>
        string
      </td>

      <td>
        Type of the trigger.
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        frequency
      </td>

      <td>
        string
      </td>

      <td>
        The frequency in which imports are triggered.

        Allowed values: `hourly`, `daily`, `weekly`, `monthly`
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        times
      </td>

      <td>
        array\[object]
      </td>

      <td>
        `<= 48 items`
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        days
      </td>

      <td>
        array (oneOf) \[Day_of_week] **or**<br />array (oneOf) \[Day_of_month]
      </td>

      <td>
        The days on which imports are triggered.
      </td>

      <td>
        Optional
      </td>
    </tr>

    <tr>
      <td>
        minutes
      </td>

      <td>
        array\[integer]
      </td>

      <td>

      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        timezone
      </td>

      <td>
        string
      </td>

      <td>
        Timezone in which time of trigger is set.
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        from_date
      </td>

      <td>
        number\<float>
      </td>

      <td>
        From which date imports are triggered.
      </td>

      <td>
        Optional
      </td>
    </tr>

    <tr>
      <td>
        to_date
      </td>

      <td>
        number\<float>
      </td>

      <td>
        To which date imports are triggered.
      </td>

      <td>
        Optional
      </td>
    </tr>
  </tbody>
</Table>

### Times object description

| Parameter | Type    | Description     | Required |
| :-------- | :------ | :-------------- | :------- |
| hour      | integer | `>= 0`, `<= 23` | Required |
| minute    | integer | `>= 0`, `<= 59` | Required |

## Source object description

Source can be defined by one of the two object descriptions:

**(1) First source object description option:**

| Parameter         | Type    | Description          | Required |
| :---------------- | :------ | :------------------- | :------- |
| source\_type      | string  | Allowed value: `url` | Required |
| import\_url       | string  |                      | Required |
| use\_socks\_proxy | boolean | Default: `false`     | Optional |
| auth              | object  |                      | Optional |

**(2) Second source object description option:**

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>

      <th>
        Required
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        source_type
      </td>

      <td>
        string
      </td>

      <td>
        Allowed value: `filestorage`
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        integration_id
      </td>

      <td>
        string
      </td>

      <td>
        The ID of your integration.

        `>= 24 characters`
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        parent_path
      </td>

      <td>
        string
      </td>

      <td>

      </td>

      <td>
        Optional
      </td>
    </tr>

    <tr>
      <td>
        path
      </td>

      <td>
        string
      </td>

      <td>
        `>= 1 characters`
      </td>

      <td>
        Required
      </td>
    </tr>

    <tr>
      <td>
        file_selection
      </td>

      <td>
        string
      </td>

      <td>
        Allowed values: `all`, `last_mod`, `last_alpha`, `not_imported`
      </td>

      <td>
        Required
      </td>
    </tr>
  </tbody>
</Table>

### Auth object description

| Parameter | Type              | Description | Required |
| :-------- | :---------------- | :---------- | :------- |
| username  | string            |             | Required |
| password  | string\<password> |             | Required |

## Destination object description

Destination can be defined by one of the three object descriptions:

**(1) First destination object description option:**

| Parameter          | Type   | Description                                       | Required |
| :----------------- | :----- | :------------------------------------------------ | :------- |
| event\_destination | object | A specific event type into which you import data. | Required |

**(2) Second destination object description option:**

| Parameter             | Type   | Description                               | Required |
| :-------------------- | :----- | :---------------------------------------- | :------- |
| customer\_destination | object | The customer table where you import data. | Required |

**(3) Third destination object parameter option:**

| Parameter            | Type   | Description                             | Required |
| :------------------- | :----- | :-------------------------------------- | :------- |
| catalog\_destination | object | The catalog into which you import data. | Required |

### Event\_destination object description

| Parameter       | Type    | Description       | Required |
| :-------------- | :------ | :---------------- | :------- |
| event\_type     | string  | `>= 1 characters` | Optional |
| event\_triggers | boolean | Default: `false`  | Optional |

### Catalog\_destination object description

| Parameter           | Type           | Description                                     | Required |
| :------------------ | :------------- | :---------------------------------------------- | :------- |
| catalog\_name       | string         | Name of the catalog into which you import data. | Required |
| catalog\_attributes | one of: object |                                                 | Optional |

#### Catalog\_attributes object description

Catalog\_attributes can be defined by one of the two object descriptions:

**(1) First catalog\_attributes object description option:**

| Parameter     | Type   | Description                                      | Required |
| :------------ | :----- | :----------------------------------------------- | :------- |
| catalog\_type | string | Allowed values: `generic`, `product`, `variants` | Required |

**(2) Second catalog\_attributes object description option:**

| Parameter                        | Type   | Description                                      | Required |
| :------------------------------- | :----- | :----------------------------------------------- | :------- |
| catalog\_type                    | string | Allowed values: `generic`, `product`, `variants` | Required |
| associated\_product\_catalog\_id | string | The ID of your product catalog.                  | Optional |

## Mapping object description

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>

      <th>
        Required
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        tz_info
      </td>

      <td>
        string
      </td>

      <td>
        The timezone to use for time/datetime/timestamp columns.

        Default: `UTC`
      </td>

      <td>
        Optional
      </td>
    </tr>

    <tr>
      <td>
        column_mapping
      </td>

      <td>
        object
      </td>

      <td>

      </td>

      <td>
        Required
      </td>
    </tr>
  </tbody>
</Table>

### Column\_mapping object description

| Parameter          | Type           | Description              | Required |
| :----------------- | :------------- | :----------------------- | :------- |
| id\_mappings       | array\[object] | The ID of your mappings. | Required |
| property\_mappings | array\[object] |                          | Required |
| timestamp\_column  | string         |                          | Optional |

#### Id\_mappings object description

| Parameter    | Type   | Description | Required |
| :----------- | :----- | :---------- | :------- |
| from\_column | string |             | Required |
| to\_id       | string |             | Required |

#### Property\_mappings object description

| Parameter    | Type    | Description       | Required |
| :----------- | :------ | :---------------- | :------- |
| from\_column | string  |                   | Optional |
| to\_column   | string  |                   | Required |
| target\_type | string  | Default: `string` | Optional |
| searchable   | boolean |                   | Optional |
| indexed      | string  |                   | Optional |

## Limitations

* Update API method isn't implemented.
* You can't create an import for Vouchers.
* You can't create import of other types (for example, from Input/Uploaded file, from Database by query, from the application).
* Managing import definitions created by Users is done in the app (not via API).
* **API rate limits:** The Joint number of requests for operations 'List', 'Read', and 'Delete' cannot exceed 100 requests per minute. </Callout>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "imports-management-api",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://api.exponea.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/imports/v1/{project_token}": {
      "get": {
        "summary": "List imports",
        "description": "",
        "operationId": "list-imports",
        "parameters": [
          {
            "name": "project_token",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "limit",
            "in": "query",
            "description": "`>= 1`,  `<= 50`",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Response example": {
                    "value": "[\n  {\n    \"import_id\": \"string\",\n    \"import_definition\": {\n      \"name\": \"string\",\n      \"trigger\": {\n        \"trigger_type\": \"now\"\n      },\n      \"active\": true,\n      \"source\": {\n        \"source_type\": \"url\",\n        \"import_url\": \"string\",\n        \"use_socks_proxy\": false,\n        \"auth\": {\n          \"username\": \"string\",\n          \"password\": \"pa$$word\"\n        }\n      },\n      \"destination\": {\n        \"event_destination\": {\n          \"event_type\": \"string\",\n          \"event_triggers\": false\n        }\n      },\n      \"mapping\": {\n        \"tz_info\": \"UTC\",\n        \"column_mapping\": {\n          \"id_mappings\": [],\n          \"property_mappings\": [],\n          \"timestamp_column\": \"string\"\n        }\n      }\n    }\n  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "import_id": {
                        "type": "string",
                        "example": "string"
                      },
                      "import_definition": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "example": "string"
                          },
                          "trigger": {
                            "type": "object",
                            "properties": {
                              "trigger_type": {
                                "type": "string",
                                "example": "now"
                              }
                            }
                          },
                          "active": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "source": {
                            "type": "object",
                            "properties": {
                              "source_type": {
                                "type": "string",
                                "example": "url"
                              },
                              "import_url": {
                                "type": "string",
                                "example": "string"
                              },
                              "use_socks_proxy": {
                                "type": "boolean",
                                "example": false,
                                "default": true
                              },
                              "auth": {
                                "type": "object",
                                "properties": {
                                  "username": {
                                    "type": "string",
                                    "example": "string"
                                  },
                                  "password": {
                                    "type": "string",
                                    "example": "pa$$word"
                                  }
                                }
                              }
                            }
                          },
                          "destination": {
                            "type": "object",
                            "properties": {
                              "event_destination": {
                                "type": "object",
                                "properties": {
                                  "event_type": {
                                    "type": "string",
                                    "example": "string"
                                  },
                                  "event_triggers": {
                                    "type": "boolean",
                                    "example": false,
                                    "default": true
                                  }
                                }
                              }
                            }
                          },
                          "mapping": {
                            "type": "object",
                            "properties": {
                              "tz_info": {
                                "type": "string",
                                "example": "UTC"
                              },
                              "column_mapping": {
                                "type": "object",
                                "properties": {
                                  "id_mappings": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {}
                                    }
                                  },
                                  "property_mappings": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {}
                                    }
                                  },
                                  "timestamp_column": {
                                    "type": "string",
                                    "example": "string"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```