Bio pages (management API)
Bio pages made in the visual builder. Designs are checked against the builder’s blocks, which you can read from the blocks and templates endpoints. For what each setting does, see the user guide.
Every path also works under /v1/manage/appspaces/{appspace}, which you need when an OAuth token reaches more than one Appspace. See the management API overview for signing in, errors, dry runs and paging.
| Method | Path | What it does | Permission |
|---|---|---|---|
GET | /v1/manage/bio-pages | List bio pages | Read |
POST | /v1/manage/bio-pages | Create a bio page | Read and write |
GET | /v1/manage/bio-pages/{page} | Get a bio page | Read |
PATCH | /v1/manage/bio-pages/{page} | Change a bio page’s settings | Read and write |
DELETE | /v1/manage/bio-pages/{page} | Delete a bio page | Read and write |
GET | /v1/manage/bio-pages/{page}/preview | Preview a bio page | Read |
PUT | /v1/manage/bio-pages/{page}/content | Save a bio page’s design | Read and write |
POST | /v1/manage/bio-pages/{page}/publish | Publish a bio page | Read and write |
POST | /v1/manage/bio-pages/{page}/unpublish | Unpublish a bio page | Read and write |
POST | /v1/manage/bio-pages/{page}/restore | Restore a deleted bio page | Read and write |
List bio pages
Section titled “List bio pages”/v1/manage/bio-pagesPermission: Read.
The Appspace’s bio pages, oldest first, paged with cursor: each with its address, whether it’s on, and which one /bio shows. Without the design: get one for that.
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | How many to return, 1 to 100 (default 50). |
cursor | string | No | From the previous page’s next_cursor, to get the page after it. |
Response 200: a page of results in data, and next_cursor for the next page (see Paging). Each item:
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string |
Create a bio page
Section titled “Create a bio page”/v1/manage/bio-pagesPermission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
A title and an address (slug), as the dashboard: Free has one page. Blank, from a bio template, or with a design (saved as its draft). It starts off; publish it to put it on /bio/<slug>. Send Idempotency-Key so a retry never makes two. Content is the builder’s Puck data, checked against its blocks (GET /pages/blocks): unknown block types, fields of the wrong kind, links that could run code (javascript:, data:) and images the page can’t show are refused with 422 and each problem’s path; links that go nowhere and images from outside Media come back as warnings. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Request body (JSON):
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | The page’s title: shown at the top of the simple page and as the browser tab and link preview title. |
slug | string | Yes | The page’s address: /bio/<slug> on your link domains. Lowercase letters, digits and dashes; not “go”. |
template | string | No | Start from one of the builder’s bio templates, by id or name: bio-clean, bio-dark, bio-pastel, bio-gradient, bio-glass, bio-neon, bio-brutalist, bio-content-creator, bio-artist, bio-musician, bio-streamer, bio-business-card, bio-product-launch, bio-nonprofit, bio-event, bio-cafe, bio-fine-dining, bio-fast-food, bio-bar. Saved as the page’s draft, to change and publish. Leave out for a blank page. |
content | object or string | No | Its first design, saved as a draft (instead of a template). |
Response 201: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |
Get a bio page
Section titled “Get a bio page”/v1/manage/bio-pages/{page}Permission: Read.
One page in full: every setting a change takes, its published design and draft (Puck data), and the links visitors can tap with the ids link_edits takes.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Response 200: the result in data, with summary.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |
Change a bio page’s settings
Section titled “Change a bio page’s settings”/v1/manage/bio-pages/{page}Permission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
Title, address, the simple page’s text, picture, theme, links and social icons, on or off, A/B eligibility, “Powered by Tolinku” (branding: inherit, show or hide; hiding needs a paid plan), and link_edits (the published design’s button text and addresses). Only what is sent changes. Links and pictures are checked: no javascript: or data: addresses, an image the page can show. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Request body (JSON):
| Field | Type | Required | Description |
|---|---|---|---|
title | string | No | A new title. Empty keeps the old one. |
slug | string | No | A new address. Links to the old /bio/<slug> stop working. |
bio | string or null | No | The line under the title on the simple page, and the link preview description. Empty or null clears it. |
avatar_url | string or null | No | The picture on the simple page and in link previews: an https image, a path on this site, or one of this Appspace’s Media files. Null clears it. |
theme | string | No | The simple page’s colours: default, light, purple, gradient. |
links | array of object or string or null | No | The simple page’s buttons, in order (used when the page has no design from the builder). Null clears them. |
social_links | array of object or string or null | No | The simple page’s social icons. Null clears them. |
link_edits | array of object | No | Change the text and addresses of the published design’s buttons and social icons without touching anything else (as the dashboard’s Links tab does). The ids are in get_bio_page’s links. |
link_edits[].id | string | Yes | The block’s id in the design. |
link_edits[].index | integer | No | For a social row, which icon (from 0). |
link_edits[].label | string | No | A button’s new text. |
link_edits[].url | string | No | The new address; empty for none. |
active | boolean | No | true: on (published) at /bio/<slug>. false: off. |
ab_eligible | boolean | No | Whether it can be a version in an A/B test. |
branding | inherit, show, hide | No | ”Powered by Tolinku” at the bottom of this page: “inherit” follows the Appspace’s setting (branding in get_settings), “show” always shows it, “hide” never does. Only paid plans (Standard and up) can hide it; on Free and the trial it always shows, and asking to hide it changes nothing. |
expected_updated_at | string | No | The updated_at you read. If the thing has changed since, nothing is saved and the answer is 412 precondition_failed: read it again and retry. |
Response 200: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |
Delete a bio page
Section titled “Delete a bio page”/v1/manage/bio-pages/{page}Permission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
Its address stops working at once. It goes to the trash with its draft and can be restored for 30 days. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Response 200: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
deleted | true | |
id | string | |
name | string | |
trash_id | string | |
restorable_until | string |
Preview a bio page
Section titled “Preview a bio page”/v1/manage/bio-pages/{page}/previewPermission: Read.
The page as visitors see it (its design from the builder, or the simple page), its draft or its published version, with a summary in words. Send Accept: text/html for the page itself.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
version | draft, published | No | Default: the draft if there is one, otherwise the published page. |
Response 200: the result in data.
| Field | Type | Description |
|---|---|---|
html | string | A whole HTML document, from the same renderer as the live page; open it in a phone-sized frame. |
version | draft, published | |
summary | string | |
png | null |
Save a bio page’s design
Section titled “Save a bio page’s design”/v1/manage/bio-pages/{page}/contentPermission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
Saved as the page’s draft, to preview and publish; with publish: true, published at once. A bio page can’t show app, store or deep link blocks, or route data. Content is the builder’s Puck data, checked against its blocks (GET /pages/blocks): unknown block types, fields of the wrong kind, links that could run code (javascript:, data:) and images the page can’t show are refused with 422 and each problem’s path; links that go nowhere and images from outside Media come back as warnings. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Request body (JSON):
| Field | Type | Required | Description |
|---|---|---|---|
content | object or string | Yes | The bio page’s design as the visual builder saves it (Puck data): { “root”: { “props”: { “bgColor”: “#ffffff” } }, “content”: [ { “type”: “Heading”, “props”: { “id”: “h1”, “text”: “Hello” } } ], “zones”: { “<Section id>:content”: [ …blocks in that Section ] } }. Blocks and their fields: Heading (text, fontSize, color, alignment: left|center|right); TextBlock (content, fontSize, color, alignment: left|center|right); Image (url, alt, width, height, borderRadius, borderWidth, borderColor); Button (label, emoji, action, style: filled|outline|soft, bgColor, textColor, fontSize, borderRadius, fullWidth: false|true); Section (bgColor, bgImage, bgSize: cover|contain|auto, padding, borderRadius); Spacer (height); Divider (color, thickness); Avatar (url, size, borderWidth, borderColor); SocialRow (platforms, iconSize, iconColor, spacing); ProfileHeader (avatarUrl, avatarSize, name, nameFontSize, nameColor, bio, bioFontSize, bioColor). Full field types and limits: GET /pages/blocks (get_page_blocks). Text is shown as text, never HTML. Links can’t use javascript: or data:; images must be https, a path on this site, or one of this Appspace’s Media files. At most 64 KB. Also a JSON string of the same. |
publish | boolean | No | true: publish the design at once (and visitors see it if the page is on). Default false: saved as the draft, to preview and publish. |
expected_updated_at | string | No | The updated_at you read. If the thing has changed since, nothing is saved and the answer is 412 precondition_failed: read it again and retry. |
Response 200: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |
Publish a bio page
Section titled “Publish a bio page”/v1/manage/bio-pages/{page}/publishPermission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
Publishes the draft (or a design sent with it), and turns the page on: /bio/<slug> shows it at once. With no draft, it just turns the page on. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Request body (JSON):
| Field | Type | Required | Description |
|---|---|---|---|
content | object or string | No | A design to publish. Leave out to publish the page’s draft (or, with no draft, just turn the page on). |
expected_updated_at | string | No | The updated_at you read. If the thing has changed since, nothing is saved and the answer is 412 precondition_failed: read it again and retry. |
Response 200: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |
Unpublish a bio page
Section titled “Unpublish a bio page”/v1/manage/bio-pages/{page}/unpublishPermission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
Turns the page off: /bio/<slug> stops showing it. Its design and links are kept. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Response 200: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |
Restore a deleted bio page
Section titled “Restore a deleted bio page”/v1/manage/bio-pages/{page}/restorePermission: Read and write. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.
Brings back a page deleted in the last 30 days, with the same id, design, draft and history, on or off as it was. Refused with 409 when another page uses its address now, or on Free while there’s another page. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.
Path parameters:
| Parameter | Description |
|---|---|
page | The page: its id or name (a bio page also its address). URL-encode a name. |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run | true, false | No | true: check and preview the change without making it (the same as dry_run in the body). |
Response 200: the result in data, with warnings. With dry_run, a preview instead.
| Field | Type | Description |
|---|---|---|
id | string | The page’s id. Any endpoint taking {page} also takes its address (slug) or title. |
title | string | |
slug | string | |
path | string | Where it is on every link domain: /bio/<slug>. |
active | boolean | On (published) or off. |
default_page | boolean | The page /bio shows: the oldest one that’s on. |
designed | boolean | Whether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons). |
has_draft | boolean | Whether there is an unpublished draft (from the builder, or saved through the API). |
draft_by | string or null | |
draft_updated_at | string or null | |
bio | string or null | |
avatar_url | string or null | |
theme | string | |
links | array of any | |
social_links | array of any | |
ab_eligible | boolean | |
branding | inherit, show, hide | ”Powered by Tolinku” on this page: inherit (follow the Appspace’s branding setting), show or hide. Free and the trial always show it. |
created | string | |
updated_at | string | |
content | object or null | |
draft | object or null | |
tappable_links | array of any | The links visitors can tap, with each block’s id (ref) for link_edits. |