curl -X GET "https://snip.sa/api/qr-codes?page=1&limit=20" \
-H "X-API-Key: your_api_key_here"
{
"success": true,
"data": {
"qrCodes": [
{
"_id": "qr123",
"urlId": "507f1f77bcf86cd799439011",
"imageUrl": "https://snip.sa/qr-codes/qr123.png",
"size": 500,
"format": "png",
"createdAt": "2024-01-15T10:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"pages": 1
}
}
}
Get all QR codes for your URLs
curl -X GET "https://snip.sa/api/qr-codes?page=1&limit=20" \
-H "X-API-Key: your_api_key_here"
{
"success": true,
"data": {
"qrCodes": [
{
"_id": "qr123",
"urlId": "507f1f77bcf86cd799439011",
"imageUrl": "https://snip.sa/qr-codes/qr123.png",
"size": 500,
"format": "png",
"createdAt": "2024-01-15T10:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"pages": 1
}
}
}
curl -X GET "https://snip.sa/api/qr-codes?page=1&limit=20" \
-H "X-API-Key: your_api_key_here"
{
"success": true,
"data": {
"qrCodes": [
{
"_id": "qr123",
"urlId": "507f1f77bcf86cd799439011",
"imageUrl": "https://snip.sa/qr-codes/qr123.png",
"size": 500,
"format": "png",
"createdAt": "2024-01-15T10:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"pages": 1
}
}
}