Quick start
Make your first CDN and API calls, wire publishable <img> tags, generate TypeScript clients, and land in the playground.
Anonymous CDN curl (≤128 px demo tier)
curl -sSL "https://img.logorouter.com/stripe.com?size=128&format=webp" -o logo.webpGreat for scaffolding before Clerk / dashboard onboarding. Expect shared IP metering documented in Authentication.
Secret key on the API hostname
Rotate keys inside the dashboard, then mirror production traffic through api.logorouter.com:
export LOGOROUTER_API_KEY="lm_live_your_secret"
curl -sSL "https://api.logorouter.com/api/openai.com?size=256&format=png&retina=true" \
-H "Authorization: Bearer $LOGOROUTER_API_KEY" \
-o openai@2x.pngPrefer Bearer in server stacks; x-api-key remains supported for gateways that strip Authorization.
Publishable tokens for <img>
Issue a publishable key scoped to CDN GET semantics and append ?token=:
<img
alt="Stripe logo"
width={64}
height={64}
src={`https://img.logorouter.com/${encodeURIComponent(domain)}?size=96&token=${pubKey}`}
/>Don't mix surfaces
Embed never combines publishable URLs with /docs/api/colors or /docs/api/intelligence — those JSON routes reject publishable keys by design.
Inspect / generate from OpenAPI
pnpm dlx openapi-typescript https://api.logorouter.com/api/openapi.json --output ./src/schema/logorouter.d.tsConceptual grouping + auth notes → OpenAPI overview.