Create a QR code
Creates a static or dynamic QR code. Dynamic codes get a shortCode; scans of https://ez-qr.com/r/{shortCode} redirect to targetUrl. Creating a dynamic code counts toward your plan's dynamic code limit.
bearerAuthAuthorizationBearer <token>API key from Settings → API keys, sent as Authorization: Bearer ezqr_…. Requires the Max plan.
application/json- body
name*string1 <= lengthtype*string"static""dynamic"contentType*stringcontent*stringtargetUrl?stringDynamic codes: where scans go. Defaults to content when that's a URL
uristyle?folderId?stringuuiddomainId?stringServe a dynamic code from one of your verified custom domains
uuidsmartRules?Route scans by device, time or location
abTestConfig?The created QR code
application/json- response
data*curl -X POST 'https://ez-qr.com/api/v1/qr-codes' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "static", "contentType": "string", "content": "string"}'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "type": "static", "contentType": "string", "content": "string", "targetUrl": "string", "shortCode": "string", "style": {}, "isActive": true, "totalScans": 0, "scheduledStart": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Get scan analytics GET
Human scans for one QR code over a period, with breakdowns by day, device, location and referrer.
Create QR codes in bulk POST
Creates up to 100 codes in one request. Invalid items are skipped and reported in `errors`; valid items are created together, or none are if the dynamic code limit would be exceeded.