---
title: "Queue the import image download"
method: POST
path: "/settings/data-transfer/imports/{id}/download-images/queue"
tags: ["Admin Settings: Data Transfer"]
---

# Queue the import image download

`POST /settings/data-transfer/imports/{id}/download-images/queue`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/settings/data-transfer/imports/{id}/download-images/queue`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/settings/data-transfer/imports/:id/download-images/queue/post.ts> (a function with typed inputs; its response is checked against the schema)

Dispatches the whole image download as a background queue batch and returns the image `total`. Poll `GET .../download-images/status` until `done`. A `total` of 0 means there was nothing to fetch.

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Download dispatched.

## Other responses

- `400`: The download could not be queued.
- `401`: Missing or invalid admin token.
- `404`: Import not found.
- `422`: Validation Error

## Changes

- **2026-10-28** `3198f11be70f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/settings/data-transfer/imports/:id/download-images/queue/post.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
