# Hep.gg URL Shortener Create shortlinks under your own subdomain or hep.gg/. The same /:ID redirector that serves uploads dispatches shortlink hits. Base URL: https://hep.gg Auth: cookie session via /login (web). Programmatic creation uses the ShareX token on /upload with no file body, but POST /api/v1/shorten is the dashboard endpoint. ## Endpoints ### POST /api/v1/shorten Body (JSON): target string required. Destination URL (max 2048 chars). alias string optional. Custom slug; 3-32 chars, alphanumeric + dash/underscore/dot. Response: { "contentID": "", "url": "https://your.domain/" } ### Hep.gg dashboard GET /api/v1/uploads?type=links (list shortlinks owned by you) PATCH /api/v1/uploads/:contentID { alias?, favourite? } DELETE /api/v1/uploads/:contentID