Skip to main content
POST
/
qr
Create a QR
curl --request POST \
  --url https://app.stickyqr.com/api/qr \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "points": 10
}'
{
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "code": "<string>",
  "rewardPoints": 123,
  "status": "<string>",
  "usedDate": "<string>",
  "qrURL": "<string>",
  "qrImageURL": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

x-lang
string
default:en

Language support

Example:

"en"

Query Parameters

createQRImage
string

If 1, generate QR code image

Example:

"1"

Body

application/json
points
number
required

The number of reward points to be associated with the generated QR code

Example:

10

Response

200 - application/json

Successful Response

createdAt
string

Timestamp of object creation in ISO 8601 format

updatedAt
string | null

Timestamp of the last update made to the object, in ISO 8601 format

code
string

Unique identifier for the QR code

rewardPoints
number

Number of reward points associated with the QR code

status
string

Current status of the QR code

usedDate
string | null

Timestamp indicating when the QR code was used, in ISO 8601 format

qrURL
string

URL link to access the QR code

qrImageURL
string

URL link to the image of the QR code