Skip to main content
POST
Create a brand link page

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<shortuuid>
required

URL-safe brand identifier.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$

Body

application/json

Payload to create a link page.

name
string
required

Internal label shown to brand managers when picking a page for a rule, 1 to 120 characters. Unique among the brand's pages of this kind; a name already in use is refused with 422.

Required string length: 1 - 120
Pattern: ^[^\x00]{1,120}$
primary_color
string
required

Header background colour, a 6-digit hex value such as #0a84ff.

Pattern: ^#[0-9A-Fa-f]{6}$
accent_color
string
required

Button and link colour, a 6-digit hex value such as #ff9500.

Pattern: ^#[0-9A-Fa-f]{6}$
brand_name_override
string
default:""

Header brand name to show instead of the brand's own, up to 120 characters.

Maximum string length: 120
Pattern: ^[^\x00]{0,120}$
tagline
string
default:""

One-line tagline under the brand name, up to 160 characters.

Maximum string length: 160
Pattern: ^[^\x00]{0,160}$
button_style
enum<string>
default:filled

Link buttons are filled (the default) or outlined.

Available options:
filled,
outlined
button_shape
enum<string>
default:rounded

Link buttons are rounded (the default) or square.

Available options:
rounded,
square
blocks
Blocks · object[]

Ordered blocks, each a {type, data} object. Types: link, section_header, image_carousel and countdown_timer. A malformed block is refused with 422.

Response

Created

A brand-styled link-in-bio page made of ordered blocks.

id
string<shortuuid>
required

Identifier of the page.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
name
string
required

Internal label shown to brand managers when picking a page for a rule.

brand_name_override
string
required

Header brand name shown instead of the brand's own; empty to use the brand's name.

tagline
string
required

One-line tagline under the brand name; empty when none.

primary_color
string
required

Header background colour, a 6-digit hex value such as #0a84ff.

accent_color
string
required

Button and link colour, a 6-digit hex value such as #ff9500.

created
string<date-time>
required

ISO-8601 creation timestamp.

modified
string<date-time>
required

ISO-8601 last-modified timestamp.

button_style
enum<string>
required

Link buttons are filled or outlined.

Available options:
filled,
outlined
button_shape
enum<string>
required

Link buttons are rounded or square.

Available options:
rounded,
square
blocks
Blocks · object[]
required

Ordered blocks, each a {type, data} object. Types: link, section_header, image_carousel and countdown_timer. A malformed block is refused with 422.