QR Code List
Retrieve a list of all QR codes you've previously generated. This allows you to track and manage your QR codes, including their URLs and expiration dates.
Endpoint
List all QR codes in your account
GEThttps://api.xtartapp.com/utils/qr-code
*Authentication
You must use a Bearer token provided by the dashboard to use for authentication. Add the token to the Authorization header.
Request body
Name | Type | Required | Max | Description |
---|---|---|---|---|
page | number | No | - | Page number for pagination (defaults to 1) |
Response
Name | Type | Description |
---|---|---|
data | array | Array of QR code objects, max 25 items is returned |
data[].qrCode | string | URL to access the QR code image |
data[].qrKey | string | Unique identifier for the QR code, used for management operations |
data[].expiresAt | string | The expiration date of the QR code in ISO 8601 format |
data[].scans | number | The number of scans for the QR code |
metadata | object | Metadata about the QR code list request |
metadata.cost | number | The cost of the QR code list request |
Errors
{
"error": "string",
"code": "string"
}
HTTP Status | Error Code | Message |
---|---|---|
400 | INVALID_PAYLOAD | Occurs when the payload is invalid. |
400 | INVALID_REQUEST | The request is invalid or contains an invalid parameter. |
400 | UTILS_QR_CODE_ERROR | Error during QR code retrieval process. |
400 | INSUFFICIENT_BALANCE | The user has insufficient balance to perform this operation. |
401 | UNAUTHORIZED | The token is invalid or missing. |
429 | TOO_MANY_REQUESTS | The request limit has been reached. |