> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanova.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Descargar códigos QR en masa

> POST /bulk-operation/download/

Empaqueta muchos códigos QR para su descarga, de forma asíncrona, en el host de la **API de gestión** (`api.scanova.io`), autenticado con su clave de API de gestión sin procesar.

```
POST https://api.scanova.io/bulk-operation/download/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
```

<ParamField body="name" type="string" required>
  Una etiqueta para esta operación, mostrada en [Listar operaciones en masa](/es/api-reference/management-api/bulk-operation/list).
</ParamField>

<ParamField body="qr_id_list" type="array">
  Ids de QR específicos a descargar. Alternativamente use `filter`, `search` o `bulk_op_id`.
</ParamField>

<ParamField body="filter" type="object">
  Un filtro guardado que selecciona qué códigos QR descargar, como alternativa a `qr_id_list`.
</ParamField>

<ParamField body="search" type="string">
  Un término de búsqueda que selecciona qué códigos QR descargar, como alternativa a `qr_id_list`. `"all"` selecciona todos los códigos QR propios.
</ParamField>

<ParamField body="bulk_op_id" type="string">
  El `operation_id` de una operación en masa existente — volver a descargar los códigos QR que esa operación generó, como alternativa a seleccionar por id/filtro/búsqueda.
</ParamField>

<ParamField body="result_file_format" type="string">
  El formato de descarga, p. ej. `zip`, `csv`, `xlsx`.
</ParamField>

<ParamField body="result_file_size" type="string">
  El tamaño de imagen para las imágenes de QR descargadas, cuando corresponda.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.scanova.io/bulk-operation/download/" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Batch download",
      "qr_id_list": ["a1b2c3d4", "e5f6g7h8"],
      "result_file_format": "zip"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "operation_id": "bo-dl-001",
    "message": ["Your file is being processed. We'll email you once it's ready."]
  }
  ```
</ResponseExample>

Asíncrono — consulte [Listar operaciones en masa](/es/api-reference/management-api/bulk-operation/list) para `status`/`progress`, luego obtenga `result_file`. `400` si ningún código QR coincide con la selección dada.

## Relacionado

* [Exportar los códigos QR de URL propios como CSV](/es/api-reference/management-api/bulk-operation/qr-list) — una fuente rápida de ids para `qr_id_list`.
* [Ejecutar una acción rápida en masa](/es/api-reference/management-api/bulk-operation/quick-action) — usa los mismos parámetros de selección, para organizar/aplicar diseño/eliminar en su lugar.
* [Listar operaciones en masa](/es/api-reference/management-api/bulk-operation/list) — esperar la finalización.
* [Resumen de la API de gestión](/es/api-reference/management-api/overview) — el esquema de autenticación y las reglas de cuota aplicables a este endpoint.


## OpenAPI

````yaml api-reference/openapi/management-api.json POST /bulk-operation/download/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    api.scanova.io (QR codes, folders, tags, leads, forms, analytics, plans,
    shared users & roles), plus the token-creation and usage-stats endpoints
    used to authenticate against it. Every path and request/response shape below
    was verified live against a real API key and the actual running backend
    (Phase 7, 2026-08-16) — not guessed from reading urls.py alone.
  version: 2.0.0
servers:
  - url: https://api.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /bulk-operation/download/:
    post:
      summary: Bulk-download QR codes
      description: >-
        Packages many QR codes' images/data for download, asynchronously. Select
        targets with `qr_id_list`, a saved `filter`, a `search` term (`"all"`
        selects every owned QR), or an existing `bulk_op_id` to re-download that
        operation's generated QR codes.
      operationId: bulkDownloadQrCodes
      requestBody:
        content:
          application/json:
            example:
              name: Batch download
              qr_id_list:
                - a1b2c3d4
                - e5f6g7h8
              result_file_format: zip
      responses:
        '200':
          description: Download packaging started.
          content:
            application/json:
              example:
                operation_id: bo-dl-001
                message:
                  - >-
                    Your file is being processed. We'll email you once it's
                    ready.
        '400':
          description: No matching QR codes found for the given selection.
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your Management API key as the raw value of the Authorization
        header — no "Bearer " or "Token " prefix, and no other characters.
        Example: `Authorization: 401f7ac837da42b97f613d789819ff93537bee6a`. A
        header containing more than one space-separated part is rejected
        outright. Requests also require the request's Host header to be the
        management API host (e.g. api.scanova.io) — the same key sent to the
        regular API host will not authenticate.

````