QR Codes - Dynamisch

GET https://qreq.com/api/qr-codes-dynamic
curl --request GET \
--url 'https://qreq.com/api/qr-codes-dynamic' \
--header 'Authorization: Bearer {api_key}'
{ "data": [ { "id": 10, "name": "Promo QR", "type": "url", "destination_url": "https://example.com/special-offer", "short_url": "https://qreq.com/d/abc123", "qr_code": "https://qreq.com/uploads/qrcodes/10.png", "scans": 152, "status": "active", "datetime": "2025-01-15 11:30:00" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://qreq.com/api/qr-codes-dynamic?page=1", "last": "https://qreq.com/api/qr-codes-dynamic?page=1", "next": null, "prev": null, "self": "https://qreq.com/api/qr-codes-dynamic?page=1" } }
GET https://qreq.com/api/qr-codes-dynamic/{qr_id}
curl --request GET \
--url 'https://qreq.com/api/qr-codes-dynamic/{qr_id}' \
--header 'Authorization: Bearer {api_key}'
{ "data": { "id": 10, "name": "Promo QR", "type": "url", "destination_url": "https://example.com/special-offer", "short_url": "https://qreq.com/d/abc123", "qr_code": "https://qreq.com/uploads/qrcodes/10.png", "scans": 152, "status": "active", "datetime": "2025-01-15 11:30:00" } }
POST https://qreq.com/api/qr-codes-dynamic
Parameter Einzelheiten Beschreibung
name Erforderlich Zeichenfolge Name of the QR code
type Erforderlich Zeichenfolge Type of QR (url, text, email, phone, etc.)
destination_url Erforderlich Zeichenfolge Target URL or redirect destination
status Optional Zeichenfolge active / inactive
curl --request POST \
--url 'https://qreq.com/api/qr-codes-dynamic' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Promo QR' \
--form 'type=url' \
--form 'destination_url=https://example.com/special-offer' \
--form 'status=active'
POST https://qreq.com/api/qr-codes-dynamic/{qr_id}
Parameter Einzelheiten Beschreibung
name Optional Zeichenfolge Update QR name
destination_url Optional Zeichenfolge Update redirect URL
status Optional Zeichenfolge active / inactive
DELETE https://qreq.com/api/qr-codes-dynamic/{qr_id}
curl --request DELETE \
--url 'https://qreq.com/api/qr-codes-dynamic/{qr_id}' \
--header 'Authorization: Bearer {api_key}'