Endpoints for managing Page Theme Templates in Linkbreakers. These endpoints allow you to create, retrieve, update, publish, import, and delete reusable page styling.
Reusable color payload used across design-oriented APIs (page themes, QR code designs, etc.).
It supports solid colors and gradients with optional direction and per-stop offsets.
colors
array<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<string>
Optional stop offsets aligned with `colors` (e.g. "0%", "50%", "100%").
Which templates to return. WORKSPACE (default) returns only templates owned by the caller's workspace. AVAILABLE also returns built-in templates and templates other workspaces have published, ordered by the workspace's own usage first, then its own templates, then the rest. templates published by other workspaces.
Allowed values
PAGE_THEME_TEMPLATE_SCOPE_UNSPECIFIED
Defaults to PAGE_THEME_TEMPLATE_SCOPE_WORKSPACE.
PAGE_THEME_TEMPLATE_SCOPE_WORKSPACE
Only templates owned by the caller's workspace.
PAGE_THEME_TEMPLATE_SCOPE_AVAILABLE
Every template the workspace may use: its own, built-in ones, and
Related objects to include in the response List of related objects to include. Supported values: 'workspace'
search
stringquery
Search query applied to template name/description
pageSize
integer (int64)query
Maximum number of templates to return (defaults to 20)
pageToken
stringquery
Cursor token to retrieve the next page of results
workspaceId
stringquery
Optional workspace ID to filter templates by workspace Filter public templates by workspace. Only published templates for that workspace will be returned.
Extended markdown-supported content for "learn more" section
name
string
The name of the page theme template
sourcePageThemeId
string
Page theme to copy the styling from, usually a link's own theme. Omit to start from the default styling.
styling
object
PageThemeStyling is the set of visual values a page theme carries. It exists so styling can travel on its own, detached from any stored theme: the editor sends what is currently on screen, which is what the user means by "this look", whether or not it has been saved yet.
tags
string
Tags for categorizing and filtering templates (comma-separated)
Publish a page theme template to make it available in the public gallery. Requires workspace to be public and template to have slug, description, and name.
Reusable color payload used across design-oriented APIs (page themes, QR code designs, etc.). It supports solid colors and gradients with optional direction and per-stop offsets.
badgeShape
string (enum)
Allowed values
PAGE_THEME_BADGE_SHAPE_UNSPECIFIED
PAGE_THEME_BADGE_SHAPE_CIRCLE
PAGE_THEME_BADGE_SHAPE_SQUARE
PAGE_THEME_BADGE_SHAPE_ROUNDED
bodyFont
object
Font configuration with family, styling, and color
canvasColor
object
Reusable color payload used across design-oriented APIs (page themes, QR code designs, etc.). It supports solid colors and gradients with optional direction and per-stop offsets.
Reusable color payload used across design-oriented APIs (page themes, QR code designs, etc.). It supports solid colors and gradients with optional direction and per-stop offsets.
elementFont
object
Font configuration with family, styling, and color
titleFont
object
Font configuration with family, styling, and color