# Hep.gg Uploader ShareX-compatible file uploader. Authentication is a per-user ShareX token. Base URL: https://hep.gg Auth: Authorization: header on /upload (ShareX-style JWT, not session cookie). ## Endpoints ### POST /upload Upload a file. Form-data: file multipart file required alias string optional; custom URL slug. Query options (also accepted form-encoded): api=1 return JSON {url, contentID}. Without it, returns plain text URL. Response: '{ "url": "https://your.domain/", "contentID": "" }' ### GET /:ID File serve / shortlink redirect. Increments uploads.views counter. 404 if no upload matches. ### GET /uploadCounter Public total: { "count": } - lifetime upload count. ## Hep.gg dashboard (cookie auth) GET /api/v1/me (account) POST /api/v1/me/token/regenerate (rotate ShareX bearer) GET /api/v1/uploads?type=files|links|all&page=&limit=&sort= PATCH /api/v1/uploads/:contentID { alias?, favourite? } DELETE /api/v1/uploads/:contentID