API Docs

Public endpoints currently used by this frontend.

API base: https://api.realquick.link

POST /add

Create a short link.

Request JSON: {"target_url":"https://example.com","email":"you@example.com"}

Response JSON: {"alphanumeric_id":"...","secret":"...","target_url":"...","created_at":"...","premium_flag":false}

POST /edit

Update or remove owner email for a link.

Request JSON: {"alphanumeric_id":"...","secret":"...","email":"new@example.com"}

Response JSON: {"ok":true}

GET /stats/:id?secret=...&timezone=...

Fetch link stats for details page.

Response JSON: {"hourly":[{"time":"...","views":1}],"daily":[{"time":"...","views":2}],"premium":false}

POST /remind

Send reminder email with links associated to an email address.

Request JSON: {"email":"you@example.com"}

Response JSON: {"ok":true}

GET /qr/:id

Return PNG QR code for a short link.

Response: image/png

GET /l/:id

Redirect short URL to target URL.

Response: 302 Redirect