# Link Center > Dynamic, editable QR codes and short links with scan analytics. A QR encodes a stable short URL, so you can change where it points anytime — printed codes keep working. Pay as you go with credits; no subscription. Built for programmatic use: agents can sign a user up, create links, retarget them, pull scan stats, and render branded QR images via a REST API or a remote MCP server. ## Product - What it is: dynamic QR codes + short links you can edit after printing, with scan analytics. - Editable forever: the QR encodes a stable short link; change the destination anytime and printed codes keep working — they never expire. - Smart links: one link can route each visitor to a different destination via ordered rules (first match wins). Match on country, region, device, os, language, referrer, channel; schedule a rule to a time window; or weight 2–5 destinations for A/B split testing — e.g. send iOS to the App Store, Android to Google Play, everyone else to your site, from one printed code. - Analytics: per-scan date, country, device, OS, referrer host, and channel; privacy-respecting (hashed IPs, no raw PII; CCPA/CPRA + PIPEDA aligned). - Included on every account: branded QR codes (logo + brand colors + dot/eye shapes), reusable branding and UTM templates, custom short links, passwords + expiry, team sharing, 12-month history, and the REST API + MCP server. - Who it's for: anyone printing QR codes on signage, packaging, menus, or cards — and developers/agents that need QR codes programmatically. ## Pricing - Pay-as-you-go with credits — no subscription. Every account starts with 5 free credits (no card required); each link/QR CREATE costs 1 credit. Reads, list, stats, scans, and QR rendering are free. - Credit packs (one-time, credits never expire): Starter $9 → 25, Growth $29 → 120, Scale $99 → 500. - All features (branded QR codes, custom links, routing, analytics, API/MCP) are included on every account. - Machine-readable: https://mylink.center/pricing.md ## Agent sign-up (no account yet) An agent can create a Link Center account for its user — or connect to their existing one — with one human step: 1. `POST https://mylink.center/agent/identity` with `{"type":"service_auth","login_hint":""}`. 2. Tell the user: open the returned `claim.verification_uri` (https://mylink.center/claim), sign in or create a free account with that email, and enter the 6-digit `claim.user_code`. 3. Poll `POST https://mylink.center/oauth/token` (form-encoded) with `grant_type=urn:workos:agent-auth:grant-type:claim&claim_token=` every `claim.interval` seconds until it returns an `access_token` (plus an `identity_assertion` — a long-lived Link Center API key you can use directly as a Bearer token). Full protocol, errors, and revocation: https://mylink.center/auth.md ## REST API - Base URL: https://mylink.center/api/v1 - Auth: send `Authorization: Bearer ` — an API key (create one at https://mylink.center/settings/api-keys), an OAuth access token, or the credential from agent sign-up (above). - Cost: creating a link costs 1 credit; out of credits returns HTTP 402 `insufficient_credits`. Reads are free. - OpenAPI spec: https://mylink.center/api/openapi.json - Errors: JSON `{ "error": { "code", "message" } }` with a matching HTTP status; branch on `code`. A 401 carries `WWW-Authenticate: Bearer resource_metadata="…"` for OAuth discovery. ### Endpoints - `POST /api/v1/links` — create a link. Body: `{ "destinationUrl": "https://…" }` (only field required; `name` defaults to the host). Optional branding: `slug`, `logoUrl`, `style`, `brandingTemplateId`. Omit branding fields to inherit the account's default branding (if set); pass `"logoUrl": null` for no logo. Optional expiry: `expiresIn` ("30d") or `expiresAt` (ISO) + `expiredBehavior` (show_expired_page | redirect_fallback | gone) + `expiredRedirectUrl`. Optional `password` (hashed server-side, never returned — responses expose only `passwordProtected`), custom social previews via `ogMode` (none | custom) + `ogTitle`/`ogDescription`/`ogImageUrl`, and `rules` (routing: an ordered array evaluated first-match-wins, each `{ destination, conditions:[{field,operator,values}], name? }` — fields country/region/device/os/language/referrer/channel, operators equals/in/contains/starts_with). Returns the link incl. `shortUrl` and QR image URLs. - `GET /api/v1/links` — list links. - `GET|PATCH|DELETE /api/v1/links/{id}` — fetch, update (retarget the destination, edit branding), or delete. The slug is immutable. - `GET /api/v1/links/{id}/stats` — 30-day scan analytics (daily series + country/device breakdowns). - `GET /api/v1/links/{id}/qr?format=png|svg` — the link's styled QR image. - `GET|POST /api/v1/branding-templates` and `GET|PATCH|DELETE /api/v1/branding-templates/{id}` — reusable QR branding presets (logo + colors + shapes). Apply one with `brandingTemplateId` on a link. - `GET|POST /api/v1/utm-templates` and `GET|PATCH|DELETE /api/v1/utm-templates/{id}` — reusable UTM presets. - `POST /api/v1/qr` — render an ad-hoc QR for any value without creating a link. ### Quick start ``` curl -X POST https://mylink.center/api/v1/links \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"destinationUrl":"https://example.com"}' ``` ## MCP server For agents that speak the Model Context Protocol (Claude, ChatGPT Developer mode, Cursor, Claude Code): - Endpoint (Streamable HTTP): https://mylink.center/api/mcp - Auth: one-click OAuth 2.1 (dynamic client registration + PKCE — the client handles it), or `Authorization: Bearer ` with a Link Center API key. - Server Card: https://mylink.center/.well-known/mcp/server-card.json · Registry: `center.mylink/link-center` - Tools: - `create_link` — Create a dynamic, editable QR code + short link. - `list_links` — List every link on the authenticated account — short URLs, scan counts, branding, and QR image URLs. - `get_link` — Fetch one link by its id. - `update_link` — Update a link: retarget its destination (the printed QR keeps working and now points to the new URL), rename, edit tags, pause/resume (active), or change branding. - `route_by_device` — Device-based routing: send mobile / tablet / desktop visitors to different URLs (e.g. - `delete_link` — Delete a link and free its short URL. - `get_link_stats` — 30-day scan analytics for a link: total scans, daily series, and breakdowns by country, device, channel (qr vs link), referrer, OS, and hour-of-day (UTC). - `get_link_qr` — Render a link's branded QR image (encodes its short URL, with the link's logo + colours). - `render_qr` — Render a QR image for any value WITHOUT creating a link (a static, untracked code that can't be edited or tracked). - `list_utm_templates` — List the account's saved UTM templates (reusable utm_source/medium/campaign/term/content presets). - `create_utm_template` — Create a reusable UTM template. - `update_utm_template` — Edit a UTM template's name and/or fields. - `delete_utm_template` — Delete a UTM template. - `apply_utm_template` — Apply a saved UTM template to an existing link — its UTM values are merged into the link's destination (existing inline values win) and the printed QR keeps working. - `list_branding_templates` — List the account's saved branding templates (reusable QR presets: logo + colours + shapes). - `apply_branding` — Apply a saved branding template to an existing link — its style + logo fill the link's branding (existing inline values win) and the printed QR keeps working. ## Docs & discovery - Features (smart link routing, A/B testing, branded QR, analytics): https://mylink.center/features - Pricing: https://mylink.center/pricing - Developer docs: https://mylink.center/developers - Agent registration (auth.md): https://mylink.center/auth.md - Agent skill: https://mylink.center/.well-known/agent-skills/link-center/SKILL.md - API catalog (RFC 9727): https://mylink.center/.well-known/api-catalog - Agentic resource catalog (ARD): https://mylink.center/.well-known/ai-catalog.json