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

# List trashed QR Codes

> GET /qr/trash/

Lists the account's soft-deleted QR Codes — everything that has been through [Delete a QR Code](/api-reference/management-api/qr/delete) but not yet permanently removed.

```
GET    https://api.scanova.io/qr/trash/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
```

Supports the same `search`, `category`, `tags`, `type`, and `ordering` parameters as [List QR Codes](/api-reference/management-api/qr/list#query-parameters).

<RequestExample>
  ```bash cURL theme={null}
  curl -G "https://api.scanova.io/qr/trash/" \
    -H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
    -d ordering=-created
  ```
</RequestExample>

<Note>
  The trash shape extends the minimal listing shape rather than the full one. Notably it adds `deleted` (the soft-deletion timestamp), the nested `category`, `tags_list`, and `scan_count`, and reduces `dynamic_url_object` to just `{"has_qr": ...}`.
</Note>

Only the calling account's soft-deleted rows are ever returned.

## Related

* [Restore trashed QR Codes](/api-reference/management-api/qr/trash-restore) — bring these QR Codes back.
* [Permanently delete trashed QR Codes](/api-reference/management-api/qr/trash-delete) — remove them for good.
* [Delete a QR Code](/api-reference/management-api/qr/delete) — the operation that fills this list.
* [List QR Codes](/api-reference/management-api/qr/list) — the equivalent listing for active QR Codes.
* [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 GET /qr/trash/
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/trash/:
    get:
      summary: List trashed QR codes
      description: >-
        The account's soft-deleted QR codes. Supports the same filter, search,
        and ordering parameters as the main list endpoint. The shape extends the
        minimal serializer with `deleted`, the nested `category`, `tags_list`,
        `scan_count`, and a reduced `dynamic_url_object` of just `{"has_qr":
        ...}`.
      operationId: listQrCodeTrash
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
          description: Free-text search, same fields as the main list endpoint.
        - name: category
          in: query
          required: false
          schema:
            type: string
          description: Comma-separated category ids or slugs.
        - name: tags
          in: query
          required: false
          schema:
            type: string
          description: Comma-separated tag names.
        - name: type
          in: query
          required: false
          schema:
            type: string
          description: 'Comma-separated QR types: `dy`, `st`.'
        - name: ordering
          in: query
          required: false
          schema:
            type: string
          description: Same ordering fields as the main list endpoint.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: Page number.
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            default: 10
          description: Results per page, maximum `100`.
      responses:
        '200':
          description: Paginated list of soft-deleted QR codes.
          content:
            application/json:
              example:
                count: 3
                next: null
                previous: null
                results:
                  - id: 1039
                    qrid: Qe5f6g7h8i9j0k1l
                    name: Spring Menu
                    qr_type: dy
                    qr_type_display: Dynamic
                    short_url: https://scnv.io/d4e5f6g7
                    thumbnail: null
                    is_active: false
                    published_at: '2026-03-01T10:00:00Z'
                    category_slug: url
                    is_currently_draft: false
                    has_landing_page: false
                    deleted: '2026-08-01T16:22:09Z'
                    category:
                      id: 3
                      name: Website URL
                      slug: url
                      allowed_qr_types: dy
                      has_landing_page: false
                    tags_list:
                      - menu
                    dynamic_url_object:
                      has_qr: true
                    scan_count: 318
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.

````