Developer API Documentation

Introduction

Welcome to the QR Code 42 Developer API. Our REST-like API allows you to programmatically manage your assets and retrieve tracking data.

Authentication: Currently, the API uses your active web session. For automated tools, future support for API Keys is in development.

QR Codes

GET /api/qr_codes.php

List all QR codes.

GET /api/qr_codes.php?id={id}

Get details for a specific QR code.

POST /api/qr_codes.php

Create a new QR code.

{ "qr_type": "url", "data_url": "https://google.com", "name": "Google Search" }

Landing Pages

GET /api/landing_pages.php

Retrieve your multi-link landing pages.

POST /api/landing_pages.php

Initialize a new landing page.

Custom Domains

GET /api/custom_domains.php

Check status of your linked domains.

POST /api/custom_domains.php

Register a new domain for verification.

Analytics Data

GET /api/analytics.php?type=overview

Get aggregated scan/click counts.

GET /api/analytics.php?type=qr_code&id={id}&days=30

Retrieve daily performance for a specific asset.