GET
/
qr
/
templates
Retrieve a list of QR code templates
curl --request GET \
  --url https://api.supaqr.com/qr/templates \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "comment": "<string>",
    "image": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ids
string[]

IDs of templates to filter by. eg. ids=id1&ids=id2

The search term to filter the templates by.

Maximum length: 100
sortBy
enum<string>
default:created_at

The field to sort the templates by.

Available options:
created_at,
name
sortOrder
enum<string>
default:desc

The order to sort the templates by.

Available options:
desc,
asc
page
integer
default:1

The page number for pagination.

pageSize
integer
default:20

The number of templates per page.

Required range: 10 <= x <= 100
showArchived
boolean
default:false

Whether to include archived templates in the response.

Response

200 - application/json

The response is of type object[].