Create, update, and manage dynamic QR codes programmatically. Each QR code can be customized with colors, logos, and tracking capabilities.
| Method | Endpoint | Description |
|---|---|---|
POST | /organizations/:orgId/qr-codes | Create a new QR code |
GET | /organizations/:orgId/qr-codes | List all QR codes |
GET | /organizations/:orgId/qr-codes/:id | Get a specific QR code |
PUT | /organizations/:orgId/qr-codes/:id | Update a QR code |
DELETE | /organizations/:orgId/qr-codes/:id | Delete a QR code |
GET | /organizations/:orgId/qr-codes/:id/download | Download QR code image |
Create a new dynamic QR code with customizable content and styling.
/organizations/:orgId/qr-codes| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Required | QR code type (URL, VCARD, WIFI, etc.) |
| name | string | Required | Display name for the QR code |
| data | object | Required | Content data (varies by type) |
| style | object | Optional | Visual customization options |
| folderId | string | Optional | Folder to organize the QR code |
| tags | string[] | Optional | Tags for categorization |
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"
}Retrieve a paginated list of QR codes with optional filtering.
/organizations/:orgId/qr-codes| Parameter | Type | Description |
|---|---|---|
| page | number | Page number (default: 1) |
| limit | number | Items per page (default: 20, max: 100) |
| type | string | Filter by QR code type |
| folderId | string | Filter by folder |
| search | string | Search by name |
| status | string | Filter by status (ACTIVE, ARCHIVED) |
Update an existing QR code's content, styling, or metadata. The QR code image remains the same while the destination changes.
/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"
}
}'Permanently delete a QR code. This action cannot be undone. The short URL will stop working.
/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 to any website or web page
Share contact information
Connect to WiFi networks
Link to PDF documents
Pre-filled email composition
Pre-filled SMS message
Direct phone call
Plain text content
Digital restaurant menu
App store links
Video content links
Social media links
Learn about related features: