Skip to main content
Manage saved QR code images generated for genies. QR codes link directly to genie conversation pages.
Users can only view and manage their own QR codes. There is no admin mode for this resource.

List QR codes

Lists all saved QR codes for the authenticated user.
resource
string
required
Must be "qr-code".
action
string
required
Must be "all".
data
object
success
boolean
data
object
curl -s -X POST https://api.helpgenie.ai/v1/qr-code \
  -H "Authorization: Bearer hg_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "action": "all" }'

Create QR code

Creates a new QR code record.
resource
string
required
Must be "qr-code".
action
string
required
Must be "create".
data
object
required

Delete QR code

Soft-deletes a QR code record (sets is_deleted to true).
resource
string
required
Must be "qr-code".
action
string
required
Must be "delete".
id
string
required
The QR code record ID.

Increment download

Increments the download counter for a QR code.
resource
string
required
Must be "qr-code".
action
string
required
Must be "increment-download".
id
string
required
The QR code record ID.
data
object
required