Skip to content

Create Page

Creates a new Link-in-Bio page in the authenticated workspace. The page starts in an unpublished state. Use the Publish endpoint to make it publicly accessible.

POST /v1/bio/pages
bio:write

Parameters

Request body

ParameterTypeRequiredDescription
titlestringYesPage title displayed at the top of the bio page.
descriptionstringNoShort description or tagline.
page_dataobjectNoJSON object containing the page layout, links, theme, and other configuration.

Request examples

Terminal window
curl -X POST https://xqr.co/api/v1/bio/pages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Acme Inc",
"description": "Official links and resources",
"page_data": {
"theme": "dark",
"avatar_url": "https://cdn.xqr.co/avatars/acme.png",
"links": [
{ "label": "Website", "url": "https://acme.com" },
{ "label": "Twitter", "url": "https://twitter.com/acme" },
{ "label": "GitHub", "url": "https://github.com/acme" }
]
}
}'

Response

201 Created
{
"data": {
"id": "bio_abc123",
"title": "Acme Inc",
"description": "Official links and resources",
"slug": "acme-inc",
"page_data": {
"theme": "dark",
"avatar_url": "https://cdn.xqr.co/avatars/acme.png",
"links": [
{ "label": "Website", "url": "https://acme.com" },
{ "label": "Twitter", "url": "https://twitter.com/acme" },
{ "label": "GitHub", "url": "https://github.com/acme" }
]
},
"is_published": false,
"published_at": null,
"view_count": 0,
"click_count": 0,
"html_url": "https://bio.xqr.co/acme-inc",
"created_at": "2026-03-21T10:00:00Z",
"updated_at": "2026-03-21T10:00:00Z"
},
"meta": {
"request_id": "req_s1t2u3",
"rate_limit": {
"remaining": 48,
"reset_at": "2026-03-21T12:01:00Z"
}
}
}

Was this page helpful?