Zebra API V1 API

Public REST API for Zebra. Use bearer API keys to manage spaces, links, collections, and short domains.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 32

GET /api/v1/health Liveness probe #
GET /api/v1/me Identify the caller #
GET /api/v1/spaces/{spaceId}/domains List available domains #
POST /api/v1/spaces/{spaceId}/analytics/query Query click analytics #
GET /api/v1/spaces/{spaceId}/links/{linkId}/qr-variants List a link's QR variants #
POST /api/v1/spaces/{spaceId}/links/{linkId}/qr-variants Create a QR variant #
GET /api/v1/spaces/{spaceId}/links/{linkId}/qr-variants/{variantId} Get a QR variant #
PATCH /api/v1/spaces/{spaceId}/links/{linkId}/qr-variants/{variantId} Update a QR variant #
DELETE /api/v1/spaces/{spaceId}/links/{linkId}/qr-variants/{variantId} Delete a QR variant #
GET /api/v1/spaces/{spaceId}/links/{linkId}/qr/image Get a link's QR code as an image #
GET /api/v1/spaces/{spaceId}/links/{linkId}/qr-variants/{variantId}/image Get a QR variant as an image #
POST /api/v1/spaces/{spaceId}/links/{linkId}/qr/export Get a design's stable public image URLs #
POST /api/v1/spaces/{spaceId}/collections Create a collection #
GET /api/v1/spaces/{spaceId}/collections List collections #
POST /api/v1/spaces/{spaceId}/collections/bulk Create many collections in one request #
GET /api/v1/spaces/{spaceId}/collections/{collectionId} Get one collection #
PATCH /api/v1/spaces/{spaceId}/collections/{collectionId} Update a collection #
DELETE /api/v1/spaces/{spaceId}/collections/{collectionId} Delete a collection #
POST /api/v1/spaces/{spaceId}/collections/{collectionId}/convert-to-manual Convert a smart collection to manual #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zeblink-io:zebra-api-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zeblink-io-v1-openapi.json Raw ↑
{"openapi":"3.1.0","info":{"title":"Zebra API","version":"1","description":"Public REST API for Zebra. Use bearer API keys to manage spaces, links, collections, and short domains."},"servers":[{"url":"https://app.zeblink.io","description":"API host"}],"externalDocs":{"url":"https://zeblink.io/docs","description":"Browsable Zebra API reference"},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"zeb_<ulid>","description":"API keys act as their owning user. A key can be limited to selected spaces and to per-resource read/write scopes; its effective authority is always the intersection of the key's scope and the owner's own role in the target space. Provision via the dashboard; pass as `Authorization: Bearer zeb_…`. Keys require a plan with API access; without one, every call returns 402 `API_ACCESS_REQUIRED`."}},"schemas":{"ApiError":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code. Stable across versions; safe to switch on.","example":"UNAUTHORIZED"},"message":{"type":"string","description":"Human-readable explanation. Subject to change.","example":"Missing or invalid API key."},"details":{"type":"object","additionalProperties":{},"description":"Optional structured context — field paths, retry-after seconds, etc."}},"required":["code","message"]}},"required":["error"]},"CreateLinkInput":{"type":"object","properties":{"targetUrl":{"type":"string","maxLength":2048,"format":"uri","description":"The destination URL the short link redirects to."},"path":{"type":"string","maxLength":128,"description":"Custom short-link path. Omit to auto-allocate one, which is the default and the right choice for most links. When set, it is an address rather than a summary: the bare word someone could repeat from memory and type without looking, such as `heineken` or `launch`. What the link is for belongs in `title`, not here. The maximum length is a storage bound, not a target, and short paths are worth more than descriptive ones."},"candidates":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"minItems":1,"maxItems":3,"description":"Ranked alternatives to `path` — up to 3 names, best first (set `path` or `candidates`, never both). The first that is valid and free becomes the link's path, decided in the same transaction as the create; `choice` in the response says which won (1 = first). When every candidate is taken or invalid, the create fails with each name's reason. Same naming rules as `path`: bare address words, not summaries."},"namespace":{"type":"string","maxLength":128,"description":"Namespace prefix for auto-allocated paths (e.g. `promo` yields `promo/x7k…`). Ignored when `path` is set."},"title":{"type":"string","maxLength":200,"description":"Display title for dashboards and lists."},"description":{"type":["string","null"],"maxLength":2000,"description":"User-authored description (distinct from the scraped page metadata). `null` clears it."},"metadata":{"type":"object","properties":{"siteName":{"type":"string","maxLength":300},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000}},"additionalProperties":false,"description":"Scraped page metadata (site name, page title, page description) to store with the link. Normally left out — Zebra fetches it from the destination in the background shortly after creation. Supply it only to override; a supplied value is never overwritten by the background fetch."},"fallback":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["target_root"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string","minLength":1,"maxLength":2048}},"required":["type","url"],"additionalProperties":false}],"description":"Where a visitor goes while the link is off. Omit to inherit the domain default, then the system default. `target_root` redirects to the destination's root domain; `url` to an explicit URL."},"activatesAt":{"type":["string","null"],"format":"date-time","description":"When the link goes live (ISO 8601 timestamp or epoch ms). Before this instant the link is off and visitors get its fallback (or the countdown page). `null` clears it; omit to leave unchanged."},"deactivatesAt":{"type":["string","null"],"format":"date-time","description":"When the link turns off (ISO 8601 timestamp or epoch ms). After this instant visitors get the link's fallback. Must be after `activatesAt` when both are set. `null` clears it; omit to leave unchanged."},"scheduleTimezone":{"type":["string","null"],"maxLength":64,"description":"IANA timezone (e.g. `Europe/Copenhagen`) used only to display the schedule in the picker. The instants above are absolute and decide liveness on their own."},"showCountdownPage":{"type":["boolean","null"],"description":"Show visitors a countdown page (HTTP 200) instead of the fallback while the link is not yet live. Requires `activatesAt`."},"domain":{"type":"string","minLength":1,"maxLength":253,"description":"Short domain to create the link on: a hostname or `dom_…` id from `GET …/domains`. Omit to use the space's default domain."},"collection":{"type":"string","minLength":1,"maxLength":200,"description":"Collection to add the link to: a `col_…` id or exact collection name (duplicate names require the id)."}},"required":["targetUrl"],"additionalProperties":false},"LinkFilter":{"type":"object","properties":{"query":{"type":"string","maxLength":200,"description":"Free text matched against each link's short path, title, and destination URL."},"status":{"type":"string","enum":["active","inactive"],"description":"active = live right now; inactive = off (manually or by schedule). Schedule-aware."},"created":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Creation-time window: within the last 1h, 24h, 7d, or 30d."},"edited":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Last-edit window (1h|24h|7d|30d). Creation counts as the initial edit."},"createdVia":{"type":"string","enum":["web","import","chat","api","mcp"],"description":"How the link was created: web, import, chat, api, or mcp."},"hasCollection":{"type":"boolean","description":"true = in at least one collection; false = uncollected."},"schedule":{"type":"string","enum":["upcoming","completed"],"description":"upcoming = has an activation/deactivation still to fire; completed = schedule fully in the past. Unscheduled links match neither."},"attribution":{"type":"string","enum":["utm","signals","any"],"description":"Which attribution the link CARRIES: utm = a utm_* param on its destination URL; signals = a QR code carries signals; any = carries either (spoken to a user as \"Either\")."},"targetHost":{"type":"array","items":{"type":"string","minLength":1},"maxItems":20,"description":"Where the link POINTS, its destination host (e.g. cnn.com), as hostnames. A leading `www.` is ignored on both sides, so cnn.com matches www.cnn.com — pass the bare host, never both spellings. User-facing word: \"destination\" (never say \"target host\" to a user)."},"shortDomain":{"type":"array","items":{"type":"string","minLength":1},"maxItems":20,"description":"The link's OWN domain (its short-link host, e.g. zbrah.link) as hostnames. User-facing word: \"domain\" / \"short domain\"."},"clicks":{"type":"object","properties":{"op":{"type":"string","enum":["greaterThan","lessThan"]},"value":{"type":"integer","minimum":0}},"required":["op","value"],"additionalProperties":false,"description":"Total-click threshold: {op: greaterThan|lessThan, value: <whole number>}, e.g. {op: greaterThan, value: 100} for more than 100 clicks."},"uniqueClicks":{"type":"object","properties":{"op":{"type":"string","enum":["greaterThan","lessThan"]},"value":{"type":"integer","minimum":0}},"required":["op","value"],"additionalProperties":false,"description":"Unique-visitor (distinct) threshold, same shape as clicks."},"clicked":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Last-click recency window (1h|24h|7d|30d). Links never clicked match nothing."},"negate":{"type":"array","items":{"type":"string","enum":["query","status","created","edited","schedule","createdVia","hasCollection","attribution","clicks","uniqueClicks","clicked","shortDomain","targetHost"]},"description":"Filter names to INVERT, each still AND-combined. e.g. status:'active' + negate:['status'] means 'not active'; clicked:'30d' + negate:['clicked'] means 'not clicked in the last 30 days'."}},"additionalProperties":false,"description":"Link filter. All fields optional; dimensions AND-combine, arrays OR within a dimension. `shortDomain` is the link's own domain (say \"domain\"); `targetHost` is where it points (say \"destination\"). `negate` inverts the named structured dimensions."},"QueryAnalyticsInput":{"type":"object","properties":{"groupBy":{"type":"string","enum":["country","region","city","browser","os","deviceType","referrerDomain","fromQr","shortDomain","isBot","botType","botName","day","link"],"description":"Break the result down by this dimension (one row per value); omit for a single total. `day` is a per-day time series."},"measure":{"type":"string","enum":["clicks","uniqueClicks"],"description":"What to count: total clicks (default) or unique visitors."},"range":{"type":"string","enum":["15m","1h","1d","7d","30d","all","custom"],"description":"Time window: all (all-time, the default), 7d, 30d, 1d (last 24h), 1h, 15m, or custom (then set from/to). Use a rolling window like 7d for 'this week' / 30d for 'last 30 days'."},"from":{"type":"string","description":"Custom window start as an ISO date or date-time. Only with range=custom."},"to":{"type":"string","description":"Custom window end as an ISO date or date-time. Only with range=custom."},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"Max breakdown rows (group-by only; default 100)."},"query":{"type":"string","maxLength":200,"description":"Free text matched against each link's short path, title, and destination URL."},"status":{"type":"string","enum":["active","inactive"],"description":"active = live right now; inactive = off (manually or by schedule). Schedule-aware."},"created":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Creation-time window: within the last 1h, 24h, 7d, or 30d."},"edited":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Last-edit window (1h|24h|7d|30d). Creation counts as the initial edit."},"createdVia":{"type":"string","enum":["web","import","chat","api","mcp"],"description":"How the link was created: web, import, chat, api, or mcp."},"hasCollection":{"type":"boolean","description":"true = in at least one collection; false = uncollected."},"schedule":{"type":"string","enum":["upcoming","completed"],"description":"upcoming = has an activation/deactivation still to fire; completed = schedule fully in the past. Unscheduled links match neither."},"attribution":{"type":"string","enum":["utm","signals","any"],"description":"Which attribution the link CARRIES: utm = a utm_* param on its destination URL; signals = a QR code carries signals; any = carries either (spoken to a user as \"Either\")."},"targetHost":{"type":"array","items":{"type":"string","minLength":1},"maxItems":20,"description":"Where the link POINTS, its destination host (e.g. cnn.com), as hostnames. A leading `www.` is ignored on both sides, so cnn.com matches www.cnn.com — pass the bare host, never both spellings. User-facing word: \"destination\" (never say \"target host\" to a user)."},"collectionId":{"type":"string","pattern":"^col_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$","description":"Scope to one specific collection (analytics-only). Mutually exclusive with the object-attribute filters and with linkId."},"linkId":{"type":"string","pattern":"^lnk_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$","description":"Scope to one specific link by its id (analytics-only) — the click counterpart to opening that link's dashboard. Mutually exclusive with the object-attribute filters and with collectionId. Click dimensions (country, browser, …) still apply on top."},"negate":{"type":"array","items":{"type":"string","enum":["status","created","edited","createdVia","hasCollection","schedule","attribution","targetHost"]},"description":"Object-scope dimensions to invert, e.g. [\"status\"] for clicks from links that are NOT active. Free text is not negatable."},"country":{"type":"array","items":{"type":"string","minLength":1},"maxItems":60,"description":"ISO country codes of the click (e.g. US, GB)."},"continents":{"type":"array","items":{"type":"string","enum":["europe","africa","asia","north-america","south-america","oceania","antarctica"]},"maxItems":7,"description":"Named continent groupings; expand to their countries."},"region":{"type":"array","items":{"type":"string","minLength":1},"maxItems":50,"description":"Region / state of the click."},"city":{"type":"array","items":{"type":"string","minLength":1},"maxItems":50,"description":"City of the click."},"browser":{"type":"array","items":{"type":"string","minLength":1},"maxItems":30,"description":"Browser name (e.g. Chrome, Safari)."},"os":{"type":"array","items":{"type":"string","minLength":1},"maxItems":30,"description":"Operating system (e.g. iOS, Windows)."},"deviceType":{"type":"array","items":{"type":"string","minLength":1},"maxItems":10,"description":"Device type (e.g. mobile, desktop, tablet)."},"referrerDomain":{"type":"array","items":{"type":"string","minLength":1},"maxItems":50,"description":"Referring domain of the click."},"shortDomain":{"type":"array","items":{"type":"string","minLength":1},"maxItems":20,"description":"The link's own short-domain host(s) the click came through, as hostnames."},"fromQr":{"type":"boolean","description":"true = QR scans only; false = ordinary (non-QR) clicks only."},"isBot":{"type":"boolean","description":"true = automated traffic only; false = humans only."},"botType":{"type":"array","items":{"type":"string","minLength":1},"maxItems":15,"description":"Traffic class (ai_assistant, crawler, fetcher, …)."},"botName":{"type":"array","items":{"type":"string","minLength":1},"maxItems":30,"description":"Bot product name (e.g. \"GPTBot\")."},"timeZone":{"type":"string","minLength":1,"maxLength":64,"description":"IANA time zone (e.g. `Europe/Copenhagen`) for `day` bucketing and custom `from`/`to` bounds. Default: UTC."}},"additionalProperties":false,"description":"Analytics query, two halves. Object SCOPE — WHICH links to count clicks for — uses the same vocabulary as link search: `status`, `created`, `edited`, `createdVia`, `hasCollection`, `schedule`, `attribution`, `targetHost`, `query`, plus the identity scopes `linkId` / `collectionId` (one link OR one collection OR attributes, never combined) and `negate` (invert named scope dims). Click MEASUREMENT — `country`/`continents`/`region`/`city`, `browser`/`os`/`deviceType`, `referrerDomain`, `fromQr`, bot dims — filters the clicks. `groupBy` returns a breakdown (one row per value), `measure` counts clicks or uniqueClicks, `range` sets the window (`day` buckets and custom `from`/`to` resolve in `timeZone`, default UTC). All fields optional; an empty body is whole-space all-time totals."},"UpdateLinkInput":{"type":"object","properties":{"targetUrl":{"type":"string","maxLength":2048,"format":"uri","description":"New destination URL."},"title":{"type":["string","null"],"maxLength":200,"description":"Display title. `null` clears it."},"description":{"type":["string","null"],"maxLength":2000,"description":"User-authored description (distinct from the scraped page metadata). `null` clears it."},"isActive":{"type":"boolean","description":"Master on/off switch. A link is live only while `isActive` is true AND inside its schedule window (if one is set)."},"path":{"type":"string","maxLength":128,"description":"Move the link to a new short path. The old short URL stops resolving immediately — anything already shared or printed with it breaks."},"metadata":{"type":"object","properties":{"siteName":{"type":"string","maxLength":300},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000}},"additionalProperties":false,"description":"Scraped page metadata (site name, page title, page description) to store with the link. Replaces the stored value; the background fetch never overwrites what you set."},"fallback":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["target_root"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string","minLength":1,"maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"null"}],"description":"Where a visitor goes while the link is off. `null` restores inheritance (domain default, then system default)."},"activatesAt":{"type":["string","null"],"format":"date-time","description":"When the link goes live (ISO 8601 timestamp or epoch ms). Before this instant the link is off and visitors get its fallback (or the countdown page). `null` clears it; omit to leave unchanged."},"deactivatesAt":{"type":["string","null"],"format":"date-time","description":"When the link turns off (ISO 8601 timestamp or epoch ms). After this instant visitors get the link's fallback. Must be after `activatesAt` when both are set. `null` clears it; omit to leave unchanged."},"scheduleTimezone":{"type":["string","null"],"maxLength":64,"description":"IANA timezone (e.g. `Europe/Copenhagen`) used only to display the schedule in the picker. The instants above are absolute and decide liveness on their own."},"showCountdownPage":{"type":["boolean","null"],"description":"Show visitors a countdown page (HTTP 200) instead of the fallback while the link is not yet live. Requires `activatesAt`."}},"additionalProperties":false},"BulkCreateLinksInput":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"targetUrl":{"type":"string","maxLength":2048,"format":"uri","description":"The destination URL the short link redirects to."},"path":{"type":"string","maxLength":128,"description":"Custom short-link path. Omit to auto-allocate one, which is the default and the right choice for most links. When set, it is an address rather than a summary: the bare word someone could repeat from memory and type without looking, such as `heineken` or `launch`. What the link is for belongs in `title`, not here. The maximum length is a storage bound, not a target, and short paths are worth more than descriptive ones."},"candidates":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"minItems":1,"maxItems":3,"description":"Ranked alternatives to `path` — up to 3 names, best first (set `path` or `candidates`, never both). The first that is valid and free becomes the link's path, decided in the same transaction as the create; `choice` in the response says which won (1 = first). When every candidate is taken or invalid, the create fails with each name's reason. Same naming rules as `path`: bare address words, not summaries."},"namespace":{"type":"string","maxLength":128,"description":"Namespace prefix for auto-allocated paths (e.g. `promo` yields `promo/x7k…`). Ignored when `path` is set."},"title":{"type":"string","maxLength":200,"description":"Display title for dashboards and lists."},"metadata":{"type":"object","properties":{"siteName":{"type":"string","maxLength":300},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000}},"additionalProperties":false,"description":"Scraped page metadata (site name, page title, page description) to store with the link. Normally left out — Zebra fetches it from the destination in the background shortly after creation. Supply it only to override; a supplied value is never overwritten by the background fetch."},"fallback":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["target_root"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string","minLength":1,"maxLength":2048}},"required":["type","url"],"additionalProperties":false}],"description":"Where a visitor goes while the link is off. Omit to inherit the domain default, then the system default. `target_root` redirects to the destination's root domain; `url` to an explicit URL."},"domain":{"type":"string","minLength":1,"maxLength":253,"description":"Short domain to create the link on: a hostname or `dom_…` id from `GET …/domains`. Omit to use the space's default domain."}},"required":["targetUrl"],"additionalProperties":false},"minItems":1,"maxItems":250},"collection":{"type":"string","minLength":1,"maxLength":200}},"required":["items"],"additionalProperties":false},"BulkUpdateLinksInput":{"type":"object","properties":{"updates":{"type":"array","items":{"type":"object","properties":{"targetUrl":{"type":"string","maxLength":2048,"format":"uri","description":"New destination URL."},"title":{"type":["string","null"],"maxLength":200,"description":"Display title. `null` clears it."},"description":{"type":["string","null"],"maxLength":2000,"description":"User-authored description (distinct from the scraped page metadata). `null` clears it."},"isActive":{"type":"boolean","description":"Master on/off switch. A link is live only while `isActive` is true AND inside its schedule window (if one is set)."},"path":{"type":"string","maxLength":128,"description":"Move the link to a new short path. The old short URL stops resolving immediately — anything already shared or printed with it breaks."},"metadata":{"type":"object","properties":{"siteName":{"type":"string","maxLength":300},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000}},"additionalProperties":false,"description":"Scraped page metadata (site name, page title, page description) to store with the link. Replaces the stored value; the background fetch never overwrites what you set."},"fallback":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["target_root"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["url"]},"url":{"type":"string","minLength":1,"maxLength":2048}},"required":["type","url"],"additionalProperties":false},{"type":"null"}],"description":"Where a visitor goes while the link is off. `null` restores inheritance (domain default, then system default)."},"activatesAt":{"type":["string","null"],"format":"date-time","description":"When the link goes live (ISO 8601 timestamp or epoch ms). Before this instant the link is off and visitors get its fallback (or the countdown page). `null` clears it; omit to leave unchanged."},"deactivatesAt":{"type":["string","null"],"format":"date-time","description":"When the link turns off (ISO 8601 timestamp or epoch ms). After this instant visitors get the link's fallback. Must be after `activatesAt` when both are set. `null` clears it; omit to leave unchanged."},"scheduleTimezone":{"type":["string","null"],"maxLength":64,"description":"IANA timezone (e.g. `Europe/Copenhagen`) used only to display the schedule in the picker. The instants above are absolute and decide liveness on their own."},"showCountdownPage":{"type":["boolean","null"],"description":"Show visitors a countdown page (HTTP 200) instead of the fallback while the link is not yet live. Requires `activatesAt`."},"linkId":{"type":"string","pattern":"^lnk_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"required":["linkId"],"additionalProperties":false},"minItems":1,"maxItems":500}},"required":["updates"],"additionalProperties":false},"BulkDeleteLinksInput":{"type":"object","properties":{"linkIds":{"type":"array","items":{"type":"string","pattern":"^lnk_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"},"minItems":1,"maxItems":500}},"required":["linkIds"],"additionalProperties":false},"CreateQrVariantInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"style":{"type":["object","null"],"properties":{"backgroundShape":{"type":"string","enum":["square","circle"]},"dotType":{"type":"string","enum":["dot","random-dot","rounded","extra-rounded","vertical-line","horizontal-line","square","small-square","diamond","wave","hexagon","circuit","zebra-horizontal","zebra-vertical","blocks-horizontal","blocks-vertical","blobs","soft"]},"cornerSquareType":{"type":"string","enum":["dot","square","extra-rounded","classy","inpoint","outpoint","center-circle"]},"cornerDotType":{"type":"string","enum":["dot","square","extra-rounded","classy","inpoint","outpoint","diamond","hexagon","star","heart"]},"dotsColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"cornerSquareColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"cornerDotColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"backgroundColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"dotsGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"cornerSquareGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"cornerDotGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"backgroundGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"branding":{"type":"object","properties":{"mode":{"type":"string","enum":["favicon","upload"]},"size":{"type":"string","enum":["small","large"]},"imageRef":{"type":"string","maxLength":2048,"format":"uri"},"mat":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"string","enum":["none"]}],"description":"Backing behind the mark: a hex color, or \"none\" so the code's background shows through. Omitted = #ffffff."}},"required":["mode","size"],"additionalProperties":false},"errorCorrectionLevel":{"type":"string","enum":["M","Q","H"]}},"additionalProperties":false},"signals":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":120}}},"required":["name"],"additionalProperties":false},"UpdateQrVariantInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"style":{"type":["object","null"],"properties":{"backgroundShape":{"type":"string","enum":["square","circle"]},"dotType":{"type":"string","enum":["dot","random-dot","rounded","extra-rounded","vertical-line","horizontal-line","square","small-square","diamond","wave","hexagon","circuit","zebra-horizontal","zebra-vertical","blocks-horizontal","blocks-vertical","blobs","soft"]},"cornerSquareType":{"type":"string","enum":["dot","square","extra-rounded","classy","inpoint","outpoint","center-circle"]},"cornerDotType":{"type":"string","enum":["dot","square","extra-rounded","classy","inpoint","outpoint","diamond","hexagon","star","heart"]},"dotsColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"cornerSquareColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"cornerDotColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"backgroundColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"dotsGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"cornerSquareGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"cornerDotGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"backgroundGradient":{"type":"object","properties":{"type":{"type":"string","enum":["linear","radial"]},"rotation":{"type":"number","minimum":0,"maximum":360},"from":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"to":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"midpoint":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","from","to"],"additionalProperties":false},"branding":{"type":"object","properties":{"mode":{"type":"string","enum":["favicon","upload"]},"size":{"type":"string","enum":["small","large"]},"imageRef":{"type":"string","maxLength":2048,"format":"uri"},"mat":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"string","enum":["none"]}],"description":"Backing behind the mark: a hex color, or \"none\" so the code's background shows through. Omitted = #ffffff."}},"required":["mode","size"],"additionalProperties":false},"errorCorrectionLevel":{"type":"string","enum":["M","Q","H"]}},"additionalProperties":false},"signals":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":120}},"archived":{"type":"boolean"}},"additionalProperties":false},"QrExportInput":{"type":"object","properties":{"variant":{"type":"string","pattern":"^qrv_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"}},"additionalProperties":false},"CreateCollectionInput":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["smart"]},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"filter":{"type":"object","properties":{"query":{"type":"string","maxLength":200,"description":"Free text matched against each link's short path, title, and destination URL."},"status":{"type":"string","enum":["active","inactive"],"description":"active = live right now; inactive = off (manually or by schedule). Schedule-aware."},"created":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Creation-time window: within the last 1h, 24h, 7d, or 30d."},"edited":{"type":"string","enum":["1h","24h","7d","30d"],"description":"Last-edit window (1h|24h|7d|30d). Creation counts as the initial edit."},"createdVia":{"type":"string","enum":["web","import","chat","api","mcp"],"description":"How the link was created: web, import, chat, api, or mcp."},"hasCollection":{"type":"boolean","description":"true = in at least one collection; false = uncollected."},"schedule":{"type":"string","enum":["upcoming","completed"],"description":"upcoming = has an activation/deactivation still to fire; completed = schedule fully in the past. Unscheduled links match neither."},"attribution":{"type":"string","enum":["utm","signals","any"],"description":"Which attribution the link CARRIES: utm = a utm_* param on its destination URL; signals = a QR code carries signals; any = carries either (spoken to a user as \"Either\")."},"targetHost":{"type":"array","items":{"type":"string","minLength":1},"maxItems":20,"description":"Where the link POINTS, its destination host (e.g. cnn.com), as hostnames. A leading `www.` is ignored on both sides, so cnn.com matches www.cnn.com — pass the bare host, never both spellings. Us

# --- truncated at 32 KB (190 KB total) ---
# Full source: https://artifacts.apis.io/zeblink-io/openapi/_original/zeblink-io-v1-openapi.json