← Back to API Reference overview

Page Themes

Endpoints for managing page visual themes. These endpoints allow you to create, read, and update themes for canvas, cover, badge, container, typography, and interactive elements.

Shortcut: ⌘K

#The Page Theme object

Page theme configuration

badgeEnabled

boolean

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

badgeIconColor

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.

badgeId

string

Badge image ID (references media table)

badgeShape

string (enum)

Badge shape

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.

canvasCoverId

string

Optional cover media ID (references media table)

canvasCoverMode

string (enum)

Cover display mode

Allowed values
PAGE_THEME_BACKGROUND_COVER_MODE_UNSPECIFIED
PAGE_THEME_BACKGROUND_COVER_MODE_FULL
PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP
PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_BOTTOM

containerConfig

object

Container styling configuration

createdAt

string (date-time)

When the page theme was created

elementColor

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.

elementFont

object

Font configuration with family, styling, and color

id

string

Page theme ID

titleFont

object

Font configuration with family, styling, and color

updatedAt

string (date-time)

When the page theme was last updated

workspaceId

string

Workspace ID this page theme belongs to

GET/v1/page-themesRequires auth

#List page themes for the current workspace

Retrieves all page themes belonging to the caller's workspace.

#Parameters

This endpoint does not accept any parameters.

#Response

200

Everything worked as expected.

pageThemes

array<object>

List of page themes

#Error response

400-599

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

GET/v1/page-themes/{id}Requires auth

#Get a page theme

Retrieves a specific page theme by ID.

#Parameters

path parameters

id

stringRequiredpath

Page theme ID to retrieve

#Response

200

Everything worked as expected.

pageTheme

object

Page theme configuration

#Error response

400-599

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

PATCH/v1/page-themes/{id}Requires auth

#Update a page theme

Updates an existing page theme. Cannot update page themes that are currently attached to links.

#Parameters

path parameters

id

stringRequiredpath

Page theme ID to update

#Request body

badge

object

badgeEnabled

boolean

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

badgeIconColor

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.

badgeShape

string (enum)

Badge shape to update

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.

canvasCover

object

canvasCoverMode

string (enum)

Cover display mode to update

Allowed values
PAGE_THEME_BACKGROUND_COVER_MODE_UNSPECIFIED
PAGE_THEME_BACKGROUND_COVER_MODE_FULL
PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_TOP
PAGE_THEME_BACKGROUND_COVER_MODE_PROGRESSIVE_BOTTOM

containerConfig

object

Container styling configuration

elementColor

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.

elementFont

object

Font configuration with family, styling, and color

titleFont

object

Font configuration with family, styling, and color

#Response

200

Everything worked as expected.

pageTheme

object

Page theme configuration

#Error response

400-599

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.