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

# Retrieve a QR code



## OpenAPI

````yaml GET /qr/[linkId]
openapi: 3.0.1
info:
  title: SupaQR
  description: ''
  version: 1.0.0
servers:
  - url: https://api.supaqr.com
    description: 正式环境
security:
  - bearer: []
tags: []
paths:
  /qr/[linkId]:
    get:
      tags: []
      summary: Retrieve a QR code
      parameters:
        - name: qrTemplateId
          in: query
          description: The ID of the QR code template.
          required: false
          schema:
            type: string
            nullable: true
        - name: format
          in: query
          description: The format of the QR code
          required: false
          schema:
            type: string
            enum:
              - image
              - base64
            default: image
        - name: width
          in: query
          description: The width of the QR code
          required: false
          example: 0
          schema:
            type: integer
            default: 600
            maximum: 1000
            minimum: 100
            format: int32
        - name: texts
          in: query
          description: |-
            The texts in the frame. 
            eg. texts=text1&texts=text2
          required: false
          schema:
            type: array
            items:
              type: string
            uniqueItems: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                oneOf:
                  - type: string
                    title: When format = "image"
                    description: Image stream
                  - type: object
                    properties:
                      qrImage:
                        type: string
                        description: QR code in Base64 format.
                    required:
                      - qrImage
                    title: When format = "base64"
          headers: {}
      deprecated: false
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````