DevelopersAPI reference

List path aliases

The old paths on a code's custom domain that also open the code, oldest first.

A path alias keeps codes printed with another provider's links working after your domain moves to QRdx: go.example.com/r/abc opens the code as its own short link does, with its scans, password, schedule, scan limit and pause. Aliases belong to the code's current domain, so a code on QRdx's own domain has none (NO_CUSTOM_DOMAIN). More in Path aliases.

Scope: codes:read or codes:write, for API keys and OAuth tokens alike.

GET
/codes/{id}/aliases

Authorization

headerAuthorizationBearer <qrdx_ followed by 40 letters and digits>

An API key, sent as Authorization: Bearer qrdx_…. Create one in Settings → API keys & apps: it is shown once. A key acts on the workspace it was created in as its creator, with their current role there, and only within its scopes, the same scopes as OAuth (each operation names the one it needs). API keys.

Path Parameters

id*string

The code's id

Length1 <= length <= 64

Response Body

The code's path aliases

application/json
  1. response
data*array<>

Oldest first

Example Request
curl -X GET 'https://api.qrdx.dev/v1/codes/cm5code0spring0menu00001/aliases'
Example Response
{  "data": [    {      "id": "cm5alias0old0flyer0link01",      "path": "/r/abc",      "url": "https://go.example.com/r/abc",      "createdAt": "2026-01-05T09:30:00.000Z"    }  ]}

Was this page helpful?

Last updated on