An idea. A connection.
Automate QR links with the QRinio API
The API is useful when your own system needs to manage QR destinations and shortlinks. It stores items and returns fields including ID, slug and revision; it does not render PNG files on the server. The slug and assigned domain determine the redirect address, which you can render with a QR library or download from your account.
Updated:
CSV → QR
Illustration: this sample code opens example.com.
Start with a read-only request
The following curl request for Bash/POSIX shells only reads quotas. It assumes QRINIO_API_KEY is already securely set in that shell. PowerShell uses different variable syntax and line continuation; do not paste this block into it unchanged.
Idempotency keys are retained for 24 hours. After that window, first check whether the item already exists rather than blindly repeating a creation.
- In your verified account, create a read key under API keys first. Keep it server-side and share neither the key nor complete request logs.
- Run the read-only example and check the HTTP status and JSON response. Resolve authentication, key permissions and the response code before proceeding after an error.
- Creating items requires write permissions. Use the POST example in the linked API documentation and a separate idempotency key for each intended creation.
- If a creation result is uncertain, repeat the same request with the same idempotency key. Store the ID and revision; read the current version before PATCH and deliberately resolve any version conflict.
- Without a custom domain, form https://qrinio.com/r/<slug> from the returned slug and test it with the QR channel enabled. A custom domain uses its own hostname. Revoke unneeded test keys; a successful API request does not create a PNG file.
curl --fail-with-body 'https://qrinio.com/api/v1/quotas' \
--header "Authorization: Bearer $QRINIO_API_KEY"Quick checklist
Create a read or write API key in account settings and keep it on your server.
Follow the API documentation to create a resource with an idempotency key.
Store the resource ID and revision; read the latest version before updating it.
What to keep in mind
Keys inherit the account’s permissions and limits. They do not increase quota. A read key cannot mutate resources; security-sensitive account actions require an interactive session.
Frequently asked questions
- Can a website expose the API key in browser JavaScript?
- No. Treat the key like a password and call the API from your own server. Revoke a key immediately if it is exposed.
Keep exploring
Create QR codes from Excel or Google Sheets using CSV
Export a sheet as CSV, check up to 100 records and download QR codes as ZIP. Includes templates, an import example and help with common formatting errors.
Dynamic QR codes: change the destination
Create an editable QR link, update its destination and compare QR scans with short-link clicks in your account.
Set up a custom domain for QR codes: tutorial
Connect your QR subdomain to QRinio with example TXT and CNAME records, automatic HTTPS setup and a test before printing.