QR Manager QR Codes API

Create, retrieve, update, and delete QR codes.

GitHub OpenAPI

Operations 5

GET /qr List QR codes #
POST /qr Create a QR code #
GET /qr/{slug} Get a QR code #
PATCH /qr/{slug} Update a QR code #
DELETE /qr/{slug} Delete a QR code #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qr-manager-ai:qr-manager-ai-qr-codes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qr-manager-ai-qr-codes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: QR Manager AI QR Codes API
  version: '1'
  description: 'The QR Manager AI REST API lets you create, manage, and analyse QR codes

    programmatically. All endpoints require an API key issued from

    **Settings → API Keys**.


    ### Authentication


    Pass your API key as a Bearer token in every request:


    ```

    Authorization: Bearer qrm_your_api_key_here

    ```


    ### Plan requirements


    | Tier | Access |

    |---|---|

    | **Free** | No API access |

    | **Starter** | List, get, analytics, notifications, folders (read + write) |

    | **Pro / Enterprise** | Full access including create, update, and delete QR codes |


    ### Base URL


    ```

    https://qr-manager.ai/api/v1

    ```'
  contact:
    name: QR Manager AI Support
    email: support@qr-manager.ai
  license:
    name: Proprietary
servers:
- url: https://qr-manager.ai/api/v1
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: QR Codes
  description: Create, retrieve, update, and delete QR codes.
paths:
  /qr:
    get:
      operationId: listQrCodes
      summary: List QR codes
      description: Returns all active (non-deleted) QR codes for the authenticated account, ordered newest first.
      tags:
      - QR Codes
      x-required-plan: Starter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - qrCodes
                properties:
                  qrCodes:
                    type: array
                    items:
                      $ref: '#/components/schemas/QrCode'
              example:
                qrCodes:
                - id: clxyz123
                  slug: abc12345
                  qrType: URL
                  redirectUrl: https://example.com
                  qrContent: null
                  title: My Campaign
                  scanCount: 482
                  shortUrl: https://qr-m.app/abc12345
                  fgColor: '#000000'
                  bgColor: '#ffffff'
                  dotStyle: rounded
                  cornerStyle: square
                  expiresAt: null
                  maxScans: null
                  utmSource: instagram
                  utmMedium: social
                  utmCampaign: spring_launch
                  safetyStatus: SAFE
                  folder:
                    id: clfdr001
                    name: Marketing
                  createdAt: '2026-01-15T09:00:00.000Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      operationId: createQrCode
      summary: Create a QR code
      description: 'Creates a new QR code or shortlink. The required body fields depend on the `qrType`.


        **Required plan: Pro or Enterprise**


        | Type | Required fields | Notes |

        |---|---|---|

        | `URL` | `redirectUrl` | Dynamic redirect QR code |

        | `SHORTLINK` | `redirectUrl` | Short redirect URL only — no QR image generated |

        | `VCARD` | `vcardName` | |

        | `WIFI` | `wifiSsid` | |

        | `SMS` | `smsPhone` | |

        | `EMAIL` | `emailTo` | |

        | `PHONE` | `phone` | |


        `SHORTLINK` codes share the same redirect infrastructure as `URL` codes but have their own

        per-tier count limits and no QR image. Styling fields are ignored for shortlinks.'
      tags:
      - QR Codes
      x-required-plan: Pro
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateQrCodeBody'
            examples:
              url:
                summary: URL QR code
                value:
                  qrType: URL
                  redirectUrl: https://example.com/campaign
                  title: Summer Sale
                  utmSource: instagram
                  utmMedium: social
                  utmCampaign: summer_2026
                  fgColor: '#1a1a1a'
                  bgColor: '#ffffff'
                  dotStyle: rounded
                  maxScans: 5000
                  expiresAt: '2026-09-01T00:00:00.000Z'
                  folder: Marketing
              vcard:
                summary: vCard QR code
                value:
                  qrType: VCARD
                  vcardName: Jane Smith
                  vcardOrg: Acme Corp
                  vcardPhone: '+14155550100'
                  vcardEmail: jane@acme.com
                  vcardUrl: https://acme.com
              wifi:
                summary: WiFi QR code
                value:
                  qrType: WIFI
                  wifiSsid: GuestNetwork
                  wifiPassword: hunter2
                  wifiSecurity: WPA
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                required:
                - qr
                properties:
                  qr:
                    $ref: '#/components/schemas/QrCode'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/PlanLimitReached'
  /qr/{slug}:
    parameters:
    - name: slug
      in: path
      required: true
      description: The 8-character slug that identifies the QR code.
      schema:
        type: string
        example: abc12345
    get:
      operationId: getQrCode
      summary: Get a QR code
      description: Returns a single QR code by its slug.
      tags:
      - QR Codes
      x-required-plan: Starter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - qr
                properties:
                  qr:
                    $ref: '#/components/schemas/QrCode'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      operationId: updateQrCode
      summary: Update a QR code
      description: 'Partially updates a QR code. All fields are optional — only send what you

        want to change. Pass `null` explicitly to clear a nullable field (e.g.

        `"expiresAt": null` removes the expiry date).


        For `URL`-type codes, `redirectUrl` is re-screened for safety before saving.


        **Required plan: Pro or Enterprise**'
      tags:
      - QR Codes
      x-required-plan: Pro
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateQrCodeBody'
            example:
              redirectUrl: https://example.com/new-landing
              title: Updated Title
              utmCampaign: summer_2026_v2
              maxScans: 10000
              expiresAt: '2026-12-31T23:59:59.000Z'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - qr
                properties:
                  qr:
                    $ref: '#/components/schemas/QrCode'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
    delete:
      operationId: deleteQrCode
      summary: Delete a QR code
      description: 'Soft-deletes a QR code. The short URL immediately stops redirecting.

        Deleted codes are retained for 30 days then permanently purged.


        **Required plan: Pro or Enterprise**'
      tags:
      - QR Codes
      x-required-plan: Pro
      responses:
        '204':
          description: Deleted successfully — no response body.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    QrType:
      type: string
      enum:
      - URL
      - SHORTLINK
      - VCARD
      - WIFI
      - SMS
      - EMAIL
      - PHONE
      - APP_STORE
      - SOCIAL
      description: '- `URL` — Dynamic redirect QR code. Destination can be updated after creation.

        - `SHORTLINK` — Short redirect URL only. No QR image; same redirect infrastructure as URL. Separate per-tier count limit.

        - `VCARD` — Contact card encoded in the QR pattern.

        - `WIFI` — WiFi credentials encoded in the QR pattern.

        - `SMS` — Pre-filled SMS encoded in the QR pattern.

        - `EMAIL` — Pre-filled email encoded in the QR pattern.

        - `PHONE` — Phone number encoded in the QR pattern.

        - `APP_STORE` — Dynamic redirect with separate iOS and Android URLs. Managed via the dashboard only.

        - `SOCIAL` — Dynamic multi-link social profile page. Managed via the dashboard only.

        '
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
          example: QR code not found.
    QrCode:
      type: object
      required:
      - id
      - slug
      - qrType
      - scanCount
      - shortUrl
      - fgColor
      - bgColor
      - dotStyle
      - cornerStyle
      - createdAt
      properties:
        id:
          type: string
          description: Unique internal ID (cuid).
          example: clxyz123
        slug:
          type: string
          description: 8-character short code used in the redirect URL.
          example: abc12345
        qrType:
          $ref: '#/components/schemas/QrType'
        redirectUrl:
          type: string
          nullable: true
          description: Destination URL for URL-type QR codes. Null for static types.
          example: https://example.com
        qrContent:
          type: string
          nullable: true
          description: Encoded data for static QR types (vCard, WiFi, SMS, etc.). Null for URL type.
        title:
          type: string
          nullable: true
          example: Summer Campaign
        scanCount:
          type: integer
          description: Total all-time scan count (bots excluded).
          example: 482
        shortUrl:
          type: string
          description: The full scannable short URL.
          example: https://qr-m.app/abc12345
        fgColor:
          type: string
          description: Foreground colour as a 6-digit hex string.
          example: '#000000'
        bgColor:
          type: string
          description: Background colour as a 6-digit hex string.
          example: '#ffffff'
        dotStyle:
          $ref: '#/components/schemas/DotStyle'
        cornerStyle:
          $ref: '#/components/schemas/CornerStyle'
        cornerDotType:
          $ref: '#/components/schemas/CornerDotType'
        eyeOuterColor:
          type: string
          nullable: true
          description: Hex colour override for the eye outer squares. Null inherits `fgColor`.
          example: '#1a1a1a'
        eyeInnerColor:
          type: string
          nullable: true
          description: Hex colour override for the eye inner dots. Null inherits `fgColor`.
          example: '#1a1a1a'
        gradientType:
          $ref: '#/components/schemas/GradientType'
          nullable: true
        gradientEndColor:
          type: string
          nullable: true
          description: Second colour for the gradient. Required when `gradientType` is set.
          example: '#ff6600'
        errorCorrectionLevel:
          $ref: '#/components/schemas/ErrorCorrectionLevel'
        logoSize:
          type: number
          nullable: true
          minimum: 0.1
          maximum: 0.4
          description: Logo size as a fraction of the QR code width (0.1–0.4).
          example: 0.3
        logoMargin:
          type: integer
          nullable: true
          minimum: 0
          maximum: 20
          description: Padding (px) between the logo and surrounding dots.
          example: 4
        frameStyle:
          type: integer
          nullable: true
          minimum: 1
          maximum: 16
          description: Frame template (1–16). Null means no frame.
          example: 1
        frameColor:
          type: string
          nullable: true
          description: Hex colour for the frame. Only applies when `frameStyle` is set.
          example: '#000000'
        frameText:
          type: string
          nullable: true
          description: Label text shown in the frame (max 50 chars). Only applies when `frameStyle` is set.
          example: Scan me
        qrShape:
          $ref: '#/components/schemas/QrShape'
        roundSize:
          type: boolean
          description: Smooth dot edges by flooring sizes to integers (true = smoother, required for circle shape).
          default: false
        hideBackgroundDots:
          type: boolean
          description: Hide QR dots behind the logo image area.
          default: true
        bgRound:
          type: number
          nullable: true
          minimum: 0
          maximum: 1
          description: Background corner rounding (0 = square, 1 = fully rounded).
          example: 0.5
        outerMargin:
          type: integer
          nullable: true
          minimum: 0
          maximum: 40
          description: Extra whitespace (px) around the outside of the QR code.
          example: 10
        expiresAt:
          type: string
          format: date-time
          nullable: true
          description: When set, the QR code stops redirecting after this datetime.
        maxScans:
          type: integer
          nullable: true
          description: When set, the QR code stops redirecting after this many total scans.
          example: 5000
        utmSource:
          type: string
          nullable: true
          example: instagram
        utmMedium:
          type: string
          nullable: true
          example: social
        utmCampaign:
          type: string
          nullable: true
          example: spring_launch
        safetyStatus:
          type: string
          nullable: true
          enum:
          - SAFE
          - UNSAFE
          description: '`null` means the URL has not yet been screened.'
        folder:
          nullable: true
          description: The folder this QR code belongs to, or null if unfoldered.
          oneOf:
          - type: 'null'
          - type: object
            required:
            - id
            - name
            properties:
              id:
                type: string
              name:
                type: string
        createdAt:
          type: string
          format: date-time
          example: '2026-01-15T09:00:00.000Z'
    DotStyle:
      type: string
      enum:
      - square
      - dots
      - rounded
      - extra-rounded
      - classy
      - classy-rounded
      default: square
      description: Style of the QR code dot modules.
    CornerDotType:
      type: string
      enum:
      - square
      - extra-rounded
      - dot
      - dots
      - rounded
      - classy
      - classy-rounded
      default: square
      description: Style of the QR code corner finder inner dots.
    QrShape:
      type: string
      enum:
      - square
      - circle
      default: square
      description: Overall shape of the QR code — `square` (standard) or `circle` (circular).
    ErrorCorrectionLevel:
      type: string
      enum:
      - L
      - M
      - Q
      - H
      default: M
      description: 'Error correction capacity.

        - `L` — ~7% of codewords can be restored

        - `M` — ~15% (default)

        - `Q` — ~25%

        - `H` — ~30% (allows large logos)

        '
    CornerStyle:
      type: string
      enum:
      - square
      - extra-rounded
      - dot
      - dots
      - rounded
      - classy
      - classy-rounded
      default: square
      description: Style of the QR code corner finder (eye outer) squares.
    CreateQrCodeBody:
      type: object
      properties:
        qrType:
          $ref: '#/components/schemas/QrType'
          default: URL
        title:
          type: string
          description: Human-readable label shown in the dashboard.
          example: Summer Campaign
        fgColor:
          type: string
          description: Foreground colour (6-digit hex). Defaults to `#000000`.
          pattern: ^#[0-9a-fA-F]{6}$
          example: '#1a1a1a'
        bgColor:
          type: string
          description: Background colour (6-digit hex). Defaults to `#ffffff`.
          pattern: ^#[0-9a-fA-F]{6}$
          example: '#ffffff'
        dotStyle:
          $ref: '#/components/schemas/DotStyle'
        cornerStyle:
          $ref: '#/components/schemas/CornerStyle'
        cornerDotType:
          $ref: '#/components/schemas/CornerDotType'
        eyeOuterColor:
          type: string
          nullable: true
          description: Hex colour override for the eye outer squares.
          pattern: ^#[0-9a-fA-F]{6}$
          example: '#1a1a1a'
        eyeInnerColor:
          type: string
          nullable: true
          description: Hex colour override for the eye inner dots.
          pattern: ^#[0-9a-fA-F]{6}$
          example: '#1a1a1a'
        gradientType:
          $ref: '#/components/schemas/GradientType'
          nullable: true
          description: Gradient direction. Requires `gradientEndColor`.
        gradientEndColor:
          type: string
          nullable: true
          description: Second colour for the dot gradient (6-digit hex). Required when `gradientType` is set.
          pattern: ^#[0-9a-fA-F]{6}$
          example: '#ff6600'
        errorCorrectionLevel:
          $ref: '#/components/schemas/ErrorCorrectionLevel'
        logoSize:
          type: number
          nullable: true
          minimum: 0.1
          maximum: 0.4
          description: Logo size as a fraction of the QR code width (0.1–0.4). Requires a logo to be set via the dashboard.
          example: 0.3
        logoMargin:
          type: integer
          nullable: true
          minimum: 0
          maximum: 20
          description: Padding (px) between the logo and surrounding dots.
          example: 4
        frameStyle:
          type: integer
          nullable: true
          minimum: 1
          maximum: 16
          description: Frame template number (1–16). Omit for no frame.
          example: 1
        frameColor:
          type: string
          nullable: true
          description: Hex colour for the frame. Only used when `frameStyle` is set.
          pattern: ^#[0-9a-fA-F]{6}$
          example: '#000000'
        frameText:
          type: string
          nullable: true
          description: Label text in the frame (max 50 chars). Only used when `frameStyle` is set.
          example: Scan me
        qrShape:
          $ref: '#/components/schemas/QrShape'
        roundSize:
          type: boolean
          description: Smooth dot edges. Automatically enabled for `circle` shape. Defaults to `false`.
        hideBackgroundDots:
          type: boolean
          description: Hide QR dots behind the logo area. Defaults to `true`.
        bgRound:
          type: number
          nullable: true
          minimum: 0
          maximum: 1
          description: Background corner rounding (0 = square corners, 1 = fully rounded).
          example: 0.5
        outerMargin:
          type: integer
          nullable: true
          minimum: 0
          maximum: 40
          description: Extra whitespace (px) around the outside of the QR code.
          example: 10
        maxScans:
          type: integer
          minimum: 1
          nullable: true
          description: Stop redirecting after this many scans.
        expiresAt:
          type: string
          format: date-time
          nullable: true
          description: Stop redirecting after this datetime (ISO 8601).
        folder:
          type: string
          nullable: true
          description: Folder name to place the QR code in. Must already exist.
          example: Marketing
        redirectUrl:
          type: string
          description: '**URL and SHORTLINK types — required.** The destination to redirect to.'
          example: https://example.com/campaign
        utmSource:
          type: string
          description: '**URL type only.** Appended as `utm_source` to redirectUrl.'
        utmMedium:
          type: string
          description: '**URL type only.** Appended as `utm_medium` to redirectUrl.'
        utmCampaign:
          type: string
          description: '**URL type only.** Appended as `utm_campaign` to redirectUrl.'
        vcardName:
          type: string
          description: '**VCARD type — required.** Full name.'
          example: Jane Smith
        vcardOrg:
          type: string
          description: '**VCARD type.** Organisation.'
        vcardPhone:
          type: string
          description: '**VCARD type.** Phone number.'
        vcardEmail:
          type: string
          description: '**VCARD type.** Email address.'
        vcardUrl:
          type: string
          description: '**VCARD type.** Website URL.'
        vcardAddress:
          type: string
          description: '**VCARD type.** Street address.'
        wifiSsid:
          type: string
          description: '**WIFI type — required.** Network name (SSID).'
        wifiPassword:
          type: string
          description: '**WIFI type.** Network password.'
        wifiSecurity:
          type: string
          enum:
          - WPA
          - WEP
          - nopass
          default: WPA
          description: '**WIFI type.** Security protocol.'
        smsPhone:
          type: string
          description: '**SMS type — required.** Recipient phone number.'
        smsMessage:
          type: string
          description: '**SMS type.** Pre-filled message body.'
        emailTo:
          type: string
          description: '**EMAIL type — required.** Recipient email address.'
        emailSubject:
          type: string
          description: '**EMAIL type.** Pre-filled subject line.'
        emailBody:
          type: string
          description: '**EMAIL type.** Pre-filled email body.'
        phone:
          type: string
          description: '**PHONE type — required.** Phone number to dial.'
    UpdateQrCodeBody:
      type: object
      description: All fields are optional. Pass `null` to clear a nullable field.
      properties:
        title:
          type: string
          nullable: true
          example: Updated Title
        fgColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        bgColor:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
        dotStyle:
          $ref: '#/components/schemas/DotStyle'
        cornerStyle:
          $ref: '#/components/schemas/CornerStyle'
        cornerDotType:
          $ref: '#/components/schemas/CornerDotType'
        eyeOuterColor:
          type: string
          nullable: true
          pattern: ^#[0-9a-fA-F]{6}$
          description: Hex colour for the eye outer squares. Pass `null` to clear.
        eyeInnerColor:
          type: string
          nullable: true
          pattern: ^#[0-9a-fA-F]{6}$
          description: Hex colour for the eye inner dots. Pass `null` to clear.
        gradientType:
          $ref: '#/components/schemas/GradientType'
          nullable: true
          description: Gradient direction. Pass `null` to remove the gradient (also clears `gradientEndColor`).
        gradientEndColor:
          type: string
          nullable: true
          pattern: ^#[0-9a-fA-F]{6}$
          description: Second gradient colour. Pass `null` to clear.
        errorCorrectionLevel:
          $ref: '#/components/schemas/ErrorCorrectionLevel'
        logoSize:
          type: number
          nullable: true
          minimum: 0.1
          maximum: 0.4
          description: Logo size fraction (0.1–0.4). Pass `null` to reset to default.
        logoMargin:
          type: integer
          nullable: true
          minimum: 0
          maximum: 20
          description: Logo padding (px). Pass `null` to reset to default.
        frameStyle:
          type: integer
          nullable: true
          minimum: 1
          maximum: 16
          description: Frame template (1–16). Pass `null` to remove the frame (also clears `frameColor` and `frameText`).
        frameColor:
          type: string
          nullable: true
          pattern: ^#[0-9a-fA-F]{6}$
          description: Frame colour. Pass `null` to clear.
        frameText:
          type: string
          nullable: true
          description: Frame label text (max 50 chars). Pass `null` to clear.
        qrShape:
          $ref: '#/components/schemas/QrShape'
        roundSize:
          type: boolean
          description: Smooth dot edges.
        hideBackgroundDots:
          type: boolean
          description: Hide QR dots behind the logo area.
        bgRound:
          type: number
          nullable: true
          minimum: 0
          maximum: 1
          description: Background corner rounding (0–1). Pass `null` to reset to default.
        outerMargin:
          type: integer
          nullable: true
          minimum: 0
          maximum: 40
          description: Outer whitespace (px). Pass `null` to reset to default.
        maxScans:
          type: integer
          minimum: 1
          nullable: true
        expiresAt:
          type: string
          format: date-time
          nullable: true
        folder:
          type: string
          nullable: true
          description: Folder name. Pass `null` to move the QR code out of any folder.
        redirectUrl:
          type: string
          description: '**URL and SHORTLINK types.** New redirect destination.'
        utmSource:
          type: string
          nullable: true
        utmMedium:
          type: string
          nullable: true
        utmCampaign:
          type: string
          nullable: true
        vcardName:
          type: string
        vcardOrg:
          type: string
        vcardPhone:
          type: string
        vcardEmail:
          type: string
        vcardUrl:
          type: string
        vcardAddress:
          type: string
        wifiSsid:
          type: string
        wifiPassword:
          type: string
        wifiSecurity:
          type: string
          enum:
          - WPA
          - WEP
          - nopass
        smsPhone:
          type: string
        smsMessage:
          type: string
        emailTo:
          type: string
        emailSubject:
          type: string
        emailBody:
          type: string
        phone:
          type: string
    GradientType:
      type: string
      enum:
      - linear
      - upDown
      - diagonal1
      - diagonal2
      - radial
      description: Gradient direction applied to the dot modules. Requires `gradientEndColor`.
  responses:
    PlanLimitReached:
      description: The account has reached its QR code limit for the current plan.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Account limit of 250 QR codes reached.
    NotFound:
      description: The requested resource does not exist or belongs to another account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: QR code not found.
    UnprocessableEntity:
      description: The request is well-formed but cannot be processed due to a business rule constraint (e.g. a URL failed safety screening).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: notifyOnScansLeft requires the QR code to have a maxScans limit set.
    BadRequest:
      description: The request body is missing required fields or contains invalid values.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: redirectUrl is required for URL type
    Forbidden:
      description: Your plan does not include access to this endpoint.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: API access requires a Starter account or above.
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key from Settings → API Keys. Keys are prefixed with `qrm_`.