Developers

Create a tracked QR

POST /api/tracker/qrcode creates a website-redirect tracker and returns a QR image for it. Scans show up in Autonix analytics and can be polled via the visits API (Zapier uses this path for last-mile routing).

curl

curl -X POST https://app.autonix.io/api/tracker/qrcode \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "redirect_url": "https://example.com/campaign-a",
    "name": "Campaign A"
  }'

JavaScript

const res = await fetch('https://app.autonix.io/api/tracker/qrcode', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.AUTONIX_API_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    redirect_url: 'https://example.com/campaign-a',
    name: 'Campaign A',
  }),
});
const data = await res.json();
// data contains the generated QR payload for the new tracker

List scans

curl -H "Authorization: Bearer YOUR_TOKEN" \
  https://app.autonix.io/api/visits/tracker/TRACKER_ID

See the API reference for the full curated surface.