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

# Apply tags to many QR Codes

> POST /qr/tags/multi/

Creates any missing tags and attaches them to many QR Codes in one call.

```
POST   https://api.scanova.io/qr/tags/multi/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
```

Requires the `TAG_MANAGEMENT` quota and the `QR_CODE_TAG_CAN_ADD` role permission.

<ParamField body="ids" type="array" required>
  `qrid` values to tag.
</ParamField>

<ParamField body="tags" type="array" required>
  Tag names to apply. Names are lowercased, and any that don't exist yet are created.
</ParamField>

<ParamField body="all" type="boolean" default="false">
  Apply the tags to **every** QR Code the account owns, ignoring `ids`.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.scanova.io/qr/tags/multi/" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
    -H "Content-Type: application/json" \
    -d '{
        "ids": [
            "Qa1b2c3d4e5f6g7h8"
        ],
        "tags": [
            "campaign-2026",
            "print"
        ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 201 Created theme={null}
  "success"
  ```
</ResponseExample>

<Warning>
  `all: true` is account-wide and has no undo — it tags every QR Code, including ones outside any folder or filter you were looking at. Detaching afterwards means calling [Detach tags](/api-reference/management-api/qr/tag-association-delete) for those tag names.
</Warning>

## Related

* [List tag names](/api-reference/management-api/qr/tags-list) — the existing tag names.
* [Update a QR Code's tags](/api-reference/management-api/qr/update-tags) — set tags on a single QR Code instead.
* [Detach tags](/api-reference/management-api/qr/tag-association-delete) — the inverse of this operation.
* [List tag details](/api-reference/management-api/qr/tag-details-list) — confirm the resulting assigned counts.
* [QR Manager overview](/api-reference/management-api/qr/overview) — the quotas, role permissions, and Trash model shared by every endpoint in this module.
* [Management API overview](/api-reference/management-api/overview) — the auth scheme and quota rules that apply to this endpoint.


## OpenAPI

````yaml api-reference/openapi/management-api.json POST /qr/tags/multi/
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:
  /qr/tags/multi/:
    post:
      summary: Apply tags to many QR codes
      description: >-
        Creates any missing tags and attaches the given tag names to the given
        QR codes in one call. Set `all: true` to apply them to every QR code the
        account owns instead of the `ids` list. Requires the TAG_MANAGEMENT
        quota and the QR_CODE_TAG_CAN_ADD permission.
      operationId: createQrTagsMulti
      requestBody:
        content:
          application/json:
            example:
              ids:
                - Qa1b2c3d4e5f6g7h8
              tags:
                - campaign-2026
                - print
      responses:
        '201':
          description: Tags applied.
          content:
            application/json:
              example: success
        '400':
          description: Empty `tags`, or none of the given `ids` exist for this account.
        '403':
          description: >-
            TAG_MANAGEMENT quota exhausted, or the role lacks
            QR_CODE_TAG_CAN_ADD.
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.

````