PulseQR API Reference
Overzicht
De PulseQR API stelt je in staat om dynamische QR codes te genereren, beheren en analyseren. Alle QR codes zijn volledig geïntegreerd met PulseGuard voor status pagina’s en incident communicatie.Authenticatie
QR Code Generatie
QR Code Aanmaken
Endpoint:POST /api/pulseqr/generate
Request Body:
QR Code Bijwerken
Endpoint:PUT /api/pulseqr/{qr_id}
Request Body:
QR Code Verwijderen
Endpoint:DELETE /api/pulseqr/{qr_id}
Response: 204 No Content
QR Code Beheer
QR Codes Lijst
Endpoint:GET /api/pulseqr
Query Parameters:
status(string):active,expired,disabledtags(array): Filter op tagslimit(number): Max resultaten (default: 50)offset(number): Pagination offset
QR Code Details
Endpoint:GET /api/pulseqr/{qr_id}
Response:
Analytics & Tracking
Scan Analytics
Endpoint:GET /api/pulseqr/{qr_id}/analytics
Query Parameters:
period(string):1h,24h,7d,30dgroup_by(string):hour,day,country
Bulk Operaties
Bulk QR Generatie
Endpoint:POST /api/pulseqr/batch/generate
Request Body:
Content Types
Ondersteunde Content Types
URL:Design Opties
Basis Design
Geavanceerd Design
Security Features
Access Control
Audit Logging
Webhook Integratie
Webhook Configuratie
Endpoint:POST /api/pulseqr/webhooks
Request Body:
Webhook Events
Rate Limits & Quotas
API Limits (per uur)
- Generate: 100 QR codes
- Update: 500 updates
- Analytics: 1000 requests
- Bulk operations: 10 batches
Plan Quotas
SDKs & Tools
JavaScript SDK
cURL Examples
Error Handling
Error Responses
400 Bad Request:Best Practices
QR Code Design
- Error Correction: Gebruik level M of H voor drukwerk
- Size: Minimaal 200x200 pixels voor goede scanbaarheid
- Contrast: Zorg voor voldoende contrast tussen voor- en achtergrond
- Logo: Logo mag niet meer dan 30% van QR code oppervlak bedekken
Content Management
- Short URLs: Gebruik korte URLs voor betere QR density
- Dynamic Content: Update QR content bij status veranderingen
- Expiration: Stel redelijke expiration tijden in
- Backup Content: Zorg voor fallback als primary content faalt
Analytics & Optimization
- Monitor Scans: Track scan rates en locations
- A/B Testing: Test verschillende designs
- Optimize Placement: Plaats QR codes waar ze zichtbaar zijn
- Update Regularly: Vernieuw QR codes bij content changes
Security Considerations
- Password Protection: Gebruik voor gevoelige QR codes
- Scan Limits: Stel maximum aantal scans in
- IP Restrictions: Limiteer toegang tot specifieke netwerken
- Audit Logging: Monitor alle scan activiteiten

