HireG Link Shortener

Create short URLs with POST /api/links, inspect them with GET /api/links, and redirect through GET /r/:code.

Create a short link

curl -X POST https://go.hireg.ai/api/links \
  -H "Content-Type: application/json" \
  -d '{
    "fullUrl": "https://acme.hireg.ai/profile-slot-link?_ref=abc123",
    "ttlDays": 14,
    "customCode": "schedule-1"
  }'

List recent links

curl https://go.hireg.ai/api/links

Inspect one link

curl https://go.hireg.ai/api/links/schedule-1

Follow a short link

open https://go.hireg.ai/r/schedule-1