Zurl

Short links API · public redirects · Bearer token for create

Base URL

Short URLs resolve under https://zurl.zonies.xyz (from APP_PUBLIC_URL when set).

Create short link

POST https://zurl.zonies.xyz/api/v1/urls

HeaderAuthorization: Bearer <users.api_key>
BodyJSON: {"url":"https://example.com/path"}
201{"slug":"…","short_url":"https://zurl.zonies.xyz/…"}
401Missing or invalid API key
400Validation error ({"error":"…"})
curl -sS -X POST "https://zurl.zonies.xyz/api/v1/urls" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'

Resolve redirect

GET https://zurl.zonies.xyz/<slug>302 to the stored URL (no auth).