Maak, werk bij en beheer dynamische QR-codes programmatically. Elke QR-code kan worden aangepast met kleuren, logo's en trackingmogelijkheden.
| Methode | Eindpunt | Beschrijving |
|---|---|---|
POST | /organizations/:orgId/qr-codes | Maak een nieuwe QR-code aan |
GET | /organizations/:orgId/qr-codes | Lijst alle QR-codes |
GET | /organizations/:orgId/qr-codes/:id | Haal een specifieke QR-code op |
PUT | /organizations/:orgId/qr-codes/:id | Werk een QR-code bij |
DELETE | /organizations/:orgId/qr-codes/:id | Verwijder een QR-code |
GET | /organizations/:orgId/qr-codes/:id/download | Download QR-code afbeelding |
Maak een nieuwe dynamische QR-code met aanpasbare inhoud en styling.
/organizations/:orgId/qr-codes| Parameter | Type | Vereist | Beschrijving |
|---|---|---|---|
| type | string | Vereist | QR-code type (URL, VCARD, WIFI, enz.) |
| name | string | Vereist | Weergavenaam voor de QR-code |
| data | object | Vereist | Inhoudsdata (verschilt per type) |
| style | object | Optioneel | Visuele aanpassingsopties |
| folderId | string | Optioneel | Map om de QR-code te organiseren |
| tags | string[] | Optioneel | Tags voor categorisatie |
curl -X POST \
https://api.iloveqr.com/api/v1/organizations/org_abc123/qr-codes \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "URL",
"name": "Company Website",
"data": {
"url": "https://example.com"
},
"style": {
"foregroundColor": "#000000",
"backgroundColor": "#FFFFFF",
"cornerRadius": 10
}
}'{
"id": "qr_xyz789",
"type": "URL",
"name": "Company Website",
"shortUrl": "https://ilqr.co/xyz789",
"shortCode": "xyz789",
"data": {
"url": "https://example.com"
},
"style": {
"foregroundColor": "#000000",
"backgroundColor": "#FFFFFF",
"cornerRadius": 10
},
"status": "ACTIVE",
"totalScans": 0,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}Haal een gepagineerde lijst van QR-codes op met optionele filtering.
/organizations/:orgId/qr-codes| Parameter | Type | Beschrijving |
|---|---|---|
| page | number | Paginanummer (standaard: 1) |
| limit | number | Items per pagina (standaard: 20, max: 100) |
| type | string | Filter op QR-code type |
| folderId | string | Filter op map |
| search | string | Zoek op naam |
| status | string | Filter op status (ACTIEF, GEAARCHIVEERD) |
Werk de inhoud, styling of metadata van een bestaande QR-code bij. De QR-code afbeelding blijft hetzelfde terwijl de bestemming verandert.
/organizations/:orgId/qr-codes/:idcurl -X PUT \
https://api.iloveqr.com/api/v1/organizations/org_abc123/qr-codes/qr_xyz789 \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Website",
"data": {
"url": "https://new-url.example.com"
}
}'Verwijder een QR-code permanent. Deze actie kan niet ongedaan worden gemaakt. De korte URL stopt met werken.
/organizations/:orgId/qr-codes/:idcurl -X DELETE \
https://api.iloveqr.com/api/v1/organizations/org_abc123/qr-codes/qr_xyz789 \
-H "X-API-Key: YOUR_API_KEY"Link naar elke website of webpagina
Deel contactinformatie
Verbind met WiFi-netwerken
Link naar PDF-documenten
Vooraf ingevulde e-mailopstelling
Vooraf ingevuld SMS-bericht
Directe telefoongesprek
Gewone tekstinhoud
Digitale restaurantmenu
App store links
Videocontentlinks
Social media links
Leer meer over gerelateerde functies: