Skip to main content
PATCH
/
qr
/
{qrid}
curl --request PATCH \ --url https://management.scanova.io/qr/{qrid}/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "form": 301 }'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.scanova.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Attaches a form to a QR code. When users scan the QR code, they will be prompted to fill out the form before accessing the content.

Path Parameters

ParameterTypeRequiredDescriptionExample
qridstringYesQR code IDQc3ca09e1a5574caf

Request Body

FieldTypeRequiredDescriptionExample
formintegerYesForm ID to attach to the QR code301

Examples

Attach Form to QR Code

curl -X PATCH "https://management.scanova.io/qr/Qc3ca09e1a5574caf/" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "form": 301
  }'

Response

Returns the updated QR code object with the form information included in the dynamic_url_object.

Form Behavior

When a form is attached to a QR code:
  1. User scans QR code
  2. Form is displayed (based on form configuration)
  3. User fills out the form (or skips if allowed)
  4. User is redirected to the original QR code content
  5. Submission data is captured and stored

Important Notes

  • One Form Per QR Code: Each QR code can only have one form attached
  • Multiple QR Codes: One form can be attached to multiple QR codes
  • Active Forms Only: Only active forms can be attached
  • Immediate Effect: Changes take effect immediately

Use Cases

  • Lead Generation: Capture leads from QR code scans
  • Event Registration: Collect attendee information at events
  • Customer Feedback: Gather feedback before accessing content
  • Contact Collection: Build contact lists from QR code interactions
  • Survey Data: Collect survey responses through QR codes
The form must be active (is_active: true) to be attached to a QR code. If you try to attach an inactive form, the request will fail.
Attaching a form to a QR code will immediately start capturing submissions. Make sure your form is properly configured before attaching.

Authorizations

Authorization
string
header
required

API key authentication. Enter your API key directly in the Authorization header.

Path Parameters

qrid
string
required

QR code ID

Body

application/json
form
integer
required

Form ID to attach to the QR code

Example:

301

Response

QR code updated successfully

Updated QR code object with form information