curl -X GET "https://vantio.app/api/v1/impressions/imp_123abc" \ -H "Authorization: Bearer sk_your_secret_key_here"
Copy
{ "id": "imp_123abc", "poster_id": "poster_123abc", "program_id": "prog_123abc", "student_id": "user_123abc", "scanned_at": "2024-01-15T10:30:00Z", "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15", "ip_address": "192.168.1.1", "metadata": { "device_type": "mobile", "location": "campus_center", "referrer": "direct" }}
Impressions
Get Impression
Retrieve detailed information about a specific QR code scan
GET
/
api
/
v1
/
impressions
/
{id}
Copy
curl -X GET "https://vantio.app/api/v1/impressions/imp_123abc" \ -H "Authorization: Bearer sk_your_secret_key_here"
Copy
{ "id": "imp_123abc", "poster_id": "poster_123abc", "program_id": "prog_123abc", "student_id": "user_123abc", "scanned_at": "2024-01-15T10:30:00Z", "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15", "ip_address": "192.168.1.1", "metadata": { "device_type": "mobile", "location": "campus_center", "referrer": "direct" }}
Retrieve detailed information about a specific QR code scan (impression) by its unique ID. Use this endpoint to fetch complete scan details including timestamp, device information, and associated poster.
The unique identifier of the impression you want to retrieve. This ID is returned when a QR code is scanned and is used when creating referrals.Example:imp_123abc