⚡ 5 minutes
Quickstart : votre premier QR en 5 minutes
Suivez ces 3 étapes pour créer votre premier QR code via l'API. Aucune dépendance requise.
1
Récupérez votre clé API
Connectez-vous au tableau de bord et créez une clé depuis /app/api-keys. Choisissez les scopes qr:read et qr:write.
# Store your key in an environment variable
export IZIQR_API_KEY="izi_live_a3f24c8e9b1d7e2f6a8c4b9d3e5f1a7b2c9..."2
Créez votre premier QR code
Envoyez un POST vers /api/v1/qr :
curl -X POST https://iziqrcode.com/api/v1/qr \
-H "Authorization: Bearer $IZIQR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "url",
"name": "My first campaign",
"dynamic": true,
"data": { "url": "https://example.com" },
"design": { "fgColor": "#8b78ff", "shape": "rounded" }
}'Vous devriez obtenir un 201 Created :
201 Created
{
"id": "qr_abc123def456",
"shortCode": "x7K2P9",
"type": "url",
"name": "My first campaign",
"dynamic": true,
"shortUrl": "https://iziqr.co/x7K2P9",
"qrImageUrl": "https://iziqrcode.com/api/v1/qr/qr_abc123def456/image",
"scanCount": 0,
"createdAt": "2026-05-18T10:00:00Z"
}3
Récupérez l'image
Utilisez l'URL qrImageUrl pour la télécharger en PNG / SVG / PDF :
# High-resolution PNG
curl "https://iziqrcode.com/api/v1/qr/qr_abc123/image?format=png&size=1024" \
-H "Authorization: Bearer $IZIQR_API_KEY" \
-o mon-qr.png
# Vector SVG
curl "https://iziqrcode.com/api/v1/qr/qr_abc123/image?format=svg" \
-H "Authorization: Bearer $IZIQR_API_KEY" \
-o my-qr.svgC'est tout — votre premier QR est en ligne.
Explorez les autres endpoints : analytics, webhooks, opérations en lot…