> ## 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.

# Exécuter une action rapide en masse

> POST /bulk-operation/quick-action/

Applique une action rapide à de nombreux codes QR à la fois, de manière asynchrone, sur l'hôte de l'**API de gestion** (`api.scanova.io`), authentifié avec votre clé d'API de gestion brute.

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

<ParamField body="operation" type="string" required>
  L'une des valeurs `apply_design`, `organize` ou `delete`.
</ParamField>

<ParamField body="qr_id_list" type="array">
  Identifiants de QR spécifiques sur lesquels agir. Utilisez alternativement `filter`, `search` ou `bulk_op_id` — mêmes options de ciblage que [Télécharger des codes QR en masse](/fr/api-reference/management-api/bulk-operation/download).
</ParamField>

<ParamField body="filter" type="object">
  Un filtre enregistré sélectionnant sur quels codes QR agir, comme alternative à `qr_id_list`.
</ParamField>

<ParamField body="search" type="string">
  Un terme de recherche sélectionnant sur quels codes QR agir, comme alternative à `qr_id_list`. `"all"` sélectionne tous les codes QR possédés.
</ParamField>

<ParamField body="bulk_op_id" type="string">
  Le `operation_id` d'une opération en masse existante — agir sur les codes QR que cette opération a générés.
</ParamField>

<ParamField body="pattern_info" type="string">
  Requis lorsque `operation` vaut `apply_design` — les données de motif de design à appliquer.
</ParamField>

<ParamField body="folder" type="integer">
  Requis lorsque `operation` vaut `organize` — l'id du dossier de destination, qui doit appartenir à ce compte.
</ParamField>

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

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

Asynchrone — interrogez [Lister les opérations en masse](/fr/api-reference/management-api/bulk-operation/list) pour `status`/`progress`. `400` pour une valeur `operation` invalide, ou un `folder`/`pattern_info` manquant pour l'opération choisie.

<Warning>
  `delete` est irréversible pour les codes QR qui ne prennent pas en charge la récupération par suppression douce dans votre plan — confirmez la sélection cible avant d'appeler avec `operation: "delete"`.
</Warning>

## Voir aussi

* [Télécharger des codes QR en masse](/fr/api-reference/management-api/bulk-operation/download) — mêmes paramètres de ciblage, pour télécharger plutôt qu'agir.
* [Exporter les codes QR URL propres en CSV](/fr/api-reference/management-api/bulk-operation/qr-list) — une source rapide d'identifiants pour `qr_id_list`.
* [Lister les opérations en masse](/fr/api-reference/management-api/bulk-operation/list) — attendre l'achèvement.
* [Présentation de l'API de gestion](/fr/api-reference/management-api/overview) — le schéma d'authentification et les règles de quota applicables à cet endpoint.


## OpenAPI

````yaml api-reference/openapi/management-api.json POST /bulk-operation/quick-action/
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/quick-action/:
    post:
      summary: Run a bulk quick action
      description: >-
        Applies one quick action to many QR codes at once, asynchronously:
        `apply_design` (requires `pattern_info`), `organize` (requires
        `folder`), or `delete`. Select targets the same way as [Bulk-download QR
        codes](/api-reference/management-api/bulk-operation/download):
        `qr_id_list`, `filter`, `search`, or `bulk_op_id`.
      operationId: bulkQuickAction
      requestBody:
        content:
          application/json:
            example:
              operation: organize
              qr_id_list:
                - a1b2c3d4
                - e5f6g7h8
              folder: 12
      responses:
        '200':
          description: Quick action started.
          content:
            application/json:
              example:
                operation_id: bo-qa-001
                message:
                  - >-
                    Your request is being processed. We'll email you once it's
                    ready.
        '400':
          description: >-
            Invalid `operation`, or missing `folder`/`pattern_info` for the
            chosen operation.
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.

````