Skip to main content
POST
Validate QR content against a category schema

Purpose

Use this endpoint to validate QR Code data before creation.
It checks that the category and info parameters match expected JSON structure for that QR type (e.g., URL, Social Media, Business Card, etc.).
This helps catch issues like:
  • Missing required fields
  • Invalid URLs
  • Wrong type values
  • Malformed JSON strings

Request Body (Form Data)

Examples

Validate Website URL QR Code Data

Validate Social Media QR Code Data

Validate Business Card QR Code Data

Validate Event QR Code Data

Successful Response (200)

If the provided data is valid, the API returns a simple success message:
HTTP Status: 200 OK

Error Responses

400 Bad Request — Invalid Data

The info object failed validation.
Common issues include missing fields, invalid type, or incorrect data formats.
Example - Invalid Type Values
Example - Missing Required Fields
Example - Invalid URL Format
Example - Invalid Email Format
Example - Invalid Phone Format

Integration Examples

JavaScript Form Validation

Python Validation

PHP Validation

Notes & Best Practices

  • Always validate before creating or updating dynamic QR Codes — this ensures error-free QR landing pages.
  • The validation engine mimics internal creation logic, so a passing validation guarantees successful QR creation (if unchanged).
  • Recommended especially when:
    • Building integrations that generate multiple QR codes in bulk
    • Accepting user-provided input through a form or external data source
  • Use this endpoint in your pre-deployment QA pipeline to validate info templates for all categories.

Authorizations

Authorization
string
header
required

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

Response

The payload is valid.