Short Links
get/{ns}/{id}

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/{ns}/{id}
  • Auth: one of:
    • none
    • API key in header X-Owner-Token
    • API key in header X-Password

Path parameters

nsstring required
idstring required

Query parameters

pstring

Legacy-only query password; ignored for NEW publications. Programmatic access uses X-Password or the owner token.

dlboolean

Force download as attachment

rawboolean

Bypass SPA: stream raw bytes directly (used by <video src>, <iframe src> for PDF, embed cases)

inlineboolean

Legacy site wrapper bypass; NEW publications retain stored hosting and protection policies

Headers

X-Passwordstring

Access password for protected resources

Rangestring
X-Resolvestring
X-Owner-Tokenstring

Owner token; when supplied, response carries X-Is-Owner: true on match

User-Agentstring
Acceptstring

Response

OK

Changes

    • info

      the endpoint scheme security OwnerToken was added to the API

    • info

      the endpoint scheme security Password was added to the API