---
title: "Links API Reference | Linkbreakers"
description: "Short links and their QR codes: create them (one at a time, in bulk or in the background), read, update and delete them, and render their QR code images."
canonical: "https://linkbreakers.com/help/api/links"
---

# Links

Short links and their QR codes: create them (one at a time, in bulk or in the background), read, update and delete them, and render their QR code images.

16 entries on this page

## The link object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

`createdAt` string (date-time) 

Read-only

When the link was created.

`customDomain` object

The custom domain that is used to access the link. Use the include parameter when available to include the custom domain in the response.

16 child attributes

`activatedAt` string (date-time) 

Read-only

Timestamp when the domain became active after passing verification and certificate checks.

`certificateExpiresAt` string (date-time) 

Read-only

Expiry of the certificate currently serving this domain.

When the certificate currently serving this domain expires. While the status is STATUS\_RENEWAL\_PENDING the domain keeps working until this date, then stops.

`cloudflareHostnameStatus` string 

Read-only

Raw hostname status reported by the certificate provider, recorded at the last check.

`cloudflareSslStatus` string 

Read-only

Raw SSL status reported by the certificate provider, recorded at the last check.

`createdAt` string (date-time) 

Read-only

Timestamp when the domain was created

`id` string

Unique identifier for the custom domain (UUID)

`lastCheckedAt` string (date-time) 

Read-only

Timestamp of the last verification check

`lastError` string 

Read-only

Why the domain is not fully active.

Human-readable reason the domain is not fully active, as reported at the last check. Empty when the domain is healthy.

`linkCount` integer (int64) 

Read-only

Number of links using this domain.

How many links use this domain. Deleting the domain deletes all of them, with their analytics.

`name` string

The domain name

`rootDestination` string

Root destination URL.

URL where visitors are redirected when accessing your custom domain without a path (e.g., qr.yourdomain.com). This redirect is not tracked and serves purely for white-label purposes—preventing visitors from seeing linkbreakers.com branding. If not specified, redirects to linkbreakers.com by default.

`scheduledDeletionAt` string (date-time) 

Read-only

When the domain will be deleted if it is not fixed.

Set only while the domain no longer points to Linkbreakers and its owner has been emailed: the date the domain and its links (with their analytics) are deleted unless the domain points to Linkbreakers again. Cleared as soon as it does.

`status` enum

Verify the status of the domain.

Whether the domain is verified, certified and fully active

Allowed values

* `STATUS_INACTIVE` The domain is inactive. It was created but not checked yet.
* `STATUS_DOMAIN_PENDING` The domain is pending. Last time it was checked, it was not pointing to the correct Linkbreakers subdomain.
* `STATUS_VERIFICATION_PENDING` The domain is pending verification. Please verify through TXT record.
* `STATUS_CERTIFICATE_PENDING` The domain is pending certificate. The SSL certificate is not yet ready.
* `STATUS_ACTIVE` The domain is fully active
* `STATUS_RENEWAL_PENDING` The domain is still serving traffic on a valid certificate, but the renewal of that certificate cannot be validated. It stops working at certificateExpiresAt.
* `STATUS_EXPIRED` The certificate expired or was withdrawn. The domain no longer serves HTTPS.

`statusChangedAt` string (date-time) 

Read-only

When the domain entered its current status. For STATUS\_DOMAIN\_PENDING, the date since which the domain no longer points to Linkbreakers.

`updatedAt` string (date-time) 

Read-only

Timestamp when the domain was last updated

`workspaceId` string

The ID of the workspace this domain belongs to (UUID)

`customDomainId` string

The ID of the custom domain (UUID). This is the custom domain that is used to access the link. If not defined, the link will be accessed using the default domain.

`directoryId` string

The ID of the directory this link belongs to (UUID). If not set, the link is at the root level (not in any directory).

`entrypoint` string 

Read-only

The entrypoint URL This is the URL that is available to be redirected to the destination.

`eventCount` integer (int64) 

Read-only

The number of time the link has been scanned. This number is counted in the background: a new scan can take up to about two minutes to show here.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`fallbackDestination` string

The fallback destination URL to use when workflow steps are broken

`id` string

The unique identifier of the link (UUID)

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`pageTheme` object

The page theme configuration for this link. Use the include parameter with "pageTheme" to include page theme data in the response.

29 child attributes

`badgeEnabled` boolean

\--- Badge Section --- Whether badge is enabled

`badgeIconColor` object

Badge icon background color (used when badge is not selected)

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`badgeId` string

Badge image ID (references media table)

`badgeShape` enum

Shape the badge image is cropped to (circle, square or rounded)

Allowed values

* `PAGE_THEME_BADGE_SHAPE_CIRCLE`
* `PAGE_THEME_BADGE_SHAPE_SQUARE`
* `PAGE_THEME_BADGE_SHAPE_ROUNDED`

`bodyAlign` enum

How body text is aligned: descriptions, messages, helper text, and answer and button labels. Unset: centered. UNSPECIFIED on an update clears it.

Allowed values

* `PAGE_THEME_TEXT_ALIGN_CENTER`
* `PAGE_THEME_TEXT_ALIGN_LEFT`

`bodyFont` object

Body font configuration

6 child attributes

`bold` boolean

Bold styling

`color` object

Text color (ThemeColor)

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`family` enum

Font family (strict enum mapped to native font stacks).

The enum names the seven families the editor offers. Themes can carry a stack outside that set, which has no enum value and reads back as DEFAULT, so familyStack carries the exact one and is what a client should write back when it did not change the font.

Allowed values

* `PAGE_THEME_FONT_FAMILY_DEFAULT`
* `PAGE_THEME_FONT_FAMILY_ARIAL`
* `PAGE_THEME_FONT_FAMILY_HELVETICA`
* `PAGE_THEME_FONT_FAMILY_VERDANA`
* `PAGE_THEME_FONT_FAMILY_GEORGIA`
* `PAGE_THEME_FONT_FAMILY_TIMES_NEW_ROMAN`
* `PAGE_THEME_FONT_FAMILY_COURIER_NEW`
* `PAGE_THEME_FONT_FAMILY_UNSPECIFIED` Maps to the default system sans-serif stack.

`familyStack` string

Exact CSS font stack. Takes precedence over family when writing.

`fontSize` integer (int32)

Font size in pixels

`italic` boolean

Italic styling

`canvasColor` object

\--- Background Section --- Canvas color configuration

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`canvasCoverId` string

Optional cover media ID (references media table)

`canvasCoverMode` enum

Cover display mode

Allowed values

* `PAGE_THEME_BACKGROUND_COVER_MODE_FULL`
* `PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP`
* `PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_BOTTOM`

`canvasTexture` enum

A texture laid over the page background. Unset reads as NONE.

Allowed values

* `PAGE_THEME_CANVAS_TEXTURE_NONE`
* `PAGE_THEME_CANVAS_TEXTURE_BRUSHED`
* `PAGE_THEME_CANVAS_TEXTURE_GRAIN`
* `PAGE_THEME_CANVAS_TEXTURE_STARFIELD`

`choiceLayout` enum

How a choice question lays out its answers: AUTO (pills or tiles) or ROWS. Unset reads as AUTO.

Allowed values

* `PAGE_THEME_CHOICE_LAYOUT_AUTO`
* `PAGE_THEME_CHOICE_LAYOUT_ROWS`

`containerConfig` object

Container styling configuration

6 child attributes

`backgroundColor` object

Color filling the container behind its content, solid or gradient

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`borderColor` object

Color of the container border, solid or gradient

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`borderSize` integer (int32)

Border size in pixels (0 or more)

`borderStyle` enum

Line style of the container border (solid, dashed, dotted...)

Allowed values

* `PAGE_THEME_BORDER_STYLE_SOLID`
* `PAGE_THEME_BORDER_STYLE_DASHED`
* `PAGE_THEME_BORDER_STYLE_DOTTED`
* `PAGE_THEME_BORDER_STYLE_DOUBLE`
* `PAGE_THEME_BORDER_STYLE_GROOVE`
* `PAGE_THEME_BORDER_STYLE_RIDGE`

`opacity` integer (int32)

Opacity (0-100%)

`variant` enum

Container variant (required when containerConfig is set)

Allowed values

* `PAGE_THEME_CONTAINER_VARIANT_ROUNDED`
* `PAGE_THEME_CONTAINER_VARIANT_SQUARE`

`containerEnabled` boolean

Whether container is enabled

`createdAt` string (date-time) 

Read-only

When the page theme was created

`elementColor` object

Interactive element background color configuration

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`elementFont` object

Interactive element text font configuration

6 child attributes, the same as [pageTheme.bodyFont in the link object](#links-object-pagetheme-bodyfont).

`elementStyles` array of object

The look of each element job (SURFACE, SELECTED, ACTION, QUIET). A job not listed follows the shape, the colours, or the look it always had.

2 child attributes

`job` enum 

Required

The job this look applies to.

Allowed values

* `PAGE_THEME_ELEMENT_JOB_SURFACE`
* `PAGE_THEME_ELEMENT_JOB_SELECTED`
* `PAGE_THEME_ELEMENT_JOB_ACTION`
* `PAGE_THEME_ELEMENT_JOB_QUIET`

`style` object

Its look. Empty, on an update, returns the job to what it follows.

5 child attributes

`borderColor` object

Border colour.

`borderSize` integer (int32)

Border width in pixels, 0 to 12\. 0 removes the border.

`fill` object

Its background. An rgba colour makes it translucent (glass).

`radius` integer (int32)

Corner radius in pixels, 0 to 999 (999 draws a pill).

`textColor` object

Its text colour.

`footerLogoEnabled` boolean

Whether the footer logo (a small company or brand logo centered at the bottom of every page using this theme) is shown.

Turning it off keeps footerLogoId, so turning it back on restores the same image.

`footerLogoId` string

Footer logo image ID (a media library image)

`headingAlign` enum

How titles and headline questions are aligned. Unset: centered titles, questions as the question style draws them. UNSPECIFIED on an update clears it.

Allowed values

* `PAGE_THEME_TEXT_ALIGN_CENTER`
* `PAGE_THEME_TEXT_ALIGN_LEFT`

`id` string 

Read-only

Page theme ID

`questionStyle` enum

How a form's questions are written: LABEL (small, in the body text) or HEADLINE (a heading, in the title font). Unset reads as LABEL.

Allowed values

* `PAGE_THEME_QUESTION_STYLE_LABEL`
* `PAGE_THEME_QUESTION_STYLE_HEADLINE`

`shape` object

The radius and border every job follows unless it has its own.

3 child attributes

`borderColor` object

Border colour.

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`borderSize` integer (int32)

Border width in pixels, 0 to 12.

`radius` integer (int32)

Corner radius in pixels, 0 to 999.

`smallText` object

Small text: hints, counters, consent. Unset: the body text, smaller and muted.

2 child attributes

`color` object

Its colour.

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`fontSize` integer (int32)

Size in pixels, 10 to 18.

`textColor` object

The text colour headings, body and small text follow when their own font has none. On an update, a colour without colours clears it.

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`titleFont` object

\--- Typography Section --- Title font configuration

6 child attributes, the same as [pageTheme.bodyFont in the link object](#links-object-pagetheme-bodyfont).

`updatedAt` string (date-time) 

Read-only

When the page theme was last updated

`visitorExperience` enum

How visitor pages pace their content. Unset reads as CLASSIC.

Allowed values

* `PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC`
* `PAGE_THEME_VISITOR_EXPERIENCE_FOCUSED`

`workspaceId` string 

Read-only

Workspace ID this page theme belongs to

`pageThemeId` string

The ID of the page theme for this link (UUID).

`pageThemeTemplateId` string

The page theme template this link's styling was applied from (UUID).

Empty when the theme was styled by hand rather than taken from a template. Set when a template is applied, and unchanged by later edits, so it records where the look came from rather than what it is now.

`purpose` string

What the user is trying to achieve with this link, in one or two sentences.

`qrcodeDesign` object

The custom domain that is used to access the link. Use the include parameter when available to include the custom domain in the response.

18 child attributes

`backgroundOptions` object

The styling options for the background

1 child attribute

`themeColor` object

Color configuration supporting solid colors and gradients

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`centralImageMargin` integer (int32)

The margin around the central image in pixels

`centralImageMediaId` string 

Read-only

The media library item the central image (the QR code logo) was picked from (UUID). Empty when the logo came from a template or a public upload, or there is none. The design keeps its own copy of the image, so the logo survives the media being deleted; this id may then name media that no longer exists.

`centralImageSignedUrl` string 

Read-only

The signed URL for the central image This URL eventually expires

`centralImageSize` number (double)

The size of the central image relative to the QR code (0.0-1.0 proportion)

`cornersDotOptions` object

The styling options for the dot corners

2 child attributes

`themeColor` object

Color configuration supporting solid colors and gradients

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`type` enum

Rendering style for the dot corners

Allowed values

* `CORNERS_DOT_TYPE_DOT`
* `CORNERS_DOT_TYPE_SQUARE`
* `CORNERS_DOT_TYPE_HEXAGON`
* `CORNERS_DOT_TYPE_OCTAGON`
* `CORNERS_DOT_TYPE_TEARDROP`
* `CORNERS_DOT_TYPE_STAR`

`cornersSquareOptions` object

The styling options for the square corners

2 child attributes

`themeColor` object

Color configuration supporting solid colors and gradients

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`type` enum

Rendering style for the square corners

Allowed values

* `CORNERS_SQUARE_TYPE_DOT`
* `CORNERS_SQUARE_TYPE_SQUARE`
* `CORNERS_SQUARE_TYPE_EXTRA_ROUNDED`
* `CORNERS_SQUARE_TYPE_HEXAGON`
* `CORNERS_SQUARE_TYPE_OCTAGON`
* `CORNERS_SQUARE_TYPE_LEAF`

`createdAt` string (date-time) 

Read-only

When the QR code design was created

`dotsOptions` object

The styling options for the dots

2 child attributes

`themeColor` object

Color configuration supporting solid colors and gradients

4 child attributes

`colors` array of string 

Required

Color values in render order (hex, rgb/rgba, hsl/hsla).

`direction` string

Optional direction for linear gradients (e.g. "135deg", "to right").

`stops` array of string

Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").

`type` enum 

Required

Color type

Allowed values

* `THEME_COLOR_TYPE_SOLID`
* `THEME_COLOR_TYPE_LINEAR`
* `THEME_COLOR_TYPE_RADIAL`

`type` enum

Rendering style for data dots

Allowed values

* `DOTS_TYPE_SQUARE`
* `DOTS_TYPE_DOTS`
* `DOTS_TYPE_BUBBLY_DOTS`
* `DOTS_TYPE_CIRCUIT_CHIP`
* `DOTS_TYPE_ROUNDED`
* `DOTS_TYPE_EXTRA_ROUNDED`
* `DOTS_TYPE_CLASSY`
* `DOTS_TYPE_CLASSY_ROUNDED`
* `DOTS_TYPE_HEXAGON`
* `DOTS_TYPE_OCTAGON`

`errorCorrectionLevel` string

Error correction level forwarded to the QR renderer ("L","M","Q","H")

`hasCentralImage` boolean 

Read-only

Whether the design has a central image (a logo) right now, however it got there: applied from a template, uploaded, or picked from the media library. An update that leaves the central image fields out keeps it.

`height` integer (int32)

Export height in pixels

`hideBackgroundDots` boolean

Whether to remove dots behind the central image to improve contrast

`id` string

The unique identifier of the QR code design (UUID)

`outputFileFormat` enum

The output file format for the QR code.

Allowed values

* `OUTPUT_FILE_FORMAT_SVG` Scalable Vector Graphics format for infinite resolution
* `OUTPUT_FILE_FORMAT_PNG` Portable Network Graphics format with transparency support
* `OUTPUT_FILE_FORMAT_JPEG` Joint Photographic Experts Group format for compressed images
* `OUTPUT_FILE_FORMAT_WEBP` WebP format for modern web-optimized compression
* `OUTPUT_FILE_FORMAT_UNSPECIFIED` Output format not specified (defaults to PNG server-side)

`shape` enum

The shape of the QR code.

Allowed values

* `SHAPE_SQUARE` Traditional square modules for QR code data points
* `SHAPE_CIRCLE` Circular modules for a rounded visual appearance
* `SHAPE_UNSPECIFIED` Shape not specified (defaults to square modules)

`updatedAt` string (date-time) 

Read-only

When the QR code design was last updated

`width` integer (int32)

Export width in pixels

`qrcodeDesignId` string

The ID of the link design (UUID). This is the ID of the design that is used to generate the QR Code. If not defined, the design from the QR Code template will be used.

`qrcodeEnabled` boolean

Whether the link has a QR code. When false the link has no QR code at all: qrcodeDesignId, qrcodeDesign and qrcodeSignedUrl are empty, and the QR code design endpoints refuse the link until it is turned back on with UpdateLink.

`qrcodePendingUpdateSince` string (date-time) 

Read-only

When the link is pending QR Code update. This happens when the QR Code Design is updated and the QR Code image is still being processed.

`qrcodeSignedUrl` string 

Read-only

The signed URL for the QR Code image. This URL eventually expires.

`qrcodeTemplateId` string

The ID of the design template (UUID). This is the template that is used to generate the first QR Code Design assigned to the link. If not defined, a default QR Code Design will be generated.

`shortlink` string

The short link for the link. This is the path attached to the URL, one segment or several ("menu/lunch"). It can be defined by the client or generated by the system but is never null. It is unique within a custom domain or Linkbreakers default domain. On a custom domain it can be dynamic, with {name} segments that match any value and save it on the visitor ("01/09506000134352/10/{batch}"); see CreateLinkRequest.shortlink for the rules.

`tags` array of object

The tags associated with the link.

4 child attributes

`createdAt` string (date-time) 

Read-only

When the tag was created

`id` string

The unique identifier of the tag (UUID)

`name` string

The name of the tag

`updatedAt` string (date-time) 

Read-only

When the tag was last updated

`updatedAt` string (date-time) 

Read-only

When the link was last updated.

`workspaceId` string

The workspace ID the link belongs to (UUID)

Example link

```json
{
  "createdAt": "2026-03-14T09:30:00Z",
  "customDomain": {
    "activatedAt": "2026-03-14T09:42:00Z",
    "certificateExpiresAt": "2026-06-12T09:41:00Z",
    "cloudflareHostnameStatus": "active",
    "cloudflareSslStatus": "pending_validation",
    "createdAt": "2026-03-14T09:30:00Z",
    "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "lastCheckedAt": "2026-03-21T06:00:00Z",
    "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
    "linkCount": 5,
    "name": "links.example.com",
    "rootDestination": "https://example.com",
    "scheduledDeletionAt": "2026-04-17T16:05:00Z",
    "status": "STATUS_ACTIVE",
    "statusChangedAt": "2026-03-18T16:05:00Z",
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  },
  "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
  "entrypoint": "https://linkbreak.ing/4BnH-R19p",
  "eventCount": 128,
  "expiredDestination": "https://example.com/campaign-over",
  "expiresAt": "2026-12-31T23:59:59Z",
  "fallbackDestination": "https://brand.example.com/fallback",
  "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
  "metadata": {
    "campaign": "spring-2026",
    "table": "12"
  },
  "name": "Spring menu",
  "pageTheme": {
    "badgeEnabled": true,
    "badgeIconColor": {
      "colors": [
        "#1F3A5F",
        "#F4EDE4"
      ],
      "direction": "135deg",
      "stops": [
        "0%",
        "100%"
      ],
      "type": "THEME_COLOR_TYPE_LINEAR"
    },
    "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
    "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
    "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
    "bodyFont": {
      "bold": true,
      "color": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
      "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
      "fontSize": 18,
      "italic": false
    },
    "canvasColor": {
      "colors": [
        "#1F3A5F",
        "#F4EDE4"
      ],
      "direction": "135deg",
      "stops": [
        "0%",
        "100%"
      ],
      "type": "THEME_COLOR_TYPE_LINEAR"
    },
    "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
    "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
    "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
    "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
    "containerConfig": {
      "backgroundColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "borderColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "borderSize": 2,
      "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
      "opacity": 90,
      "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
    },
    "containerEnabled": true,
    "createdAt": "2026-03-14T09:30:00Z",
    "elementColor": {
      "colors": [
        "#1F3A5F",
        "#F4EDE4"
      ],
      "direction": "135deg",
      "stops": [
        "0%",
        "100%"
      ],
      "type": "THEME_COLOR_TYPE_LINEAR"
    },
    "elementFont": {
      "bold": true,
      "color": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
      "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
      "fontSize": 18,
      "italic": false
    },
    "elementStyles": [
      {
        "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
        "style": {
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 0,
          "fill": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "radius": 14,
          "textColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          }
        }
      }
    ],
    "footerLogoEnabled": true,
    "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
    "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
    "shape": {
      "borderColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "borderSize": 1,
      "radius": 12
    },
    "smallText": {
      "color": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "fontSize": 13
    },
    "textColor": {
      "colors": [
        "#1F3A5F",
        "#F4EDE4"
      ],
      "direction": "135deg",
      "stops": [
        "0%",
        "100%"
      ],
      "type": "THEME_COLOR_TYPE_LINEAR"
    },
    "titleFont": {
      "bold": true,
      "color": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
      "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
      "fontSize": 18,
      "italic": false
    },
    "updatedAt": "2026-03-18T16:05:00Z",
    "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  },
  "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
  "qrcodeDesign": {
    "backgroundOptions": {
      "themeColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      }
    },
    "centralImageMargin": 8,
    "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
    "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
    "centralImageSize": 0.3,
    "cornersDotOptions": {
      "themeColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "type": "CORNERS_DOT_TYPE_DOT"
    },
    "cornersSquareOptions": {
      "themeColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
    },
    "createdAt": "2026-03-14T09:30:00Z",
    "dotsOptions": {
      "themeColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "type": "DOTS_TYPE_ROUNDED"
    },
    "errorCorrectionLevel": "H",
    "hasCentralImage": true,
    "height": 1024,
    "hideBackgroundDots": true,
    "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
    "shape": "SHAPE_SQUARE",
    "updatedAt": "2026-03-18T16:05:00Z",
    "width": 1024
  },
  "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
  "qrcodeEnabled": true,
  "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
  "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
  "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "shortlink": "4BnH-R19p",
  "tags": [
    {
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
      "name": "restaurant",
      "updatedAt": "2026-03-18T16:05:00Z"
    }
  ],
  "updatedAt": "2026-03-18T16:05:00Z",
  "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
}
```

### Parameters

`pageSize` integer (int64) 

query

Required

The maximum number of links to return.

`pageToken` string 

query

The token for retrieving the next page of results If not provided, the first page of results will be returned

`include` array of string 

query

List of related resources to include in the response. Supported values: "customDomain", "qrcodeDesign", "qrcodeSignedUrl", "tags", "pageTheme". Use "qrcodeSignedUrl" to fetch signed QR image URLs—they are omitted by default to keep requests fast.

`tags` array of string 

query

Tags to filter links by (matches links containing any of the provided tags)

`search` string 

query

Search query to filter links by name or shortlink

Search query to filter links by name or shortlink

`sortBy` string 

query

Field to sort links by (defaults to updatedAt if not specified)

Field to sort links by

* LINK\_SORT\_FIELD\_UNSPECIFIED: Sort field not specified (defaults to updatedAt)
* LINK\_SORT\_FIELD\_CREATED\_AT: Sort by creation date
* LINK\_SORT\_FIELD\_UPDATED\_AT: Sort by last update date
* LINK\_SORT\_FIELD\_SHORTLINK: Sort by shortlink name
* LINK\_SORT\_FIELD\_NAME: Sort by link name
* LINK\_SORT\_FIELD\_EVENT\_COUNT: Sort by event count

`sortDirection` string 

query

Sort direction (defaults to descending if not specified)

Sort direction (ascending or descending)

* SORT\_DIRECTION\_UNSPECIFIED: Sort direction not specified (defaults to descending)
* SORT\_DIRECTION\_ASC: Sort in ascending order
* SORT\_DIRECTION\_DESC: Sort in descending order

`view` string 

query

View mode. Default returns all links. LINK\_VIEW\_DIRECTORY scopes to a directory (or root when directoryId is empty).

* LINK\_VIEW\_UNSPECIFIED: Return all links regardless of directory (default)
* LINK\_VIEW\_DIRECTORY: Return links scoped to a directory. When directoryId is set, returns links in that directory. When directoryId is empty, returns root-level links (no directory).

`directoryId` string 

query

Directory ID to scope to when view is LINK\_VIEW\_DIRECTORY. When empty with LINK\_VIEW\_DIRECTORY, returns root-level links.

`cursor` string 

query

Opaque cursor from the previous page's nextPageToken. Same as pageToken; when both are sent, pageToken wins.

### Response

200

`links` array of object

Fields: [The link object](#links-object).

`nextPageToken` string

Token for retrieving the next page of results.

Cursor to fetch the next page of links

`totalCount` integer (int64)

Total number of links matching the current filters

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X GET "https://api.linkbreakers.com/v1/links?pageSize={pageSize}" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

Response 200

```json
{
  "links": [
    {
      "createdAt": "2026-03-14T09:30:00Z",
      "customDomain": {
        "activatedAt": "2026-03-14T09:42:00Z",
        "certificateExpiresAt": "2026-06-12T09:41:00Z",
        "cloudflareHostnameStatus": "active",
        "cloudflareSslStatus": "pending_validation",
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
        "lastCheckedAt": "2026-03-21T06:00:00Z",
        "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
        "linkCount": 5,
        "name": "links.example.com",
        "rootDestination": "https://example.com",
        "scheduledDeletionAt": "2026-04-17T16:05:00Z",
        "status": "STATUS_ACTIVE",
        "statusChangedAt": "2026-03-18T16:05:00Z",
        "updatedAt": "2026-03-18T16:05:00Z",
        "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
      },
      "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
      "entrypoint": "https://linkbreak.ing/4BnH-R19p",
      "eventCount": 128,
      "expiredDestination": "https://example.com/campaign-over",
      "expiresAt": "2026-12-31T23:59:59Z",
      "fallbackDestination": "https://brand.example.com/fallback",
      "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "metadata": {
        "campaign": "spring-2026",
        "table": "12"
      },
      "name": "Spring menu",
      "pageTheme": {
        "badgeEnabled": true,
        "badgeIconColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
        "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
        "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
        "bodyFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "canvasColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
        "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
        "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
        "containerConfig": {
          "backgroundColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 2,
          "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
          "opacity": 90,
          "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
        },
        "containerEnabled": true,
        "createdAt": "2026-03-14T09:30:00Z",
        "elementColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "elementFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "elementStyles": [
          {
            "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
            "style": {
              "borderSize": 0,
              "radius": 14
            }
          }
        ],
        "footerLogoEnabled": true,
        "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
        "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
        "shape": {
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 1,
          "radius": 12
        },
        "smallText": {
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "fontSize": 13
        },
        "textColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "titleFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "updatedAt": "2026-03-18T16:05:00Z",
        "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
        "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
      },
      "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
      "qrcodeDesign": {
        "backgroundOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          }
        },
        "centralImageMargin": 8,
        "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
        "centralImageSize": 0.3,
        "cornersDotOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "CORNERS_DOT_TYPE_DOT"
        },
        "cornersSquareOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
        },
        "createdAt": "2026-03-14T09:30:00Z",
        "dotsOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "DOTS_TYPE_ROUNDED"
        },
        "errorCorrectionLevel": "H",
        "hasCentralImage": true,
        "height": 1024,
        "hideBackgroundDots": true,
        "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
        "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
        "shape": "SHAPE_SQUARE",
        "updatedAt": "2026-03-18T16:05:00Z",
        "width": 1024
      },
      "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "qrcodeEnabled": true,
      "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
      "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
      "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "shortlink": "4BnH-R19p",
      "tags": [
        {
          "createdAt": "2026-03-14T09:30:00Z",
          "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
          "name": "restaurant",
          "updatedAt": "2026-03-18T16:05:00Z"
        }
      ],
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    }
  ],
  "nextPageToken": "eyJsaW5rSWQiOiI0YmEifQ==",
  "totalCount": 42
}
```

### Parameters

`id` string 

path

Required

The ID of the link to retrieve (UUID)

`include` array of string 

query

List of related resources to include in the response. Supported values: "customDomain", "qrcodeDesign", "qrcodeSignedUrl", "tags", "pageTheme". Use "qrcodeSignedUrl" to fetch signed QR image URLs—they are omitted by default to keep requests fast.

### Response

200

`link` object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

Fields: [The link object](#links-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X GET "https://api.linkbreakers.com/v1/links/{id}" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

Response 200

```json
{
  "link": {
    "createdAt": "2026-03-14T09:30:00Z",
    "customDomain": {
      "activatedAt": "2026-03-14T09:42:00Z",
      "certificateExpiresAt": "2026-06-12T09:41:00Z",
      "cloudflareHostnameStatus": "active",
      "cloudflareSslStatus": "pending_validation",
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "lastCheckedAt": "2026-03-21T06:00:00Z",
      "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
      "linkCount": 5,
      "name": "links.example.com",
      "rootDestination": "https://example.com",
      "scheduledDeletionAt": "2026-04-17T16:05:00Z",
      "status": "STATUS_ACTIVE",
      "statusChangedAt": "2026-03-18T16:05:00Z",
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "entrypoint": "https://linkbreak.ing/4BnH-R19p",
    "eventCount": 128,
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://brand.example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "Spring menu",
    "pageTheme": {
      "badgeEnabled": true,
      "badgeIconColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
      "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
      "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
      "bodyFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "canvasColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
      "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
      "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
      "containerConfig": {
        "backgroundColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 2,
        "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
        "opacity": 90,
        "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
      },
      "containerEnabled": true,
      "createdAt": "2026-03-14T09:30:00Z",
      "elementColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "elementFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "elementStyles": [
        {
          "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
          "style": {
            "borderColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "borderSize": 0,
            "fill": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "radius": 14,
            "textColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            }
          }
        }
      ],
      "footerLogoEnabled": true,
      "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
      "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
      "shape": {
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 1,
        "radius": 12
      },
      "smallText": {
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "fontSize": 13
      },
      "textColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "titleFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "updatedAt": "2026-03-18T16:05:00Z",
      "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
    "qrcodeDesign": {
      "backgroundOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        }
      },
      "centralImageMargin": 8,
      "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
      "centralImageSize": 0.3,
      "cornersDotOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_DOT_TYPE_DOT"
      },
      "cornersSquareOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
      },
      "createdAt": "2026-03-14T09:30:00Z",
      "dotsOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "DOTS_TYPE_ROUNDED"
      },
      "errorCorrectionLevel": "H",
      "hasCentralImage": true,
      "height": 1024,
      "hideBackgroundDots": true,
      "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
      "shape": "SHAPE_SQUARE",
      "updatedAt": "2026-03-18T16:05:00Z",
      "width": 1024
    },
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
    "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "4BnH-R19p",
    "tags": [
      {
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "restaurant",
        "updatedAt": "2026-03-18T16:05:00Z"
      }
    ],
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  }
}
```

### Parameters

`linkId` string 

path

Required

The link to list the integrations of (UUID).

### Response

200

`integrations` array of object

The integrations active on the link.

6 child attributes

`detail` string

What it points at, such as a Slack channel or a pixel ID. May be empty.

`kind` enum

Which integration it is.

Allowed values

* `LINK_INTEGRATION_KIND_SLACK`
* `LINK_INTEGRATION_KIND_GOOGLE_ANALYTICS`
* `LINK_INTEGRATION_KIND_GOOGLE_FORMS`
* `LINK_INTEGRATION_KIND_MAKE`
* `LINK_INTEGRATION_KIND_ZAPIER`
* `LINK_INTEGRATION_KIND_WEBHOOK`
* `LINK_INTEGRATION_KIND_META_PIXEL`
* `LINK_INTEGRATION_KIND_GOOGLE_TAG`
* `LINK_INTEGRATION_KIND_TIKTOK_PIXEL`
* `LINK_INTEGRATION_KIND_LINKEDIN_INSIGHT`
* `LINK_INTEGRATION_KIND_GOOGLE_TAG_MANAGER`
* `LINK_INTEGRATION_KIND_TALLY`
* `LINK_INTEGRATION_KIND_TYPEFORM`
* `LINK_INTEGRATION_KIND_JOTFORM`
* `LINK_INTEGRATION_KIND_PAPERFORM`
* `LINK_INTEGRATION_KIND_N8N`
* `LINK_INTEGRATION_KIND_INTEGRATELY`
* `LINK_INTEGRATION_KIND_BIRD`
* `LINK_INTEGRATION_KIND_BREVO`
* `LINK_INTEGRATION_KIND_MAILERLITE`
* `LINK_INTEGRATION_KIND_KIT`
* `LINK_INTEGRATION_KIND_LOOPS`
* `LINK_INTEGRATION_KIND_MAILCHIMP`
* `LINK_INTEGRATION_KIND_PIPEDRIVE`
* `LINK_INTEGRATION_KIND_FRESHSALES`
* `LINK_INTEGRATION_KIND_KLAVIYO`
* `LINK_INTEGRATION_KIND_CUSTOMER_IO`
* `LINK_INTEGRATION_KIND_HUBSPOT`
* `LINK_INTEGRATION_KIND_SALESFORCE`
* `LINK_INTEGRATION_KIND_ZOHO_CRM`

`moments` array of enum

When it runs, as kinds of workflow step: it runs at every step of the link's workflow whose kind is listed. `KIND_ENTRY` is the visit itself, `KIND_INTERACTION` a step where the visitor answers (a form, a password), `KIND_CONDITION` a step that routes the visitor, `KIND_EXIT` the redirect that ends the visit. All four when it runs at every step, which is the default. A retargeting pixel runs at `KIND_ENTRY`. Empty for a form tool, which runs where the link opens its form.

`name` string

What it is called: a webhook's own name, otherwise the integration's.

`stepIds` array of string

The workflow steps it runs at, besides the kinds in `moments`. Set when it was narrowed to specific steps; may name steps of other links.

`webhookId` string

The webhook's ID, when `kind` is `LINK_INTEGRATION_KIND_WEBHOOK`. Empty otherwise.

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X GET "https://api.linkbreakers.com/v1/links/{linkId}/integrations" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

Response 200

```json
{
  "integrations": [
    {
      "detail": "#marketing",
      "kind": "LINK_INTEGRATION_KIND_SLACK",
      "moments": [
        "KIND_ENTRY",
        "KIND_INTERACTION"
      ],
      "name": "Slack",
      "stepIds": [
        "987fcdeb-a321-45e6-b789-123456789012"
      ]
    }
  ]
}
```

### Parameters

`shortlink` string 

query

The shortlink to check availability for.

`customDomainId` string 

query

The ID of the custom domain to check against (UUID) If not provided, checks against the default domain

### Response

200

`available` boolean

Whether the slug is available for use

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X GET "https://api.linkbreakers.com/v1/links/shortlink-availability" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

Response 200

```json
{
  "available": true
}
```

### Response

200

`shortlink` string

Suggested available shortlink slug generated by the service

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X GET "https://api.linkbreakers.com/v1/links/shortlink-random" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

Response 200

```json
{
  "shortlink": "4BnH-R19p"
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`conversionTracking` boolean

Enable conversion tracking by preserving lbid in redirect URL. Forced on for a Typeform, Tally, Jotform, Paperform or Google Forms destination, whose integration matches each answer to its visitor by the lbid: false is refused there.

`customDomainId` string

Optional custom domain ID (UUID). Leave empty to use the default domain.

`destination` string 

Required

The destination URL to shorten. This field is required.

`directoryId` string

Directory to organize this link into. If empty, link is created at root level.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`fallbackDestination` string

The fallback destination URL to use when workflow steps are broken

`id` string

Optional pre-generated link ID (UUID). Skipped from the AI tool schema: on a create there is no existing link to alias, so exposing it only invites the LLM to invent a raw UUID. The system generates the id and returns it as an alias in the response.

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeDesignId` string

The QR Code design ID (UUID).

`qrcodeEnabled` boolean

Whether the link has a QR code. Defaults to true. When false, the link is created without any QR code: no QR code design is created, no image is generated, qrcodeDesignId stays empty and qrcodeSignedUrl is never set. The shortlink and workflow are unaffected. qrcodeTemplateId is still stored and used if the QR code is turned on later. Cannot be combined with qrcodeDesignId or waitForQrcode=true.

`qrcodeTemplateId` string

The ID of the QR Code template (UUID)

`shortlink` string

The shortlink (URL slug) for the link. If not given, a unique one is generated by the system. It can span several path segments ("menu/lunch"); the segment "steps" is reserved.

Dynamic slugs: on a custom domain (customDomainId set), a segment written {name} matches any value in that place, so one link answers every address of that shape and each visit saves the value on the visitor as the attribute "name", usable in workflow conditions and visitor data from the first step. A variable fills a whole segment and its name starts with a lowercase letter, then lowercase letters, digits or underscores, up to 40 characters. "p/{serial}" answers /p/A1B2C3 and saves serial=A1B2C3; "01/09506000134352/10/{batch}" answers every batch of a GS1 Digital Link. A link with a fixed slug always wins over a dynamic one for the same address. Errors: DYNAMIC\_SLUG\_NEEDS\_CUSTOM\_DOMAIN without a custom domain, DYNAMIC\_SLUG\_DUPLICATE\_VARIABLE when a name appears twice, and DYNAMIC\_SLUG\_OVERLAPS when another dynamic slug of the domain already matches the same addresses. The link's own QR code encodes the variables literally; render the codes to print, one per value, with POST /v1/links/{id}/qrcode-images:render.

`tags` array of string

List of tags to associate with the link. If a tag doesn't exist, it will be created.

`waitForQrcode` boolean

Wait for QR code generation to complete before returning response.

### Response

200

`link` object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

Fields: [The link object](#links-object).

`workflowSteps` array of object 

Read-only

The workflow steps that were created alongside the link.

Every link is created with an entry step (eventAction EVENT\_ACTION\_LINK\_VISIT, kind KIND\_ENTRY) and a default exit step, already connected to each other. They are returned here so a caller never has to guess or look up the entry step's id before attaching its own steps to it.

18 child attributes

`attributeCapture` object

What this step saves to the visitor's profile when a visitor goes through it. Absent when the step has never been configured to save anything.

2 child attributes

`enabled` boolean

Off keeps the configured writes without running them.

`writes` array of object

Up to 20 values to save. Each runs when the visitor goes through the step.

4 child attributes

`key` string

The attribute key, such as "looking\_for" or "book\_a\_viewing\_at". Letters, digits, "\_", "-" and "."; keys starting with "$" are reserved.

`mode` enum

SET (default) keeps the latest value; SET\_ONCE keeps the first.

Allowed values

* `ATTRIBUTE_WRITE_MODE_SET` Overwrite, so the profile holds the latest value.
* `ATTRIBUTE_WRITE_MODE_SET_ONCE` Keep the first value, for first-touch facts.

`type` enum

How the value is stored, so it can be compared and filtered. Defaults to STRING. Use DATE with {{now}} for milestones and ENUM for choices.

Allowed values

* `VISITOR_ATTRIBUTE_TYPE_STRING`
* `VISITOR_ATTRIBUTE_TYPE_NUMBER`
* `VISITOR_ATTRIBUTE_TYPE_BOOLEAN`
* `VISITOR_ATTRIBUTE_TYPE_DATE`
* `VISITOR_ATTRIBUTE_TYPE_ENUM`

`value` string

Literal text, or a template filled in when the visitor goes through the step: {{now}}, {{link.name}}, {{link.metadata.<key>}}, and on MULTI\_LINK steps {{choice.label}} and {{choice.id}} for the button tapped. A write whose value comes out empty is skipped.

`backButton` object

The page's optional back button, which returns the visitor to the page they came from (such as the menu) without wiring a connection. Absent when it has never been configured. Only page steps carry one.

2 child attributes

`enabled` boolean

Shows the button. Off keeps the label for when it is switched back on.

`label` string

Text on the button, up to 40 characters. Defaults to "Back".

`backButtonAvailable` boolean 

Read-only

Whether this step's backButton can ever show: the step is a page and some visitor reaches it after already seeing another page (a menu, a form, a password page). False on a page that comes straight after the scan, even through conditions, because a visitor there has no page to go back to. A backButton stored on a step where this is false is kept, so it shows again once the wiring puts a page before the step.

`branches` array of object 

Read-only

Every exit of this step, with its current destination.

This is the vocabulary for connecting the step: pass one of these branch\_ids when connecting a step exit. An atomic step has exactly one branch, "next". A composite step has one per button, option or range, plus "else" for a condition's fallback. An exit step has none.

3 child attributes

`branchId` string

The id this branch is addressed by: "next" for an atomic step's single exit, "else" for a condition's fallback, or the id the branch carries in the step's payload — a button id, option id, range id, or country code.

`label` string

Human-readable name of the branch: a button's label, a country code, a condition option's name, "fallback", "next step".

`nextStepId` string

The step this branch leads to. Empty when the branch is unconnected.

`canvasPosition` object

Canvas position for React Flow visualization

2 child attributes

`x` number (double)

X coordinate on the canvas

`y` number (double)

Y coordinate on the canvas

`childStepIds` array of string 

Read-only

Child workflow step IDs (steps that this step can transition to, UUID)

`createdAt` string (date-time) 

Read-only

When the workflow step was created

`eventAction` enum

The event action type for this workflow step.

Allowed values

* `EVENT_ACTION_CLIENT_REDIRECT` Redirect visitors to a destination URL
* `EVENT_ACTION_LINK_VISIT` Entry step triggered when the link is visited.
* `EVENT_ACTION_PASSWORD_VERIFY` Require visitors to enter a password before proceeding
* `EVENT_ACTION_FORM_SUBMIT` Present a data collection form to visitors
* `EVENT_ACTION_CONTACT_CARD` Generate a vCard (VCF) response with contact information
* `EVENT_ACTION_MULTI_LINK` A page of buttons where each one continues into more workflow: the button leads to a next step, not straight out. Records which button the visitor pressed, so use it over SOCIAL\_LINKS\_PAGE when that choice is worth measuring or when a branch needs to do more than redirect. This is the menu step: for several documents or PDFs, give each one a button connected to an OPEN\_MEDIA step for media uploaded to the media library, or to a CLIENT\_REDIRECT when the document is already hosted at a URL.
* `EVENT_ACTION_VISIT_TYPE_CONDITION` Route visitors based on whether it's a first or returning visit
* `EVENT_ACTION_COUNTRY_CONDITION` Route visitors based on their country location
* `EVENT_ACTION_DAY_OF_WEEK_CONDITION` Route visitors based on day of week
* `EVENT_ACTION_TIME_OF_DAY_CONDITION` Route visitors based on time of day
* `EVENT_ACTION_DAY_OF_MONTH_CONDITION` Route visitors based on day of month
* `EVENT_ACTION_SPECIFIC_DATE_CONDITION` Route visitors based on specific calendar dates
* `EVENT_ACTION_SOCIAL_LINKS_PAGE` A page of buttons that each leave for an external URL. Social profiles are the common case, not the only one: app stores, docs, booking pages and storefronts all work, and the name is the only thing about it that is social. It is an exit step, so the visitor leaves from here.
* `EVENT_ACTION_DEVICE_TYPE_CONDITION` Route visitors based on device type (e.g. MOBILE, DESKTOP, TABLET)
* `EVENT_ACTION_DEVICE_PLATFORM_CONDITION` Route visitors based on device platform / operating system (e.g. iOS, Android, macOS)
* `EVENT_ACTION_DEVICE_BROWSER_CONDITION` Route visitors based on their browser: a browser family (Chrome, Safari, Firefox...) or the in-app browser of the app a link was opened in (Instagram, TikTok, Facebook, LinkedIn...)
* `EVENT_ACTION_DEVICE_BRAND_CONDITION` Route visitors based on hardware brand (e.g. Apple, Samsung, Google)
* `EVENT_ACTION_DEVICE_ACTOR_CONDITION` Route visitors based on actor classification: HUMAN, BOT, AGENT, AUTOMATED or UNKNOWN. AGENT is an AI agent that names itself (GPTBot, Claude-User, Perplexity-User...). AUTOMATED is a browser driven by software, whoever is behind it: headless Chrome from its request, and a visible browser under automation once a link with the Advanced data collection level has read navigator.webdriver, from that device's next visit on.
* `EVENT_ACTION_VISITOR_DATA_CONDITION` Route visitors based on their profile data or custom attributes
* `EVENT_ACTION_THANK_YOU_PAGE` Display a final thank you / completion message (exit step)
* `EVENT_ACTION_MESSAGE_PAGE` Text with ONE way onward: a single button, or a timer that moves the visitor automatically. It carries no list of destinations, so a page that should offer a choice between two or more places is not this step. Use SOCIAL\_LINKS\_PAGE when the choices leave for external URLs, or MULTI\_LINK when each choice continues into more workflow. Never put links, documents or PDFs on it: it is a message, nothing else.
* `EVENT_ACTION_OPEN_MEDIA` Hand the visitor one piece of uploaded media, opened in their browser (exit step): a PDF, an image (PNG, JPEG, WebP, SVG) or an MP4 video. The visitor is sent straight to the media, with no page of its own. Any media of the library can be opened: it is uploaded once and referenced by its mediaId; swapping it means pointing the step at another media item, and the QR code never changes.
* `EVENT_ACTION_LOCATION_REQUEST` Ask the visitor for their precise location (GPS) through the browser, with their permission (composite: two branches, "location" when it was shared, "else" when it was refused, skipped or is unavailable).
* `EVENT_ACTION_LANGUAGE_CONDITION` Route visitors based on their phone or browser language (the first language it sends, matched on its two-letter ISO 639-1 base, so "fr" catches fr-FR and fr-CA)
* `EVENT_ACTION_CHAT_BOT` A conversation with one of the workspace's agents that collects visitor attributes (composite: two branches, "completed" when every required objective is known, "else" otherwise)
* `EVENT_ACTION_TRAFFIC_SPLIT` Split visitors between 2 to 20 variants by percentage, for an A/B test (composite: one branch per variant, no "else"). Assignment is deterministic and sticky per device by default. See TrafficSplitPayload.

`id` string

The unique identifier of the workflow step (UUID)

`kind` enum 

Read-only

The kind of workflow step (entry, exit, etc.) - read-only, determined by server.

Allowed values

* `KIND_ENTRY` Entry steps are automatically triggered when a visitor reaches the workflow
* `KIND_EXIT` Exit steps finalize the workflow (commonly a redirect)
* `KIND_INTERACTION` Interaction steps require visitor input (forms, passwords, etc.)
* `KIND_CONDITION` Condition steps evaluate logic and route to different next steps

`linkId` string

The link ID this workflow step belongs to (UUID)

`media` object

The step's own images, shown in place of the page theme's badge and cover on this step only. Absent when the step uses the theme's. Only page steps (rendersPage true) carry them.

2 child attributes

`badgeMediaId` string

The image shown in the page theme's badge slot on this step, in the theme's badge shape and border, even when the theme has no badge (UUID of a media library image). Empty: the theme's badge.

`coverMediaId` string

The image shown as this step's cover, in the theme's cover mode and placement (UUID of a media library image). Empty: the theme's cover.

`nextCanGoBack` boolean 

Read-only

Whether a page added after this step could show a back button: this step is a page, or a page comes before it. False for a step no visitor reaches.

`nodeType` enum 

Read-only

The node type of workflow step (composite, atomic) - read-only, determined by server.

This tells you how many exits the step has, which the branches field then lists: ATOMIC steps have one, COMPOSITE steps have one per button/option plus a fallback. Connect any of them by connecting that step exit.

See WorkflowStepNodeType enum for detailed documentation.

Allowed values

* `NODE_TYPE_COMPOSITE` Composite steps have one exit per button, option or range, plus "else" for a condition's fallback. Examples: MULTI\_LINK, VISIT\_TYPE\_CONDITION, COUNTRY\_CONDITION, DAY\_OF\_WEEK\_CONDITION, TIME\_OF\_DAY\_CONDITION, DAY\_OF\_MONTH\_CONDITION, SPECIFIC\_DATE\_CONDITION, DEVICE\_\*\_CONDITION, VISITOR\_DATA\_CONDITION
* `NODE_TYPE_ATOMIC` Atomic steps have exactly one exit, branch id "next". Exit steps (THANK\_YOU\_PAGE, CONTACT\_CARD, SOCIAL\_LINKS\_PAGE, CLIENT\_REDIRECT) are atomic but end the journey, so they have no branches at all. Examples: LINK\_VISIT, PASSWORD\_VERIFY, FORM\_SUBMIT, MESSAGE\_PAGE

`parentStepIds` array of string 

Read-only

Parent workflow step IDs (steps that can transition into this step, UUID)

`payload` object

The payload data for this workflow step (varies by event action)

26 child attributes

`chatBot` object

Chat bot payload for EVENT\_ACTION\_CHAT\_BOT

9 child attributes

`agentId` string

The agent that talks to the visitor (UUID)

`elseNextStepId` string

Step the visitor goes to when the chat ends without them ("else" branch). Unset follows the "completed" branch.

`maxExchanges` integer (int32)

Most messages the visitor can send before the step moves on. Defaults to 15.

`nextStepId` string

Step the visitor goes to once every required objective is known ("completed" branch)

`objectives` array of object

What the conversation must learn about the visitor

`openingMessage` string

First message the agent sends. Empty lets the agent greet the visitor itself.

`skipEnabled` boolean

Whether the visitor can leave the chat with a skip button, taking the "else" branch

`skipLabel` string

Label of the skip button

`skipWhenKnown` boolean

Pass over the chat when every required objective is already known about the visitor

`clientRedirect` object

Client redirect payload for EVENT\_ACTION\_CLIENT\_REDIRECT

2 child attributes

`conversionTracking` boolean

Controls whether lbid is preserved in redirect URL. Forced on for a Typeform, Tally, Jotform, Paperform or Google Forms destination: left out it turns on, false is refused (CONVERSION\_TRACKING\_REQUIRED). Typeform gets the lbid after the #.

`destination` string

Fully qualified URL used for the redirect

`countryCondition` object

Country condition payload for EVENT\_ACTION\_COUNTRY\_CONDITION

2 child attributes

`countries` array of object

Country routing configuration

`elseNextStepId` string

Workflow step ID to route to if country doesn't match any configured options (UUID)

`dayOfMonthCondition` object

Day of month condition payload for EVENT\_ACTION\_DAY\_OF\_MONTH\_CONDITION

2 child attributes

`elseNextStepId` string

Workflow step ID to route to if no options match (UUID)

`options` array of object

Day of month routing options

`dayOfWeekCondition` object

Day of week condition payload for EVENT\_ACTION\_DAY\_OF\_WEEK\_CONDITION

2 child attributes

`elseNextStepId` string

Workflow step ID to route to if no options match (UUID)

`options` array of object

Day of week routing options

`deviceActorCondition` object

Device actor condition payload for EVENT\_ACTION\_DEVICE\_ACTOR\_CONDITION. An AGENT option matches AI agents that name themselves. An AUTOMATED option matches headless browsers on every visit, and a visible browser under automation from its second visit, once the link collects data at the Advanced level, which lets the page read navigator.webdriver. To treat both the same, route AGENT and AUTOMATED to the same step.

2 child attributes

`elseNextStepId` string

`options` array of object

`deviceBrandCondition` object

2 child attributes

`elseNextStepId` string

`options` array of object

`deviceBrowserCondition` object

2 child attributes

`elseNextStepId` string

`options` array of object

`devicePlatformCondition` object

2 child attributes

`elseNextStepId` string

`options` array of object

`deviceTypeCondition` object

2 child attributes

`elseNextStepId` string

`options` array of object

`form` object

Form data collection payload for EVENT\_ACTION\_FORM\_SUBMIT

7 child attributes

`autoSkipIfKnown` boolean

Automatically skip the form when required data is already known

`formDescription` string

Body copy rendered above the form fields

`formFields` array of object

Form fields to present to visitors

`formTitle` string

Optional heading shown on the visitor form

`skipButtonText` string

Custom text for the skip button (defaults to "Skip for now" when skipForm is enabled)

`skipForm` boolean

Whether the visitor experience should offer a "Skip" option and record an empty submission

`submitButtonText` string

Custom text for the submit button (defaults to "Submit")

`languageCondition` object

Language condition payload for EVENT\_ACTION\_LANGUAGE\_CONDITION. The visitor's language is the first one their phone or browser sends; visitors whose language is not listed, or who send none, take the "else" branch.

2 child attributes

`elseNextStepId` string

Workflow step ID to route to if the language doesn't match any configured option (UUID)

`languages` array of object

Language routing configuration, one branch per language code

`linkVisit` object

Entry payload for EVENT\_ACTION\_LINK\_VISIT (currently no specific fields).

Reserved for future link visit specific configuration

`locationRequest` object

Location request payload for EVENT\_ACTION\_LOCATION\_REQUEST

8 child attributes

`askOnce` boolean

Ask only once per device: a device that already shared its location on this step passes over it on later visits, taking the "location" branch

`buttonLabel` string

Label of the button that triggers the browser's location prompt

`description` string

Text under the heading, saying why the location is asked for

`elseNextStepId` string

Step the visitor goes to when the location is refused, skipped or unavailable ("else" branch)

`nextStepId` string

Step the visitor goes to once the location is shared ("location" branch)

`skipEnabled` boolean

Whether the page offers a skip button, which takes the "else" branch without triggering the browser prompt

`skipLabel` string

Label of the skip button

`title` string

Heading shown on the page

`messagePage` object

A mid-flow informational page with mandatory navigation

5 child attributes

`buttonLabel` string

Label for the navigation button (only used when navigationType is BUTTON, defaults to "Continue")

`description` string

Optional descriptive text below the title

`navigationType` enum 

Required

How the visitor proceeds to the next step.

Allowed values

* `MESSAGE_PAGE_NAVIGATION_TYPE_BUTTON` Visitor clicks a button to proceed
* `MESSAGE_PAGE_NAVIGATION_TYPE_TIMER` Visitor is automatically redirected after a timer expires

`timerSeconds` integer (int32)

Seconds before auto-redirect (only used when navigationType is TIMER)

`title` string 

Required

The main heading displayed on the message page

`multiLink` object

Multi-link page payload for EVENT\_ACTION\_MULTI\_LINK

3 child attributes

`buttons` array of object

Buttons to display on the multi-link page

`description` string

Optional description displayed on the multi-link page

`title` string

Optional title displayed on the multi-link page

`openMedia` object

Hands the visitor one piece of media from the media library (EVENT\_ACTION\_OPEN\_MEDIA)

1 child attribute

`mediaId` string 

Required

The media item (UUID) handed to the visitor: any ready media of the workspace (a PDF, an image or an MP4 video).

`password` object

Password protection payload for EVENT\_ACTION\_PASSWORD\_VERIFY

3 child attributes

`description` string

Additional helper copy displayed under the password prompt

`password` string

Plaintext password visitors must enter to continue the workflow

`title` string

Heading shown above the password prompt

`socialLinks` object

Social links page payload for EVENT\_ACTION\_SOCIAL\_LINKS\_PAGE

4 child attributes

`description` string

Optional description displayed on the social links page

`displayStyle` enum

Display style for the social links (defaults to detailed if not specified).

Allowed values

* `SOCIAL_LINKS_DISPLAY_STYLE_DETAILED` Display icon with text label (default)
* `SOCIAL_LINKS_DISPLAY_STYLE_COMPACT` Display icons only in a compact row

`links` array of object

Social links to display (up to 10)

`title` string

Optional title displayed on the social links page

`specificDateCondition` object

Specific date condition payload for EVENT\_ACTION\_SPECIFIC\_DATE\_CONDITION

2 child attributes

`elseNextStepId` string

Workflow step ID to route to if no options match (UUID)

`options` array of object

Specific date routing options

`thankYouPage` object

A terminal exit page displaying a title and optional description

2 child attributes

`description` string

Optional descriptive text below the title

`title` string 

Required

The main heading displayed on the thank you page

`timeOfDayCondition` object

Time of day condition payload for EVENT\_ACTION\_TIME\_OF\_DAY\_CONDITION

2 child attributes

`elseNextStepId` string

Workflow step ID to route to if no ranges match (UUID)

`ranges` array of object

Time range routing options

`trafficSplit` object

Traffic split payload for EVENT\_ACTION\_TRAFFIC\_SPLIT, Linkbreakers' A/B test. Invisible to the visitor: no page, the visit goes straight to the variant's next step. 2 to 20 variants, weights sum to exactly 100, there is no else branch because the weights cover every visitor.

Sticky is the default: assignment is deterministic and per device. The variant is computed from the step id and the device id, nothing is stored, so the same device gets the same variant on every visit. A different split on the same device is an independent assignment. The device is the workspace's device cookie, so a new device, private browsing or some in-app browsers count as a new visitor.

With sticky set to false, the variant is computed from the step id and the visit's event id instead: every visit is assigned afresh, so one person can see several variants, while one visit stays on its variant across a form or a retry. That suits sharing traffic. For an A/B test, leave sticky on.

Percentages are approximate at low traffic: on a 50/50, expect about plus or minus 10 points at 100 visitors, 3 at 1,000 and 1 at 10,000.

Changing weights only moves visitors near the boundaries you changed: going from 90/10 to 80/20 only moves visitors from the first variant to the second. With three or more variants, a shift can move a few more than the difference. Keep variants in the same order, since the order decides who lands where.

To end a test, set the weights to 100 and 0: everyone goes to the winner, including those who had the other variant. To target a test, place a condition before the split, not inside it: a split has no rules of its own.

2 child attributes

`sticky` boolean

Keep returning visitors on the same variant. Left out means true, the default, and for an A/B test it should stay on. Set false only to share traffic: each visit is then assigned on its own by weight, so one person can see several variants. It is a draw per visit, not a strict round-robin. On an update, leaving this out keeps the current setting.

`variants` array of object

The variants, from 2 to 20\. Their order decides who lands where, so keep it stable across updates.

`vcard` object

vCard payload for EVENT\_ACTION\_CONTACT\_CARD

19 child attributes

`avatarMediaId` string

A photo of the person, from the workspace's media library (UUID): shown at the top of the card, in the page theme's badge style, and saved with the contact as its photo. The same value as the step's media.badge\_media\_id, which every page step has: reading the card returns it, and setting it sets the step's badge. Upload the image first (POST /v1/media/uploads, a PUT of its bytes, then its complete call) or import it from a URL, and pass the media id: the image itself is never sent here. Any READY image of at most 3 MB. An update that sends the card without media sets the badge from this field, so empty or left out removes it; an update with media uses media.

`buttonLabel` string

Label displayed on the contact button

`city` string

City for the vCard address

`country` string

Country for the vCard address

`email` string

Email address for the vCard

`firstName` string

First name for the vCard

`lastName` string

Last name for the vCard

`organization` string

Organization/company name for the vCard

`phone` string

Phone number for the vCard

`phoneIsWhatsapp` boolean

Whether the phone number is also a WhatsApp number (shows WhatsApp link on contact card)

`phoneSmsEnabled` boolean

Whether visitors can also text the phone number (shows a "Send a text" action that opens the SMS app)

`postalCode` string

Postal/ZIP code for the vCard address

`saveButtonEnabled` boolean

Whether the card shows its save button ("Add to contacts"). Defaults to true when unset.

`socialLinks` array of object

Optional social links to display on the contact card and embed in the vCard

`state` string

State/province for the vCard address

`streetAddress` string

Street address for the vCard

`title` string

Job title for the vCard

`walletPassEnabled` boolean

Whether the card offers "Add to Apple Wallet" and "Add to Google Wallet" buttons, which save the card as a wallet pass holding a QR code of the link. Off by default. Each button only shows once that wallet is available on Linkbreakers (see GetWalletPassSupport).

`website` string

Website URL for the vCard

`visitTypeCondition` object

Visit type condition payload for EVENT\_ACTION\_VISIT\_TYPE\_CONDITION

2 child attributes

`elseNextStepId` string

Workflow step ID to route to if the visit type does not match any configured options (UUID)

`options` array of object

Visit type routing options

`visitorDataCondition` object

2 child attributes

`elseNextStepId` string

`options` array of object

`rendersPage` boolean 

Read-only

Whether visitors see this step as a page. Page steps take the options every page has, such as backButton; redirects and conditions do not.

`updatedAt` string (date-time) 

Read-only

When the workflow step was last updated

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "conversionTracking": true,
  "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "destination": "https://example.com",
  "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
  "expiredDestination": "https://example.com/campaign-over",
  "expiresAt": "2026-12-31T23:59:59Z",
  "fallbackDestination": "https://example.com/fallback",
  "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
  "metadata": {
    "campaign": "spring-2026",
    "table": "12"
  },
  "name": "My Link",
  "purpose": "Increase newsletter signups. Good leads: marketing qualified leads with budget over $10k.",
  "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
  "qrcodeEnabled": true,
  "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "shortlink": "my-link",
  "tags": [
    "restaurant",
    "spring-2026"
  ],
  "waitForQrcode": true
}'
```

Response 200

```json
{
  "link": {
    "createdAt": "2026-03-14T09:30:00Z",
    "customDomain": {
      "activatedAt": "2026-03-14T09:42:00Z",
      "certificateExpiresAt": "2026-06-12T09:41:00Z",
      "cloudflareHostnameStatus": "active",
      "cloudflareSslStatus": "pending_validation",
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "lastCheckedAt": "2026-03-21T06:00:00Z",
      "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
      "linkCount": 5,
      "name": "links.example.com",
      "rootDestination": "https://example.com",
      "scheduledDeletionAt": "2026-04-17T16:05:00Z",
      "status": "STATUS_ACTIVE",
      "statusChangedAt": "2026-03-18T16:05:00Z",
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "entrypoint": "https://linkbreak.ing/4BnH-R19p",
    "eventCount": 128,
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://brand.example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "Spring menu",
    "pageTheme": {
      "badgeEnabled": true,
      "badgeIconColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
      "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
      "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
      "bodyFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "canvasColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
      "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
      "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
      "containerConfig": {
        "backgroundColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 2,
        "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
        "opacity": 90,
        "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
      },
      "containerEnabled": true,
      "createdAt": "2026-03-14T09:30:00Z",
      "elementColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "elementFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "elementStyles": [
        {
          "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
          "style": {
            "borderColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "borderSize": 0,
            "fill": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "radius": 14,
            "textColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            }
          }
        }
      ],
      "footerLogoEnabled": true,
      "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
      "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
      "shape": {
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 1,
        "radius": 12
      },
      "smallText": {
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "fontSize": 13
      },
      "textColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "titleFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "updatedAt": "2026-03-18T16:05:00Z",
      "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
    "qrcodeDesign": {
      "backgroundOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        }
      },
      "centralImageMargin": 8,
      "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
      "centralImageSize": 0.3,
      "cornersDotOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_DOT_TYPE_DOT"
      },
      "cornersSquareOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
      },
      "createdAt": "2026-03-14T09:30:00Z",
      "dotsOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "DOTS_TYPE_ROUNDED"
      },
      "errorCorrectionLevel": "H",
      "hasCentralImage": true,
      "height": 1024,
      "hideBackgroundDots": true,
      "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
      "shape": "SHAPE_SQUARE",
      "updatedAt": "2026-03-18T16:05:00Z",
      "width": 1024
    },
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
    "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "4BnH-R19p",
    "tags": [
      {
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "restaurant",
        "updatedAt": "2026-03-18T16:05:00Z"
      }
    ],
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  },
  "workflowSteps": [
    {
      "attributeCapture": {
        "enabled": true,
        "writes": [
          {
            "key": "looking_for",
            "mode": "ATTRIBUTE_WRITE_MODE_SET",
            "type": "VISITOR_ATTRIBUTE_TYPE_ENUM",
            "value": "{{choice.label}}"
          }
        ]
      },
      "backButton": {
        "enabled": true,
        "label": "Back to menu"
      },
      "backButtonAvailable": true,
      "branches": [
        {
          "branchId": "a3f1c6d8-2e4b-4a7c-9d1f-6b8e0c2a4f57",
          "label": "Short form",
          "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
        }
      ],
      "canvasPosition": {
        "x": 320,
        "y": 180
      },
      "childStepIds": [
        "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
      ],
      "createdAt": "2026-03-14T09:30:00Z",
      "eventAction": "EVENT_ACTION_CLIENT_REDIRECT",
      "id": "987fcdeb-a321-45e6-b789-123456789012",
      "kind": "KIND_INTERACTION",
      "linkId": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "media": {
        "badgeMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "coverMediaId": "7a2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d"
      },
      "nextCanGoBack": true,
      "nodeType": "NODE_TYPE_COMPOSITE",
      "parentStepIds": [
        "c6f0a3d9-1e7b-4c52-8f4a-9b2d6e0c1f83"
      ],
      "payload": {
        "chatBot": {
          "agentId": "3f9a1c52-8d1e-4b7a-9c3e-2a6f5d8b1e40",
          "elseNextStepId": "b2e8f4a1-7c3d-4e9b-a6f2-1d5c8e0b3a74",
          "maxExchanges": 15,
          "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
          "objectives": [
            {
              "explanation": "The company the visitor works for. A freelancer can answer their own name.",
              "key": "company",
              "label": "Company",
              "required": true,
              "type": "FORM_FIELD_TYPE_EMAIL"
            }
          ],
          "openingMessage": "Bonjour! One quick question and the spring menu is yours.",
          "skipEnabled": true,
          "skipLabel": "Skip to the menu",
          "skipWhenKnown": true
        },
        "clientRedirect": {
          "conversionTracking": true,
          "destination": "https://brand.example.com/checkout"
        },
        "countryCondition": {
          "countries": [
            {
              "countryCode": "US",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ],
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012"
        },
        "dayOfMonthCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "dayOfMonth": 1,
              "id": "option-1",
              "name": "First of Month",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ]
        },
        "dayOfWeekCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "daysOfWeek": [
                1,
                2,
                3,
                4,
                5
              ],
              "id": "option-1",
              "name": "Weekdays",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ]
        },
        "deviceActorCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "Bots",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_ACTOR_CONDITION_VALUE_BOT"
            }
          ]
        },
        "deviceBrandCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "Apple Devices",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_BRAND_CONDITION_VALUE_APPLE"
            }
          ]
        },
        "deviceBrowserCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "minAppVersion": "400",
              "name": "Chrome Visitors",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_BROWSER_CONDITION_VALUE_CHROME"
            }
          ]
        },
        "devicePlatformCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "iOS Visitors",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_PLATFORM_CONDITION_VALUE_IOS"
            }
          ]
        },
        "deviceTypeCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "Desktop Users",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_TYPE_CONDITION_VALUE_DESKTOP"
            }
          ]
        },
        "form": {
          "autoSkipIfKnown": true,
          "formDescription": "Leave your email and we'll send tonight's specials along with the menu.",
          "formFields": [
            {
              "defaultValue": "jules.martin@example.com",
              "helpText": "We send tonight's specials with the menu.",
              "id": "3f0d2b23-9f51-4d56-84d7-5d9d70fb49c2",
              "key": "$email",
              "label": "Email",
              "order": 1,
              "placeholder": "jules.martin@example.com",
              "required": true,
              "type": "FORM_FIELD_TYPE_EMAIL",
              "validationPattern": "^[^@\\s]+@[^@\\s]+\\.[a-z]{2,}$"
            }
          ],
          "formTitle": "Get the spring menu",
          "skipButtonText": "Skip for now",
          "skipForm": true,
          "submitButtonText": "Show me the menu"
        },
        "languageCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "languages": [
            {
              "languageCode": "fr",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ]
        },
        "linkVisit": {},
        "locationRequest": {
          "askOnce": true,
          "buttonLabel": "Share my location",
          "description": "We use it to show you the nearest store.",
          "elseNextStepId": "b2e8f4a1-7c3d-4e9b-a6f2-1d5c8e0b3a74",
          "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
          "skipEnabled": true,
          "skipLabel": "Not now",
          "title": "Share your location"
        },
        "messagePage": {
          "buttonLabel": "See the menu",
          "description": "Our spring menu is served on the terrace from noon to 10 pm.",
          "navigationType": "MESSAGE_PAGE_NAVIGATION_TYPE_BUTTON",
          "timerSeconds": 5,
          "title": "Welcome to Hotel Lumiere"
        },
        "multiLink": {
          "buttons": [
            {
              "id": "btn-1",
              "label": "Continue to Website",
              "nextStepId": "987fcdeb-a321-45e6-b789-123456789012",
              "order": 1
            }
          ],
          "description": "Select one of the options below to continue",
          "title": "Choose your destination"
        },
        "openMedia": {
          "mediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f"
        },
        "password": {
          "description": "Enter the code your server gave you.",
          "password": "lumiere2026",
          "title": "Chef's tasting menu"
        },
        "socialLinks": {
          "description": "Follow us on your favorite platform",
          "displayStyle": "SOCIAL_LINKS_DISPLAY_STYLE_DETAILED",
          "links": [
            {
              "id": "link-1",
              "order": 1,
              "platform": "instagram",
              "url": "https://instagram.com/username"
            }
          ],
          "title": "Connect with us"
        },
        "specificDateCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "day": 25,
              "id": "option-1",
              "month": 12,
              "name": "Christmas",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "year": 2024
            }
          ]
        },
        "thankYouPage": {
          "description": "The spring menu is on its way to your inbox.",
          "title": "Merci, see you at the table!"
        },
        "timeOfDayCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "ranges": [
            {
              "endTime": "17:00",
              "id": "range-1",
              "name": "Business Hours",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "startTime": "09:00"
            }
          ]
        },
        "trafficSplit": {
          "sticky": true,
          "variants": [
            {
              "id": "a3f1c6d8-2e4b-4a7c-9d1f-6b8e0c2a4f57",
              "label": "Short form",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "weight": 50
            }
          ]
        },
        "vcard": {
          "avatarMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
          "buttonLabel": "Add to contacts",
          "city": "San Francisco",
          "country": "United States",
          "email": "hello@acme.com",
          "firstName": "Jane",
          "lastName": "Doe",
          "organization": "Acme Corporation",
          "phone": "+33123456789",
          "phoneIsWhatsapp": true,
          "phoneSmsEnabled": true,
          "postalCode": "94102",
          "saveButtonEnabled": true,
          "socialLinks": [
            {
              "platform": "linkedin",
              "url": "https://linkedin.com/in/janedoe"
            }
          ],
          "state": "CA",
          "streetAddress": "123 Main Street",
          "title": "Software Engineer",
          "walletPassEnabled": true,
          "website": "https://acme.com"
        },
        "visitTypeCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "FIRST"
            }
          ]
        },
        "visitorDataCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "attributeKey": "age",
              "comparisonValue": "18",
              "id": "option-1",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "operator": "NUMBER_GREATER_THAN"
            }
          ]
        }
      },
      "rendersPage": true,
      "updatedAt": "2026-03-18T16:05:00Z"
    }
  ]
}
```

### Parameters

`id` string 

path

Required

The link's ID (UUID).

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`format` enum

PNG (default), JPEG, WebP or SVG.

Allowed values

* `QRCODE_RENDER_FORMAT_PNG` PNG raster image
* `QRCODE_RENDER_FORMAT_SVG` SVG vector image, for print at any size
* `QRCODE_RENDER_FORMAT_JPEG` JPEG raster image on a white background, for tools that accept nothing else
* `QRCODE_RENDER_FORMAT_WEBP` WebP raster image, smaller than PNG for the web
* `QRCODE_RENDER_FORMAT_UNSPECIFIED` Not specified: PNG

`items` array of object 

Required

The codes to render, 1 to 100\. A dynamic link needs a value for every variable in each item; a regular link takes a single item with no values.

1 child attribute

`values` map of string

A value for each {name} variable of the link's shortlink, by variable name: {"serial": "A1B2C3"} for "p/{serial}". Empty for a regular link.

`size` integer (int32)

Width and height in pixels, 256 to 4096\. Defaults to 1024.

### Response

200

`items` array of object

4 child attributes

`address` string

The address the code encodes and a scan opens, values filled in. It carries lbsrc=qrcode, which records the visit as a QR scan rather than a click.

`contentType` string

"image/png", "image/jpeg", "image/webp" or "image/svg+xml".

`imageUrl` string

Signed URL of the image. It expires: download it or ask again.

`values` map of string

The values it was rendered for.

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/{id}/qrcode-images:render" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "format": "QRCODE_RENDER_FORMAT_PNG",
  "items": [
    {
      "values": {
        "table": "12"
      }
    }
  ],
  "size": 1024
}'
```

Response 200

```json
{
  "items": [
    {
      "address": "https://linkbreak.ing/menu/12?lbsrc=qrcode",
      "contentType": "image/png",
      "imageUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed/table-12.png?Expires=1774097233&Signature=3f9c1a7e5b2d",
      "values": {
        "table": "12"
      }
    }
  ]
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`conversionTracking` boolean

Enable conversion tracking by preserving lbid in redirect URL. Forced on for a Typeform, Tally, Jotform, Paperform or Google Forms destination, whose integration matches each answer to its visitor by the lbid: false is refused there.

`customDomainId` string

Optional custom domain ID (UUID). Leave empty to use the default domain.

`destination` string 

Required

The destination URL to shorten. This field is required.

`directoryId` string

Directory to organize this link into. If empty, link is created at root level.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`fallbackDestination` string

The fallback destination URL to use when workflow steps are broken

`id` string

Optional pre-generated link ID (UUID). Skipped from the AI tool schema: on a create there is no existing link to alias, so exposing it only invites the LLM to invent a raw UUID. The system generates the id and returns it as an alias in the response.

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeDesignId` string

The QR Code design ID (UUID).

`qrcodeEnabled` boolean

Whether the link has a QR code. Defaults to true. When false, the link is created without any QR code: no QR code design is created, no image is generated, qrcodeDesignId stays empty and qrcodeSignedUrl is never set. The shortlink and workflow are unaffected. qrcodeTemplateId is still stored and used if the QR code is turned on later. Cannot be combined with qrcodeDesignId or waitForQrcode=true.

`qrcodeTemplateId` string

The ID of the QR Code template (UUID)

`shortlink` string

The shortlink (URL slug) for the link. If not given, a unique one is generated by the system. It can span several path segments ("menu/lunch"); the segment "steps" is reserved.

Dynamic slugs: on a custom domain (customDomainId set), a segment written {name} matches any value in that place, so one link answers every address of that shape and each visit saves the value on the visitor as the attribute "name", usable in workflow conditions and visitor data from the first step. A variable fills a whole segment and its name starts with a lowercase letter, then lowercase letters, digits or underscores, up to 40 characters. "p/{serial}" answers /p/A1B2C3 and saves serial=A1B2C3; "01/09506000134352/10/{batch}" answers every batch of a GS1 Digital Link. A link with a fixed slug always wins over a dynamic one for the same address. Errors: DYNAMIC\_SLUG\_NEEDS\_CUSTOM\_DOMAIN without a custom domain, DYNAMIC\_SLUG\_DUPLICATE\_VARIABLE when a name appears twice, and DYNAMIC\_SLUG\_OVERLAPS when another dynamic slug of the domain already matches the same addresses. The link's own QR code encodes the variables literally; render the codes to print, one per value, with POST /v1/links/{id}/qrcode-images:render.

`tags` array of string

List of tags to associate with the link. If a tag doesn't exist, it will be created.

`waitForQrcode` boolean

Wait for QR code generation to complete before returning response.

### Response

200

`links` array of object

Fields: [The link object](#links-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/batch" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '[
  {
    "conversionTracking": true,
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "destination": "https://example.com",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "My Link",
    "purpose": "Increase newsletter signups. Good leads: marketing qualified leads with budget over $10k.",
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "my-link",
    "tags": [
      "restaurant",
      "spring-2026"
    ],
    "waitForQrcode": true
  }
]'
```

Response 200

```json
{
  "links": [
    {
      "createdAt": "2026-03-14T09:30:00Z",
      "customDomain": {
        "activatedAt": "2026-03-14T09:42:00Z",
        "certificateExpiresAt": "2026-06-12T09:41:00Z",
        "cloudflareHostnameStatus": "active",
        "cloudflareSslStatus": "pending_validation",
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
        "lastCheckedAt": "2026-03-21T06:00:00Z",
        "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
        "linkCount": 5,
        "name": "links.example.com",
        "rootDestination": "https://example.com",
        "scheduledDeletionAt": "2026-04-17T16:05:00Z",
        "status": "STATUS_ACTIVE",
        "statusChangedAt": "2026-03-18T16:05:00Z",
        "updatedAt": "2026-03-18T16:05:00Z",
        "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
      },
      "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
      "entrypoint": "https://linkbreak.ing/4BnH-R19p",
      "eventCount": 128,
      "expiredDestination": "https://example.com/campaign-over",
      "expiresAt": "2026-12-31T23:59:59Z",
      "fallbackDestination": "https://brand.example.com/fallback",
      "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "metadata": {
        "campaign": "spring-2026",
        "table": "12"
      },
      "name": "Spring menu",
      "pageTheme": {
        "badgeEnabled": true,
        "badgeIconColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
        "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
        "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
        "bodyFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "canvasColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
        "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
        "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
        "containerConfig": {
          "backgroundColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 2,
          "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
          "opacity": 90,
          "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
        },
        "containerEnabled": true,
        "createdAt": "2026-03-14T09:30:00Z",
        "elementColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "elementFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "elementStyles": [
          {
            "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
            "style": {
              "borderSize": 0,
              "radius": 14
            }
          }
        ],
        "footerLogoEnabled": true,
        "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
        "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
        "shape": {
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 1,
          "radius": 12
        },
        "smallText": {
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "fontSize": 13
        },
        "textColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "titleFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "updatedAt": "2026-03-18T16:05:00Z",
        "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
        "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
      },
      "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
      "qrcodeDesign": {
        "backgroundOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          }
        },
        "centralImageMargin": 8,
        "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
        "centralImageSize": 0.3,
        "cornersDotOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "CORNERS_DOT_TYPE_DOT"
        },
        "cornersSquareOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
        },
        "createdAt": "2026-03-14T09:30:00Z",
        "dotsOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "DOTS_TYPE_ROUNDED"
        },
        "errorCorrectionLevel": "H",
        "hasCentralImage": true,
        "height": 1024,
        "hideBackgroundDots": true,
        "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
        "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
        "shape": "SHAPE_SQUARE",
        "updatedAt": "2026-03-18T16:05:00Z",
        "width": 1024
      },
      "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "qrcodeEnabled": true,
      "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
      "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
      "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "shortlink": "4BnH-R19p",
      "tags": [
        {
          "createdAt": "2026-03-14T09:30:00Z",
          "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
          "name": "restaurant",
          "updatedAt": "2026-03-18T16:05:00Z"
        }
      ],
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    }
  ]
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`links` array of object 

Required

Links to create in one batch. Every item supports the same customization fields as CreateLinkRequest.

17 child attributes

`conversionTracking` boolean

Enable conversion tracking by preserving lbid in redirect URL. Forced on for a Typeform, Tally, Jotform, Paperform or Google Forms destination, whose integration matches each answer to its visitor by the lbid: false is refused there.

`customDomainId` string

Optional custom domain ID (UUID). Leave empty to use the default domain.

`destination` string 

Required

The destination URL to shorten. This field is required.

`directoryId` string

Directory to organize this link into. If empty, link is created at root level.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`fallbackDestination` string

The fallback destination URL to use when workflow steps are broken

`id` string

Optional pre-generated link ID (UUID). Skipped from the AI tool schema: on a create there is no existing link to alias, so exposing it only invites the LLM to invent a raw UUID. The system generates the id and returns it as an alias in the response.

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeDesignId` string

The QR Code design ID (UUID).

`qrcodeEnabled` boolean

Whether the link has a QR code. Defaults to true. When false, the link is created without any QR code: no QR code design is created, no image is generated, qrcodeDesignId stays empty and qrcodeSignedUrl is never set. The shortlink and workflow are unaffected. qrcodeTemplateId is still stored and used if the QR code is turned on later. Cannot be combined with qrcodeDesignId or waitForQrcode=true.

`qrcodeTemplateId` string

The ID of the QR Code template (UUID)

`shortlink` string

The shortlink (URL slug) for the link. If not given, a unique one is generated by the system. It can span several path segments ("menu/lunch"); the segment "steps" is reserved.

Dynamic slugs: on a custom domain (customDomainId set), a segment written {name} matches any value in that place, so one link answers every address of that shape and each visit saves the value on the visitor as the attribute "name", usable in workflow conditions and visitor data from the first step. A variable fills a whole segment and its name starts with a lowercase letter, then lowercase letters, digits or underscores, up to 40 characters. "p/{serial}" answers /p/A1B2C3 and saves serial=A1B2C3; "01/09506000134352/10/{batch}" answers every batch of a GS1 Digital Link. A link with a fixed slug always wins over a dynamic one for the same address. Errors: DYNAMIC\_SLUG\_NEEDS\_CUSTOM\_DOMAIN without a custom domain, DYNAMIC\_SLUG\_DUPLICATE\_VARIABLE when a name appears twice, and DYNAMIC\_SLUG\_OVERLAPS when another dynamic slug of the domain already matches the same addresses. The link's own QR code encodes the variables literally; render the codes to print, one per value, with POST /v1/links/{id}/qrcode-images:render.

`tags` array of string

List of tags to associate with the link. If a tag doesn't exist, it will be created.

`waitForQrcode` boolean

Wait for QR code generation to complete before returning response.

### Response

200

`links` array of object

Fields: [The link object](#links-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/bulk" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "links": [
    {
      "conversionTracking": true,
      "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "destination": "https://example.com",
      "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
      "expiredDestination": "https://example.com/campaign-over",
      "expiresAt": "2026-12-31T23:59:59Z",
      "fallbackDestination": "https://example.com/fallback",
      "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "metadata": {
        "campaign": "spring-2026",
        "table": "12"
      },
      "name": "My Link",
      "purpose": "Increase newsletter signups. Good leads: marketing qualified leads with budget over $10k.",
      "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "qrcodeEnabled": true,
      "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "shortlink": "my-link",
      "tags": [
        "restaurant",
        "spring-2026"
      ],
      "waitForQrcode": true
    }
  ]
}'
```

Response 200

```json
{
  "links": [
    {
      "createdAt": "2026-03-14T09:30:00Z",
      "customDomain": {
        "activatedAt": "2026-03-14T09:42:00Z",
        "certificateExpiresAt": "2026-06-12T09:41:00Z",
        "cloudflareHostnameStatus": "active",
        "cloudflareSslStatus": "pending_validation",
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
        "lastCheckedAt": "2026-03-21T06:00:00Z",
        "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
        "linkCount": 5,
        "name": "links.example.com",
        "rootDestination": "https://example.com",
        "scheduledDeletionAt": "2026-04-17T16:05:00Z",
        "status": "STATUS_ACTIVE",
        "statusChangedAt": "2026-03-18T16:05:00Z",
        "updatedAt": "2026-03-18T16:05:00Z",
        "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
      },
      "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
      "entrypoint": "https://linkbreak.ing/4BnH-R19p",
      "eventCount": 128,
      "expiredDestination": "https://example.com/campaign-over",
      "expiresAt": "2026-12-31T23:59:59Z",
      "fallbackDestination": "https://brand.example.com/fallback",
      "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "metadata": {
        "campaign": "spring-2026",
        "table": "12"
      },
      "name": "Spring menu",
      "pageTheme": {
        "badgeEnabled": true,
        "badgeIconColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
        "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
        "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
        "bodyFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "canvasColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
        "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
        "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
        "containerConfig": {
          "backgroundColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 2,
          "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
          "opacity": 90,
          "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
        },
        "containerEnabled": true,
        "createdAt": "2026-03-14T09:30:00Z",
        "elementColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "elementFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "elementStyles": [
          {
            "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
            "style": {
              "borderSize": 0,
              "radius": 14
            }
          }
        ],
        "footerLogoEnabled": true,
        "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
        "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
        "shape": {
          "borderColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "borderSize": 1,
          "radius": 12
        },
        "smallText": {
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "fontSize": 13
        },
        "textColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "titleFont": {
          "bold": true,
          "color": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
          "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
          "fontSize": 18,
          "italic": false
        },
        "updatedAt": "2026-03-18T16:05:00Z",
        "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
        "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
      },
      "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
      "qrcodeDesign": {
        "backgroundOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          }
        },
        "centralImageMargin": 8,
        "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
        "centralImageSize": 0.3,
        "cornersDotOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "CORNERS_DOT_TYPE_DOT"
        },
        "cornersSquareOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
        },
        "createdAt": "2026-03-14T09:30:00Z",
        "dotsOptions": {
          "themeColor": {
            "colors": [
              "#1F3A5F",
              "#F4EDE4"
            ],
            "direction": "135deg",
            "stops": [
              "0%",
              "100%"
            ],
            "type": "THEME_COLOR_TYPE_LINEAR"
          },
          "type": "DOTS_TYPE_ROUNDED"
        },
        "errorCorrectionLevel": "H",
        "hasCentralImage": true,
        "height": 1024,
        "hideBackgroundDots": true,
        "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
        "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
        "shape": "SHAPE_SQUARE",
        "updatedAt": "2026-03-18T16:05:00Z",
        "width": 1024
      },
      "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "qrcodeEnabled": true,
      "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
      "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
      "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "shortlink": "4BnH-R19p",
      "tags": [
        {
          "createdAt": "2026-03-14T09:30:00Z",
          "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
          "name": "restaurant",
          "updatedAt": "2026-03-18T16:05:00Z"
        }
      ],
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    }
  ]
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`links` array of object 

Required

Links to create in one batch. Every item supports the same customization fields as CreateLinkRequest.

17 child attributes, the same as [links in the Create multiple links in a single request request](#create-multiple-links-in-a-single-request-request-links).

### Response

202

Accepted. The links are being created; poll the link job at the Location header (GET /v1/links/jobs/{id}).

`completedAt` string (date-time)

When the job finished, once it has.

`createdAt` string (date-time)

When the job was accepted.

`error` object

Set when status is LINK\_JOB\_STATUS\_FAILED.

2 child attributes

`codeType` string

Stable error code, the same codeType a synchronous call would return.

`message` string

Human-readable explanation.

`id` string

Link job ID (UUID).

`itemCount` integer (int32)

How many links the job was submitted with.

`linksBulkCreate` object

Set when a LINK\_JOB\_TYPE\_BULK\_CREATE job succeeded.

1 child attribute

`linkIds` array of string

IDs of the created links, in the order they were submitted. Fetch each with GET /v1/links/{id}.

`status` enum

Where the job stands. Poll until LINK\_JOB\_STATUS\_SUCCEEDED or LINK\_JOB\_STATUS\_FAILED.

Allowed values

* `LINK_JOB_STATUS_PENDING` Accepted and waiting to run.
* `LINK_JOB_STATUS_RUNNING` Running now.
* `LINK_JOB_STATUS_SUCCEEDED` Finished; the result is set.
* `LINK_JOB_STATUS_FAILED` Finished without doing its work; error says why. Nothing was created.

`statusUrl` string

Path to poll for this job's status.

`type` enum

What the job does.

Allowed values

* `LINK_JOB_TYPE_BULK_CREATE` Creates a batch of links (POST /v1/links/bulk/jobs).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/bulk/jobs" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "links": [
    {
      "conversionTracking": true,
      "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "destination": "https://example.com",
      "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
      "expiredDestination": "https://example.com/campaign-over",
      "expiresAt": "2026-12-31T23:59:59Z",
      "fallbackDestination": "https://example.com/fallback",
      "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "metadata": {
        "campaign": "spring-2026",
        "table": "12"
      },
      "name": "My Link",
      "purpose": "Increase newsletter signups. Good leads: marketing qualified leads with budget over $10k.",
      "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "qrcodeEnabled": true,
      "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
      "shortlink": "my-link",
      "tags": [
        "restaurant",
        "spring-2026"
      ],
      "waitForQrcode": true
    }
  ]
}'
```

Response 202

```json
{
  "completedAt": "2026-03-14T09:30:12Z",
  "createdAt": "2026-03-14T09:30:00Z",
  "error": {
    "codeType": "INSUFFICIENT_PLATFORM_CREDITS",
    "message": "Not enough platform credits to create 24 links: 12 credits left."
  },
  "id": "1f8e3c6a-7d2b-4a9e-b5c1-8e4f0a6d2c79",
  "itemCount": 24,
  "linksBulkCreate": {
    "linkIds": [
      "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "6e2b7f40-3c1a-4d8e-9b25-7a0f1c3d5e82"
    ]
  },
  "status": "LINK_JOB_STATUS_SUCCEEDED",
  "statusUrl": "/v1/links/jobs/1f8e3c6a-7d2b-4a9e-b5c1-8e4f0a6d2c79",
  "type": "LINK_JOB_TYPE_BULK_CREATE"
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`customDomainId` string

Optional custom domain ID (UUID). Leave empty to use the default domain. Only provide if the user explicitly asks for a specific custom domain.

`directoryId` string

Directory to organize this link into. If empty, link is created at root level.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`fallbackDestination` string

The fallback destination URL to use when vCard download fails or is not supported.

Optional fallback URL if vCard download fails or is not supported.

`id` string

Optional pre-generated link ID (UUID). The create wizard generates the id up front and navigates to it, so the link has to be created with that id or the page waits on a link that never arrives. Skipped from the AI tool schema for the same reason as on CreateLinkRequest: on a create there is nothing to alias, and exposing it only invites the model to invent a UUID.

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeDesignId` string

The QR Code design ID (UUID). If you include this value, the specified design will be associated to this link only. A design can belong to one record at a time (Link or QR Code Template). Trying to use a design that's already assigned will cause an error.

`qrcodeEnabled` boolean

Whether the link has a QR code. Defaults to true. When false, the link is created without any QR code: no QR code design is created, no image is generated, qrcodeDesignId stays empty and qrcodeSignedUrl is never set. The shortlink and workflow are unaffected. qrcodeTemplateId is still stored and used if the QR code is turned on later. Cannot be combined with qrcodeDesignId or waitForQrcode=true.

`qrcodeTemplateId` string

The ID of the QR Code template (UUID) If not given, the default QR Code template will be used to generate the QR Code design.

`shortlink` string

The shortlink for the link, one path segment or several ("menu/lunch"). On a custom domain, {name} segments make it dynamic ("p/{serial}"): see CreateLinkRequest.shortlink for the rules. If not given, the shortlink will be generated by the system.

`tags` array of string

List of tags to associate with the link. If a tag doesn't exist, it will be created.

`vcardData` object 

Required

vCard contact information (required).

Contact information for the vCard link. This field is required.

19 child attributes

`avatarMediaId` string

A photo of the person, from the workspace's media library (UUID), shown at the top of the card in the page theme's badge style and saved with the contact. It becomes the contact card step's badge image (the step's media.badge\_media\_id). Upload or import the image first and pass its media id. Any READY image of at most 3 MB.

`buttonLabel` string

Custom label for the contact button

`city` string

City for the vCard address

`country` string

Country for the vCard address

`email` string

Email address for the vCard

`firstName` string

First name for the vCard (required for VCARD links)

`lastName` string

Last name for the vCard (required for VCARD links)

`organization` string

Organization/company name for the vCard

`phone` string

Phone number for the vCard

`phoneIsWhatsapp` boolean

Whether the phone number is a WhatsApp number

`phoneSmsEnabled` boolean

Whether visitors can also text the phone number

`postalCode` string

Postal/ZIP code for the vCard address

`saveButtonEnabled` boolean

Whether the card shows its save button ("Add to contacts"). Defaults to true when unset.

`socialLinks` array of object

Social media links associated with the contact

2 child attributes

`platform` string

Platform identifier picking the icon. Leave it empty and the API names it from the URL, which is what you normally want. Known values: appstore, playstore, instagram, tiktok, twitter, facebook, youtube, linkedin, github, medium, whatsapp, telegram, discord, slack, spotify, applemusic, twitch, snapchat, pinterest, reddit, calendly, website.

`url` string

Profile URL for this social platform

`state` string

State/province for the vCard address

`streetAddress` string

Street address for the vCard

`title` string

Job title for the vCard

`walletPassEnabled` boolean

Whether the card offers "Add to Apple Wallet" and "Add to Google Wallet" buttons. Off by default.

`website` string

Website URL for the vCard

`waitForQrcode` boolean

Wait for QR code generation, within the request's time limit, which makes the request slower. A QR code the wait does not reach, usually past the first few links of a bulk request, is generated in the background: its qrcodeSignedUrl is empty in the response, and qrcode-images:resolve returns it once ready.

### Response

200

`link` object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

Fields: [The link object](#links-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/contact" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
  "expiredDestination": "https://example.com/campaign-over",
  "expiresAt": "2026-12-31T23:59:59Z",
  "fallbackDestination": "https://company.com/contact",
  "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
  "metadata": {
    "campaign": "spring-2026",
    "table": "12"
  },
  "name": "Jane Doe Contact Card",
  "purpose": "Capture contact details for sales outreach. Good leads: business contacts interested in our services.",
  "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
  "qrcodeEnabled": true,
  "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "shortlink": "jane-contact",
  "tags": [
    "restaurant",
    "spring-2026"
  ],
  "vcardData": {
    "avatarMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
    "buttonLabel": "Add to contacts",
    "city": "San Francisco",
    "country": "United States",
    "email": "hello@acme.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "organization": "Acme Corporation",
    "phone": "+33123456789",
    "phoneIsWhatsapp": true,
    "phoneSmsEnabled": true,
    "postalCode": "94102",
    "saveButtonEnabled": true,
    "socialLinks": [
      {
        "platform": "linkedin",
        "url": "https://linkedin.com/in/janedoe"
      }
    ],
    "state": "CA",
    "streetAddress": "123 Main Street",
    "title": "Software Engineer",
    "walletPassEnabled": true,
    "website": "https://acme.com"
  },
  "waitForQrcode": true
}'
```

Response 200

```json
{
  "link": {
    "createdAt": "2026-03-14T09:30:00Z",
    "customDomain": {
      "activatedAt": "2026-03-14T09:42:00Z",
      "certificateExpiresAt": "2026-06-12T09:41:00Z",
      "cloudflareHostnameStatus": "active",
      "cloudflareSslStatus": "pending_validation",
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "lastCheckedAt": "2026-03-21T06:00:00Z",
      "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
      "linkCount": 5,
      "name": "links.example.com",
      "rootDestination": "https://example.com",
      "scheduledDeletionAt": "2026-04-17T16:05:00Z",
      "status": "STATUS_ACTIVE",
      "statusChangedAt": "2026-03-18T16:05:00Z",
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "entrypoint": "https://linkbreak.ing/4BnH-R19p",
    "eventCount": 128,
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://brand.example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "Spring menu",
    "pageTheme": {
      "badgeEnabled": true,
      "badgeIconColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
      "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
      "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
      "bodyFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "canvasColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
      "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
      "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
      "containerConfig": {
        "backgroundColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 2,
        "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
        "opacity": 90,
        "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
      },
      "containerEnabled": true,
      "createdAt": "2026-03-14T09:30:00Z",
      "elementColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "elementFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "elementStyles": [
        {
          "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
          "style": {
            "borderColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "borderSize": 0,
            "fill": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "radius": 14,
            "textColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            }
          }
        }
      ],
      "footerLogoEnabled": true,
      "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
      "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
      "shape": {
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 1,
        "radius": 12
      },
      "smallText": {
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "fontSize": 13
      },
      "textColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "titleFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "updatedAt": "2026-03-18T16:05:00Z",
      "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
    "qrcodeDesign": {
      "backgroundOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        }
      },
      "centralImageMargin": 8,
      "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
      "centralImageSize": 0.3,
      "cornersDotOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_DOT_TYPE_DOT"
      },
      "cornersSquareOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
      },
      "createdAt": "2026-03-14T09:30:00Z",
      "dotsOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "DOTS_TYPE_ROUNDED"
      },
      "errorCorrectionLevel": "H",
      "hasCentralImage": true,
      "height": 1024,
      "hideBackgroundDots": true,
      "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
      "shape": "SHAPE_SQUARE",
      "updatedAt": "2026-03-18T16:05:00Z",
      "width": 1024
    },
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
    "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "4BnH-R19p",
    "tags": [
      {
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "restaurant",
        "updatedAt": "2026-03-18T16:05:00Z"
      }
    ],
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  }
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`customDomainId` string

Optional custom domain ID (UUID). Leave empty to use the default domain. Only provide if the user explicitly asks for a specific custom domain.

`directoryId` string

Directory to organize this link into. If empty, link is created at root level.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`id` string

Optional pre-generated link ID (UUID). Same contract as on CreateLinkRequest: the caller may pick the id so a page can navigate to the link before it exists, and it is skipped from the AI tool schema so the model is never invited to invent one.

`mediaId` string 

Required

Media item handed to visitors: any ready media of the workspace. Required.

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeDesignId` string

The QR Code design ID (UUID). If you include this value, the specified design will be associated to this link only. A design can belong to one record at a time (Link or QR Code Template). Trying to use a design that's already assigned will cause an error.

`qrcodeEnabled` boolean

Whether the link has a QR code. Defaults to true. When false, the link is created without any QR code: no QR code design is created, no image is generated, qrcodeDesignId stays empty and qrcodeSignedUrl is never set. The shortlink and workflow are unaffected. qrcodeTemplateId is still stored and used if the QR code is turned on later. Cannot be combined with qrcodeDesignId or waitForQrcode=true.

`qrcodeTemplateId` string

The ID of the QR Code template (UUID) If not given, the default QR Code template will be used to generate the QR Code design.

`shortlink` string

The shortlink for the link, one path segment or several ("menu/lunch"). On a custom domain, {name} segments make it dynamic ("p/{serial}"): see CreateLinkRequest.shortlink for the rules. If not given, the shortlink will be generated by the system.

`tags` array of string

List of tags to associate with the link. If a tag doesn't exist, it will be created.

`waitForQrcode` boolean

Wait for QR code generation, within the request's time limit, which makes the request slower. A QR code the wait does not reach, usually past the first few links of a bulk request, is generated in the background: its qrcodeSignedUrl is empty in the response, and qrcode-images:resolve returns it once ready.

### Response

200

`link` object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

Fields: [The link object](#links-object).

`workflowSteps` array of object 

Read-only

The workflow steps created alongside the link: the entry step and the OPEN\_MEDIA exit step, already connected

18 child attributes, the same as [workflowSteps in the Create a new link response](#create-a-new-link-response-workflowsteps).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/open-media" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
  "expiredDestination": "https://example.com/campaign-over",
  "expiresAt": "2026-12-31T23:59:59Z",
  "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
  "mediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
  "metadata": {
    "campaign": "spring-2026",
    "table": "12"
  },
  "name": "Spring Menu",
  "purpose": "Let restaurant guests open the spring menu from the table QR code.",
  "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
  "qrcodeEnabled": true,
  "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "shortlink": "menu",
  "tags": [
    "restaurant",
    "spring-2026"
  ],
  "waitForQrcode": true
}'
```

Response 200

```json
{
  "link": {
    "createdAt": "2026-03-14T09:30:00Z",
    "customDomain": {
      "activatedAt": "2026-03-14T09:42:00Z",
      "certificateExpiresAt": "2026-06-12T09:41:00Z",
      "cloudflareHostnameStatus": "active",
      "cloudflareSslStatus": "pending_validation",
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "lastCheckedAt": "2026-03-21T06:00:00Z",
      "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
      "linkCount": 5,
      "name": "links.example.com",
      "rootDestination": "https://example.com",
      "scheduledDeletionAt": "2026-04-17T16:05:00Z",
      "status": "STATUS_ACTIVE",
      "statusChangedAt": "2026-03-18T16:05:00Z",
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "entrypoint": "https://linkbreak.ing/4BnH-R19p",
    "eventCount": 128,
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://brand.example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "Spring menu",
    "pageTheme": {
      "badgeEnabled": true,
      "badgeIconColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
      "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
      "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
      "bodyFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "canvasColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
      "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
      "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
      "containerConfig": {
        "backgroundColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 2,
        "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
        "opacity": 90,
        "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
      },
      "containerEnabled": true,
      "createdAt": "2026-03-14T09:30:00Z",
      "elementColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "elementFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "elementStyles": [
        {
          "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
          "style": {
            "borderColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "borderSize": 0,
            "fill": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "radius": 14,
            "textColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            }
          }
        }
      ],
      "footerLogoEnabled": true,
      "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
      "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
      "shape": {
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 1,
        "radius": 12
      },
      "smallText": {
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "fontSize": 13
      },
      "textColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "titleFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "updatedAt": "2026-03-18T16:05:00Z",
      "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
    "qrcodeDesign": {
      "backgroundOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        }
      },
      "centralImageMargin": 8,
      "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
      "centralImageSize": 0.3,
      "cornersDotOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_DOT_TYPE_DOT"
      },
      "cornersSquareOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
      },
      "createdAt": "2026-03-14T09:30:00Z",
      "dotsOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "DOTS_TYPE_ROUNDED"
      },
      "errorCorrectionLevel": "H",
      "hasCentralImage": true,
      "height": 1024,
      "hideBackgroundDots": true,
      "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
      "shape": "SHAPE_SQUARE",
      "updatedAt": "2026-03-18T16:05:00Z",
      "width": 1024
    },
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
    "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "4BnH-R19p",
    "tags": [
      {
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "restaurant",
        "updatedAt": "2026-03-18T16:05:00Z"
      }
    ],
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  },
  "workflowSteps": [
    {
      "attributeCapture": {
        "enabled": true,
        "writes": [
          {
            "key": "looking_for",
            "mode": "ATTRIBUTE_WRITE_MODE_SET",
            "type": "VISITOR_ATTRIBUTE_TYPE_ENUM",
            "value": "{{choice.label}}"
          }
        ]
      },
      "backButton": {
        "enabled": true,
        "label": "Back to menu"
      },
      "backButtonAvailable": true,
      "branches": [
        {
          "branchId": "a3f1c6d8-2e4b-4a7c-9d1f-6b8e0c2a4f57",
          "label": "Short form",
          "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
        }
      ],
      "canvasPosition": {
        "x": 320,
        "y": 180
      },
      "childStepIds": [
        "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
      ],
      "createdAt": "2026-03-14T09:30:00Z",
      "eventAction": "EVENT_ACTION_CLIENT_REDIRECT",
      "id": "987fcdeb-a321-45e6-b789-123456789012",
      "kind": "KIND_INTERACTION",
      "linkId": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
      "media": {
        "badgeMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
        "coverMediaId": "7a2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d"
      },
      "nextCanGoBack": true,
      "nodeType": "NODE_TYPE_COMPOSITE",
      "parentStepIds": [
        "c6f0a3d9-1e7b-4c52-8f4a-9b2d6e0c1f83"
      ],
      "payload": {
        "chatBot": {
          "agentId": "3f9a1c52-8d1e-4b7a-9c3e-2a6f5d8b1e40",
          "elseNextStepId": "b2e8f4a1-7c3d-4e9b-a6f2-1d5c8e0b3a74",
          "maxExchanges": 15,
          "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
          "objectives": [
            {
              "explanation": "The company the visitor works for. A freelancer can answer their own name.",
              "key": "company",
              "label": "Company",
              "required": true,
              "type": "FORM_FIELD_TYPE_EMAIL"
            }
          ],
          "openingMessage": "Bonjour! One quick question and the spring menu is yours.",
          "skipEnabled": true,
          "skipLabel": "Skip to the menu",
          "skipWhenKnown": true
        },
        "clientRedirect": {
          "conversionTracking": true,
          "destination": "https://brand.example.com/checkout"
        },
        "countryCondition": {
          "countries": [
            {
              "countryCode": "US",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ],
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012"
        },
        "dayOfMonthCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "dayOfMonth": 1,
              "id": "option-1",
              "name": "First of Month",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ]
        },
        "dayOfWeekCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "daysOfWeek": [
                1,
                2,
                3,
                4,
                5
              ],
              "id": "option-1",
              "name": "Weekdays",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ]
        },
        "deviceActorCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "Bots",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_ACTOR_CONDITION_VALUE_BOT"
            }
          ]
        },
        "deviceBrandCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "Apple Devices",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_BRAND_CONDITION_VALUE_APPLE"
            }
          ]
        },
        "deviceBrowserCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "minAppVersion": "400",
              "name": "Chrome Visitors",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_BROWSER_CONDITION_VALUE_CHROME"
            }
          ]
        },
        "devicePlatformCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "iOS Visitors",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_PLATFORM_CONDITION_VALUE_IOS"
            }
          ]
        },
        "deviceTypeCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "id": "option-1",
              "name": "Desktop Users",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "DEVICE_TYPE_CONDITION_VALUE_DESKTOP"
            }
          ]
        },
        "form": {
          "autoSkipIfKnown": true,
          "formDescription": "Leave your email and we'll send tonight's specials along with the menu.",
          "formFields": [
            {
              "defaultValue": "jules.martin@example.com",
              "helpText": "We send tonight's specials with the menu.",
              "id": "3f0d2b23-9f51-4d56-84d7-5d9d70fb49c2",
              "key": "$email",
              "label": "Email",
              "order": 1,
              "placeholder": "jules.martin@example.com",
              "required": true,
              "type": "FORM_FIELD_TYPE_EMAIL",
              "validationPattern": "^[^@\\s]+@[^@\\s]+\\.[a-z]{2,}$"
            }
          ],
          "formTitle": "Get the spring menu",
          "skipButtonText": "Skip for now",
          "skipForm": true,
          "submitButtonText": "Show me the menu"
        },
        "languageCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "languages": [
            {
              "languageCode": "fr",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35"
            }
          ]
        },
        "linkVisit": {},
        "locationRequest": {
          "askOnce": true,
          "buttonLabel": "Share my location",
          "description": "We use it to show you the nearest store.",
          "elseNextStepId": "b2e8f4a1-7c3d-4e9b-a6f2-1d5c8e0b3a74",
          "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
          "skipEnabled": true,
          "skipLabel": "Not now",
          "title": "Share your location"
        },
        "messagePage": {
          "buttonLabel": "See the menu",
          "description": "Our spring menu is served on the terrace from noon to 10 pm.",
          "navigationType": "MESSAGE_PAGE_NAVIGATION_TYPE_BUTTON",
          "timerSeconds": 5,
          "title": "Welcome to Hotel Lumiere"
        },
        "multiLink": {
          "buttons": [
            {
              "id": "btn-1",
              "label": "Continue to Website",
              "nextStepId": "987fcdeb-a321-45e6-b789-123456789012",
              "order": 1
            }
          ],
          "description": "Select one of the options below to continue",
          "title": "Choose your destination"
        },
        "openMedia": {
          "mediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f"
        },
        "password": {
          "description": "Enter the code your server gave you.",
          "password": "lumiere2026",
          "title": "Chef's tasting menu"
        },
        "socialLinks": {
          "description": "Follow us on your favorite platform",
          "displayStyle": "SOCIAL_LINKS_DISPLAY_STYLE_DETAILED",
          "links": [
            {
              "id": "link-1",
              "order": 1,
              "platform": "instagram",
              "url": "https://instagram.com/username"
            }
          ],
          "title": "Connect with us"
        },
        "specificDateCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "day": 25,
              "id": "option-1",
              "month": 12,
              "name": "Christmas",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "year": 2024
            }
          ]
        },
        "thankYouPage": {
          "description": "The spring menu is on its way to your inbox.",
          "title": "Merci, see you at the table!"
        },
        "timeOfDayCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "ranges": [
            {
              "endTime": "17:00",
              "id": "range-1",
              "name": "Business Hours",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "startTime": "09:00"
            }
          ]
        },
        "trafficSplit": {
          "sticky": true,
          "variants": [
            {
              "id": "a3f1c6d8-2e4b-4a7c-9d1f-6b8e0c2a4f57",
              "label": "Short form",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "weight": 50
            }
          ]
        },
        "vcard": {
          "avatarMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
          "buttonLabel": "Add to contacts",
          "city": "San Francisco",
          "country": "United States",
          "email": "hello@acme.com",
          "firstName": "Jane",
          "lastName": "Doe",
          "organization": "Acme Corporation",
          "phone": "+33123456789",
          "phoneIsWhatsapp": true,
          "phoneSmsEnabled": true,
          "postalCode": "94102",
          "saveButtonEnabled": true,
          "socialLinks": [
            {
              "platform": "linkedin",
              "url": "https://linkedin.com/in/janedoe"
            }
          ],
          "state": "CA",
          "streetAddress": "123 Main Street",
          "title": "Software Engineer",
          "walletPassEnabled": true,
          "website": "https://acme.com"
        },
        "visitTypeCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "value": "FIRST"
            }
          ]
        },
        "visitorDataCondition": {
          "elseNextStepId": "987fcdeb-a321-45e6-b789-123456789012",
          "options": [
            {
              "attributeKey": "age",
              "comparisonValue": "18",
              "id": "option-1",
              "nextStepId": "4c7e1a92-5b3d-4f60-8a1e-2d9c6b0f7e35",
              "operator": "NUMBER_GREATER_THAN"
            }
          ]
        }
      },
      "rendersPage": true,
      "updatedAt": "2026-03-18T16:05:00Z"
    }
  ]
}
```

### Parameters

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`customDomainId` string

Optional custom domain ID (UUID). Leave empty to use the default domain. Only provide if the user explicitly asks for a specific custom domain.

`description` string

The description for the thank you page.

Optional description displayed on the thank you page.

`directoryId` string

Directory to organize this link into. If empty, link is created at root level.

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty means it never expires. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`id` string

Optional pre-generated link ID (UUID). Same contract as on CreateLinkRequest: the caller may pick the id so a page can navigate to the link before it exists, and it is skipped from the AI tool schema so the model is never invited to invent one.

`metadata` map of string

A map of string key-value pairs. All values must be strings. Nested objects or arrays are not supported. Maximum of 50 keys.

`name` string

The name of the link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeDesignId` string

The QR Code design ID (UUID). If you include this value, the specified design will be associated to this link only. A design can belong to one record at a time (Link or QR Code Template). Trying to use a design that's already assigned will cause an error.

`qrcodeEnabled` boolean

Whether the link has a QR code. Defaults to true. When false, the link is created without any QR code: no QR code design is created, no image is generated, qrcodeDesignId stays empty and qrcodeSignedUrl is never set. The shortlink and workflow are unaffected. qrcodeTemplateId is still stored and used if the QR code is turned on later. Cannot be combined with qrcodeDesignId or waitForQrcode=true.

`qrcodeTemplateId` string

The ID of the QR Code template (UUID) If not given, the default QR Code template will be used to generate the QR Code design.

`shortlink` string

The shortlink for the link, one path segment or several ("menu/lunch"). On a custom domain, {name} segments make it dynamic ("p/{serial}"): see CreateLinkRequest.shortlink for the rules. If not given, the shortlink will be generated by the system.

`tags` array of string

List of tags to associate with the link. If a tag doesn't exist, it will be created.

`title` string 

Required

The title for the thank you page (required).

Title displayed on the thank you page. This field is required.

`waitForQrcode` boolean

Wait for QR code generation, within the request's time limit, which makes the request slower. A QR code the wait does not reach, usually past the first few links of a bulk request, is generated in the background: its qrcodeSignedUrl is empty in the response, and qrcode-images:resolve returns it once ready.

### Response

200

`link` object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

Fields: [The link object](#links-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X POST "https://api.linkbreakers.com/v1/links/thank-you" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "description": "We appreciate your visit.",
  "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
  "expiredDestination": "https://example.com/campaign-over",
  "expiresAt": "2026-12-31T23:59:59Z",
  "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
  "metadata": {
    "campaign": "spring-2026",
    "table": "12"
  },
  "name": "Thank You Page Link",
  "purpose": "Thank visitors after a purchase and measure engagement. Good leads: visitors who completed a purchase.",
  "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
  "qrcodeEnabled": true,
  "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "shortlink": "thank-you",
  "tags": [
    "restaurant",
    "spring-2026"
  ],
  "title": "Thank you!",
  "waitForQrcode": true
}'
```

Response 200

```json
{
  "link": {
    "createdAt": "2026-03-14T09:30:00Z",
    "customDomain": {
      "activatedAt": "2026-03-14T09:42:00Z",
      "certificateExpiresAt": "2026-06-12T09:41:00Z",
      "cloudflareHostnameStatus": "active",
      "cloudflareSslStatus": "pending_validation",
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "lastCheckedAt": "2026-03-21T06:00:00Z",
      "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
      "linkCount": 5,
      "name": "links.example.com",
      "rootDestination": "https://example.com",
      "scheduledDeletionAt": "2026-04-17T16:05:00Z",
      "status": "STATUS_ACTIVE",
      "statusChangedAt": "2026-03-18T16:05:00Z",
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "entrypoint": "https://linkbreak.ing/4BnH-R19p",
    "eventCount": 128,
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://brand.example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "Spring menu",
    "pageTheme": {
      "badgeEnabled": true,
      "badgeIconColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
      "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
      "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
      "bodyFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "canvasColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
      "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
      "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
      "containerConfig": {
        "backgroundColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 2,
        "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
        "opacity": 90,
        "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
      },
      "containerEnabled": true,
      "createdAt": "2026-03-14T09:30:00Z",
      "elementColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "elementFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "elementStyles": [
        {
          "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
          "style": {
            "borderColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "borderSize": 0,
            "fill": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "radius": 14,
            "textColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            }
          }
        }
      ],
      "footerLogoEnabled": true,
      "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
      "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
      "shape": {
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 1,
        "radius": 12
      },
      "smallText": {
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "fontSize": 13
      },
      "textColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "titleFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "updatedAt": "2026-03-18T16:05:00Z",
      "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
    "qrcodeDesign": {
      "backgroundOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        }
      },
      "centralImageMargin": 8,
      "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
      "centralImageSize": 0.3,
      "cornersDotOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_DOT_TYPE_DOT"
      },
      "cornersSquareOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
      },
      "createdAt": "2026-03-14T09:30:00Z",
      "dotsOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "DOTS_TYPE_ROUNDED"
      },
      "errorCorrectionLevel": "H",
      "hasCentralImage": true,
      "height": 1024,
      "hideBackgroundDots": true,
      "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
      "shape": "SHAPE_SQUARE",
      "updatedAt": "2026-03-18T16:05:00Z",
      "width": 1024
    },
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
    "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "4BnH-R19p",
    "tags": [
      {
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "restaurant",
        "updatedAt": "2026-03-18T16:05:00Z"
      }
    ],
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  }
}
```

### Parameters

`id` string 

path

Required

The ID of the link to update (UUID)

`Idempotency-Key` string 

header

A unique value per request, such as a UUID, that makes retrying it safe: a retry with the same key and body returns the first response instead of acting twice.

### Request body

`directoryId` string

The ID of the directory to move this link into (UUID)

`directoryIdDelete` boolean

Remove the link from its directory (move to root) If true, the directoryId will be set to null

`expiredDestination` string

Where visitors are sent once the link has expired. Empty serves the built-in expired page instead.

`expiredDestinationDelete` boolean

Remove the expired destination from this link. If true, expiredDestination is cleared and expired visitors see the built-in expired page instead.

`expiresAt` string (date-time)

When the link stops resolving. Empty leaves the current value untouched. Must be in the future. Once it passes the link is removed from the workspace and only the expired destination is served.

`expiresAtDelete` boolean

Remove the expiration from this link. If true, expiresAt is cleared and the link stops expiring.

`fallbackDestination` string

The fallback destination URL to use when workflow steps are broken

`name` string

The new name of the link

`pageThemeId` string

Page theme ID to assign to this link

`purpose` string

What the user is trying to achieve with this link, in one or two sentences. The link's assistant conversations read it as context, so it is restated whenever the workflow changes shape.

`qrcodeEnabled` boolean

Turn the QR code on or off. Omit to leave it unchanged. false permanently deletes the link's QR code image and QR code design (including any customization) and empties qrcodeDesignId and qrcodeSignedUrl; already printed QR codes keep working because the shortlink does not change. true creates a new QR code design from the link's qrcodeTemplateId (or the default template) and generates the image in the background; earlier customizations are not restored.

`qrcodeTemplateId` string

QR code template ID to assign to this link

`qrcodeTemplateIdDelete` boolean

Delete the QR code template ID from this link If true, the qrcodeTemplateId will be set to null

`tags` array of string

Set the tags to associate with the link. If a tag with the given name doesn't exist, it will be created.

`tagsDelete` boolean

Delete all tags from the link If true, all tags will be removed from the link.

### Response

200

`link` object

A shortlink and its QR code, with the workflow that runs when someone scans or clicks it. Holds its destination, settings and analytics metadata.

Fields: [The link object](#links-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X PATCH "https://api.linkbreakers.com/v1/links/{id}" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
  "directoryIdDelete": false,
  "expiredDestination": "https://example.com/campaign-over",
  "expiredDestinationDelete": false,
  "expiresAt": "2026-12-31T23:59:59Z",
  "expiresAtDelete": false,
  "fallbackDestination": "https://example.com/fallback",
  "name": "My Updated Link",
  "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "purpose": "Increase newsletter signups. Good leads: marketing qualified leads with budget over $10k.",
  "qrcodeEnabled": true,
  "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
  "qrcodeTemplateIdDelete": false,
  "tags": [
    "restaurant",
    "spring-2026"
  ],
  "tagsDelete": false
}'
```

Response 200

```json
{
  "link": {
    "createdAt": "2026-03-14T09:30:00Z",
    "customDomain": {
      "activatedAt": "2026-03-14T09:42:00Z",
      "certificateExpiresAt": "2026-06-12T09:41:00Z",
      "cloudflareHostnameStatus": "active",
      "cloudflareSslStatus": "pending_validation",
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "lastCheckedAt": "2026-03-21T06:00:00Z",
      "lastError": "The CNAME record of links.example.com does not point to domains.linkbreakers.com",
      "linkCount": 5,
      "name": "links.example.com",
      "rootDestination": "https://example.com",
      "scheduledDeletionAt": "2026-04-17T16:05:00Z",
      "status": "STATUS_ACTIVE",
      "statusChangedAt": "2026-03-18T16:05:00Z",
      "updatedAt": "2026-03-18T16:05:00Z",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "customDomainId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "directoryId": "d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f",
    "entrypoint": "https://linkbreak.ing/4BnH-R19p",
    "eventCount": 128,
    "expiredDestination": "https://example.com/campaign-over",
    "expiresAt": "2026-12-31T23:59:59Z",
    "fallbackDestination": "https://brand.example.com/fallback",
    "id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
    "metadata": {
      "campaign": "spring-2026",
      "table": "12"
    },
    "name": "Spring menu",
    "pageTheme": {
      "badgeEnabled": true,
      "badgeIconColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "badgeId": "8e4a1c7d-2b9f-4d3e-a5c6-9f0b1e7d3a52",
      "badgeShape": "PAGE_THEME_BADGE_SHAPE_CIRCLE",
      "bodyAlign": "PAGE_THEME_TEXT_ALIGN_LEFT",
      "bodyFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "canvasColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "canvasCoverId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "canvasCoverMode": "PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP",
      "canvasTexture": "PAGE_THEME_CANVAS_TEXTURE_BRUSHED",
      "choiceLayout": "PAGE_THEME_CHOICE_LAYOUT_ROWS",
      "containerConfig": {
        "backgroundColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 2,
        "borderStyle": "PAGE_THEME_BORDER_STYLE_SOLID",
        "opacity": 90,
        "variant": "PAGE_THEME_CONTAINER_VARIANT_ROUNDED"
      },
      "containerEnabled": true,
      "createdAt": "2026-03-14T09:30:00Z",
      "elementColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "elementFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "elementStyles": [
        {
          "job": "PAGE_THEME_ELEMENT_JOB_SURFACE",
          "style": {
            "borderColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "borderSize": 0,
            "fill": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            },
            "radius": 14,
            "textColor": {
              "colors": [
                "#1F3A5F",
                "#F4EDE4"
              ],
              "direction": "135deg",
              "stops": [
                "0%",
                "100%"
              ],
              "type": "THEME_COLOR_TYPE_LINEAR"
            }
          }
        }
      ],
      "footerLogoEnabled": true,
      "footerLogoId": "c3f7a9e1-6d2b-4a8c-b1e5-7d0f3a9c2e64",
      "headingAlign": "PAGE_THEME_TEXT_ALIGN_CENTER",
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "questionStyle": "PAGE_THEME_QUESTION_STYLE_HEADLINE",
      "shape": {
        "borderColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "borderSize": 1,
        "radius": 12
      },
      "smallText": {
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "fontSize": 13
      },
      "textColor": {
        "colors": [
          "#1F3A5F",
          "#F4EDE4"
        ],
        "direction": "135deg",
        "stops": [
          "0%",
          "100%"
        ],
        "type": "THEME_COLOR_TYPE_LINEAR"
      },
      "titleFont": {
        "bold": true,
        "color": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "family": "PAGE_THEME_FONT_FAMILY_GEORGIA",
        "familyStack": "\"Gill Sans\", \"Trebuchet MS\", sans-serif",
        "fontSize": 18,
        "italic": false
      },
      "updatedAt": "2026-03-18T16:05:00Z",
      "visitorExperience": "PAGE_THEME_VISITOR_EXPERIENCE_CLASSIC",
      "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
    },
    "pageThemeId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "pageThemeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "purpose": "Let restaurant guests open the spring menu from the QR code on their table, and see which tables scan most.",
    "qrcodeDesign": {
      "backgroundOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        }
      },
      "centralImageMargin": 8,
      "centralImageMediaId": "5f1c2d3e-4b5a-6c7d-8e9f-0a1b2c3d4e5f",
      "centralImageSignedUrl": "https://cdn.linkbreakers.com/media/5f1c2d3e/menu-cover.png",
      "centralImageSize": 0.3,
      "cornersDotOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_DOT_TYPE_DOT"
      },
      "cornersSquareOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "CORNERS_SQUARE_TYPE_EXTRA_ROUNDED"
      },
      "createdAt": "2026-03-14T09:30:00Z",
      "dotsOptions": {
        "themeColor": {
          "colors": [
            "#1F3A5F",
            "#F4EDE4"
          ],
          "direction": "135deg",
          "stops": [
            "0%",
            "100%"
          ],
          "type": "THEME_COLOR_TYPE_LINEAR"
        },
        "type": "DOTS_TYPE_ROUNDED"
      },
      "errorCorrectionLevel": "H",
      "hasCentralImage": true,
      "height": 1024,
      "hideBackgroundDots": true,
      "id": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
      "outputFileFormat": "OUTPUT_FILE_FORMAT_PNG",
      "shape": "SHAPE_SQUARE",
      "updatedAt": "2026-03-18T16:05:00Z",
      "width": 1024
    },
    "qrcodeDesignId": "a8c5e111-8894-4f8a-b5db-9efe0d12a210",
    "qrcodeEnabled": true,
    "qrcodePendingUpdateSince": "2026-03-18T16:05:00Z",
    "qrcodeSignedUrl": "https://cdn.linkbreakers.com/qrcodes/1b9d6bcd.png?signature=abc123",
    "qrcodeTemplateId": "0d7f4d9c-1aef-4ed4-821b-321a3f9cba1d",
    "shortlink": "4BnH-R19p",
    "tags": [
      {
        "createdAt": "2026-03-14T09:30:00Z",
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "restaurant",
        "updatedAt": "2026-03-18T16:05:00Z"
      }
    ],
    "updatedAt": "2026-03-18T16:05:00Z",
    "workspaceId": "c0d3cafe-5b1e-4d42-a6fd-0c5f5c3962d0"
  }
}
```

### Parameters

`id` string 

path

Required

The ID of the link to delete (UUID)

### Response

200

An empty JSON object.

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X DELETE "https://api.linkbreakers.com/v1/links/{id}" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

---

Source: https://linkbreakers.com/help/api/links
