Skip to content

Bio pages (management API)

View as Markdown

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.

MethodPathWhat it doesPermission
GET/v1/manage/bio-pagesList bio pagesRead
POST/v1/manage/bio-pagesCreate a bio pageRead and write
GET/v1/manage/bio-pages/{page}Get a bio pageRead
PATCH/v1/manage/bio-pages/{page}Change a bio page’s settingsRead and write
DELETE/v1/manage/bio-pages/{page}Delete a bio pageRead and write
GET/v1/manage/bio-pages/{page}/previewPreview a bio pageRead
PUT/v1/manage/bio-pages/{page}/contentSave a bio page’s designRead and write
POST/v1/manage/bio-pages/{page}/publishPublish a bio pageRead and write
POST/v1/manage/bio-pages/{page}/unpublishUnpublish a bio pageRead and write
POST/v1/manage/bio-pages/{page}/restoreRestore a deleted bio pageRead and write
GET/v1/manage/bio-pages

Permission: 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:

ParameterTypeRequiredDescription
limitintegerNoHow many to return, 1 to 100 (default 50).
cursorstringNoFrom 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:

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
POST/v1/manage/bio-pages

Permission: 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:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: check and preview the change without making it (the same as dry_run in the body).

Request body (JSON):

FieldTypeRequiredDescription
titlestringYesThe page’s title: shown at the top of the simple page and as the browser tab and link preview title.
slugstringYesThe page’s address: /bio/<slug> on your link domains. Lowercase letters, digits and dashes; not “go”.
templatestringNoStart 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.
contentobject or stringNoIts first design, saved as a draft (instead of a template).

Response 201: the result in data, with warnings. With dry_run, a preview instead.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
GET/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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Response 200: the result in data, with summary.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
PATCH/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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: check and preview the change without making it (the same as dry_run in the body).

Request body (JSON):

FieldTypeRequiredDescription
titlestringNoA new title. Empty keeps the old one.
slugstringNoA new address. Links to the old /bio/<slug> stop working.
biostring or nullNoThe line under the title on the simple page, and the link preview description. Empty or null clears it.
avatar_urlstring or nullNoThe 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.
themestringNoThe simple page’s colours: default, light, purple, gradient.
linksarray of object or string or nullNoThe simple page’s buttons, in order (used when the page has no design from the builder). Null clears them.
social_linksarray of object or string or nullNoThe simple page’s social icons. Null clears them.
link_editsarray of objectNoChange 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[].idstringYesThe block’s id in the design.
link_edits[].indexintegerNoFor a social row, which icon (from 0).
link_edits[].labelstringNoA button’s new text.
link_edits[].urlstringNoThe new address; empty for none.
activebooleanNotrue: on (published) at /bio/<slug>. false: off.
ab_eligiblebooleanNoWhether it can be a version in an A/B test.
brandinginherit, show, hideNo”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_atstringNoThe 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.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
DELETE/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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: 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.

FieldTypeDescription
deletedtrue
idstring
namestring
trash_idstring
restorable_untilstring
GET/v1/manage/bio-pages/{page}/preview

Permission: 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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
versiondraft, publishedNoDefault: the draft if there is one, otherwise the published page.

Response 200: the result in data.

FieldTypeDescription
htmlstringA whole HTML document, from the same renderer as the live page; open it in a phone-sized frame.
versiondraft, published
summarystring
pngnull
PUT/v1/manage/bio-pages/{page}/content

Permission: 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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: check and preview the change without making it (the same as dry_run in the body).

Request body (JSON):

FieldTypeRequiredDescription
contentobject or stringYesThe 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.
publishbooleanNotrue: 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_atstringNoThe 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.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
POST/v1/manage/bio-pages/{page}/publish

Permission: 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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: check and preview the change without making it (the same as dry_run in the body).

Request body (JSON):

FieldTypeRequiredDescription
contentobject or stringNoA design to publish. Leave out to publish the page’s draft (or, with no draft, just turn the page on).
expected_updated_atstringNoThe 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.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
POST/v1/manage/bio-pages/{page}/unpublish

Permission: 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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: 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.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
POST/v1/manage/bio-pages/{page}/restore

Permission: 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:

ParameterDescription
pageThe page: its id or name (a bio page also its address). URL-encode a name.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: 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.

FieldTypeDescription
idstringThe page’s id. Any endpoint taking {page} also takes its address (slug) or title.
titlestring
slugstring
pathstringWhere it is on every link domain: /bio/<slug>.
activebooleanOn (published) or off.
default_pagebooleanThe page /bio shows: the oldest one that’s on.
designedbooleanWhether it has a published design from the builder; without one, visitors see the simple page (title, bio, links, social icons).
has_draftbooleanWhether there is an unpublished draft (from the builder, or saved through the API).
draft_bystring or null
draft_updated_atstring or null
biostring or null
avatar_urlstring or null
themestring
linksarray of any
social_linksarray of any
ab_eligibleboolean
brandinginherit, 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.
createdstring
updated_atstring
contentobject or null
draftobject or null
tappable_linksarray of anyThe links visitors can tap, with each block’s id (ref) for link_edits.
Was this page helpful?