Developers
API reference
Create pages, update links and pull analytics from your own tools. The REST API is included with the Agency plan.
- Base URL
- https://tapzy.link/api/v1
- Authentication
- Bearer API key
- Format
- JSON
Introduction
The Tapzy API lets you manage link pages and read their analytics from your own tools. Use it to onboard creators in bulk, sync links from a customer relationship management (CRM) tool or build your own reporting. It accepts and returns JSON and uses standard HTTP status codes.
Every request is scoped to the workspace that owns the API key, so you can only read and change that workspace’s pages. API access is part of the Agency plan.
Quick start
Create an API key
Open API Keys in your dashboard and create a key. Keys start with
tapzy_and are shown only once, so store yours somewhere safe, for example in an environment variable:Terminal# Keep your key out of source control export TAPZY_API_KEY="tapzy_your_api_key"Make your first request
List the pages in your workspace:
curl https://tapzy.link/api/v1/pages \ -H "Authorization: Bearer $TAPZY_API_KEY"Read the response
Successful responses wrap their payload in
data:200 OK{ "data": [ { "id": "8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10", "slug": "miarose", "type": "landing", "published": true, "title": "Mia Rose", "created_at": "2026-09-14T10:21:07.482913+00:00", "updated_at": "2026-10-18T16:42:55.019274+00:00" }, { "id": "3d7a9e21-6b4f-4c8a-a0e5-91f2c6d8b734", "slug": "kaibeats", "type": "landing", "published": false, "title": "KAI", "created_at": "2026-10-02T08:03:44.120551+00:00", "updated_at": "2026-10-02T08:03:44.120551+00:00" } ] }From here you can create a page, update its links or pull its stats.
Authentication
Authenticate every request with your API key in the Authorization header, using the Bearer scheme. The X-Api-Key header works too.
GET /api/v1/pages HTTP/1.1
Host: tapzy.link
Authorization: Bearer tapzy_your_api_key
Accept: application/jsonOnly workspace Owners and Admins can create keys, and the workspace needs the Agency plan. Requests without a valid key return 401 invalid_api_key, and workspaces without API access return 403 feature_locked.
Keep your keys secret. Only call the API from your own server, never from client-side code, mobile apps or public repositories. If a key leaks, revoke it in the dashboard and create a new one.
Errors
Failed requests return a 4xx or 5xx status and an error object with a machine-readable code and a human-readable message:
{
"error": {
"code": "slug_taken",
"message": "That slug is already taken."
}
}invalid_api_key401- The key is missing or malformed, or it was revoked.
feature_locked403- The workspace’s plan doesn’t include API access (Agency plan required).
not_found404- The page doesn’t exist, belongs to another workspace, or the ID isn’t a valid UUID.
slug_taken409- Another page already uses this slug.
limit_reached409- The workspace has reached its plan’s page limit.
validation_error422- A field is missing or invalid, or the slug is reserved. The message says which field and why.
server_error500- Something went wrong on the server.
feature_disabled503- Tapzy has switched this off for now: the whole API, or creating new pages. See maintenance and switched-off features.
maintenance503- Tapzy is down for maintenance. See maintenance and switched-off features.
Maintenance and switched-off features
Both of these return status 503. They are temporary, so retry later rather than treating them as a failure of your request.
maintenance: Tapzy is down for maintenance, and every request gets this response before your key is even checked. Themessagecan be a note from the Tapzy team. If an end time is known, theRetry-Afterheader says how many seconds to wait.feature_disabled: Tapzy has switched something off for everyone. With the public API off, every request with a key gets this response. If only part of it is off, such as new pages, saving changes or publishing, only the requests that need it get this response, for example creating a page or updating one. Themessagesays what’s off.
{
"error": {
"code": "maintenance",
"message": "Tapzy is down for maintenance."
}
}Pages
A page is a creator’s link in bio, and it comes in two types. A landing page has blocks and social icons. A direct page sends visitors straight to one destination after an 18+ confirmation. Changes go live immediately.
List pages
/pagesReturns every page in the workspace, in the same order as your dashboard. Each item is a summary, so fetch a single page for its full content.
curl https://tapzy.link/api/v1/pages \
-H "Authorization: Bearer $TAPZY_API_KEY"{
"data": [
{
"id": "8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10",
"slug": "miarose",
"type": "landing",
"published": true,
"title": "Mia Rose",
"created_at": "2026-09-14T10:21:07.482913+00:00",
"updated_at": "2026-10-18T16:42:55.019274+00:00"
},
{
"id": "3d7a9e21-6b4f-4c8a-a0e5-91f2c6d8b734",
"slug": "kaibeats",
"type": "landing",
"published": false,
"title": "KAI",
"created_at": "2026-10-02T08:03:44.120551+00:00",
"updated_at": "2026-10-02T08:03:44.120551+00:00"
}
]
}Create a page
/pagesCreates a page and returns the full Page object with status 201. Only slug is required. Unknown top-level fields are rejected with validation_error, and creating a page beyond your plan’s limit returns limit_reached.
Body parameters
slugstringrequired- The page’s link name: 2–30 characters of letters, numbers, dots and underscores, starting and ending with a letter or number. Capitals become lowercase. Must be unique across Tapzy, and some names are reserved.
titlestring- Display name, up to 80 characters.
biostring- Short bio shown under the name, up to 400 characters.
locationstring- Location line, up to 80 characters.
type"landing" | "direct"landing(default) is a full page with blocks and socials.directsends visitors todirect_url, after an 18+ confirmation whensettings.directAgeGateis on (always for 18+ creator platforms).publishedboolean- Whether the page is live. Defaults to
true. direct_urlstring | null- Destination of a
directpage: a full URL, up to 2,000 characters. avatar_urlstring | null- Full URL of the profile picture, up to 1,000 characters.
blocksBlock[]- Up to 100 complete block objects, in display order.
socialsSocial[]- Up to 30 social icons, in display order.
themeobject- Design settings, such as colors, fonts and button style. Send any of the keys listed under Page.
social_styleobject- How the social icons look. Send any of the keys listed under Page.
settingsobject- Feature switches, such as
verified,deeplinkandpixels. Send any of the keys listed under Page. seoobject- Custom
title(up to 70 characters),description(up to 200), shareimageandnoindex. Send any of them.
curl -X POST https://tapzy.link/api/v1/pages \
-H "Authorization: Bearer $TAPZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "lenafit",
"title": "Lena · Fitness",
"bio": "Coach for busy people.",
"location": "Vienna",
"published": true,
"socials": [
{
"platform": "instagram",
"value": "lenafit"
},
{
"platform": "youtube",
"value": "lenafit"
}
]
}'Retrieve a page
/pages/{id}Returns the full Page object, including its theme, blocks, socials and settings.
PAGE_ID="8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10"
curl https://tapzy.link/api/v1/pages/$PAGE_ID \
-H "Authorization: Bearer $TAPZY_API_KEY"The response wraps the page in data. These are its own fields:
{
"data": {
"id": "8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10",
"slug": "miarose",
"type": "landing",
"published": true,
"title": "Mia Rose",
"bio": "Daily vlogs, skincare & my secret page",
"location": "Prague, Czechia",
"avatar_url": "https://cdn.example.com/avatars/miarose.jpg",
"direct_url": null,
"group_id": null,
"created_at": "2026-09-14T10:21:07.482913+00:00",
"updated_at": "2026-10-18T16:42:55.019274+00:00"
}
}data also holds the page’s design. This sample shows one or two keys of each object, and the Page object lists them all:
{
"theme": {
"backgroundColor": "#ffb8f9",
"buttonColor": "#ffffff"
},
"social_style": {
"position": "below"
},
"settings": {
"verified": true,
"deeplink": true
},
"seo": {
"noindex": false
}
}The content comes as two lists, described under Block and Social:
{
"blocks": [
{
"id": "5f0c3a8e-1d27-4b9a-8c64-2e7d9b1a0f53",
"type": "header",
"enabled": true,
"title": "Links",
"lines": true
}
],
"socials": [
{
"platform": "instagram",
"value": "miarose"
}
]
}Update a page
/pages/{id}Send only the fields you want to change. It accepts the same fields as Create a page and returns the updated Page object.
theme,settings,social_styleandseoare merged: only the top-level keys you send change. Nested objects such assettings.pixelsare replaced as a whole, so send all of their keys.blocksandsocialsare replaced, so always send the complete list.- Changing
slugchanges the page’s public link, and the old link stops working. - A page’s
typecan’t be changed after it’s created. Sending it has no effect.
PAGE_ID="8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10"
curl -X PATCH https://tapzy.link/api/v1/pages/$PAGE_ID \
-H "Authorization: Bearer $TAPZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Mia Rose ✨",
"theme": {
"buttonColor": "#a855f7"
},
"settings": {
"verified": true,
"deeplink": true
}
}'To replace the links on a page, send the full list of blocks:
{
"blocks": [
{
"id": "b7e1c2d4-9f3a-4c6b-8e21-5a0d7f9c3b18",
"type": "link",
"enabled": true,
"title": "My exclusive page",
"subtitle": "",
"badge": "",
"url": "https://example.com/mia",
"layout": "classic",
"thumbnail": null,
"autoIcon": true,
"animation": "pulse",
"highlight": false,
"ageGate": true,
"smartRedirect": true,
"routing": {},
"scheduleStart": null,
"scheduleEnd": null,
"afterEnd": "hide"
}
]
}Delete a page
/pages/{id}Permanently deletes the page, and its public link stops working right away.
PAGE_ID="8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10"
curl -X DELETE https://tapzy.link/api/v1/pages/$PAGE_ID \
-H "Authorization: Bearer $TAPZY_API_KEY"{
"data": {
"deleted": true,
"slug": "miarose"
}
}Analytics
Page stats
/pages/{id}/stats?days=30Returns totals and a day-by-day breakdown of views and clicks for one page. Bots aren’t counted.
Query parameters
daysinteger- Days to include, counting back from today. From 1 to 365, defaulting to
30, and capped by the plan’s analytics history.
PAGE_ID="8c0f4b4e-2a51-4f0e-9d3b-6f1a2c7e9b10"
curl "https://tapzy.link/api/v1/pages/$PAGE_ID/stats?days=30" \
-H "Authorization: Bearer $TAPZY_API_KEY"{
"data": {
"days": 30,
"totals": {
"views": 48210,
"clicks": 20977,
"visitors": 31544
},
"daily": [
{
"date": "2026-09-21",
"views": 1402,
"clicks": 611
},
{
"date": "2026-09-22",
"views": 1588,
"clicks": 702
}
]
}
}Response fields
daysinteger- The number of days actually returned.
totals.viewsinteger- Page views in the period.
totals.clicksinteger- Link and social icon clicks in the period.
totals.visitorsinteger- Unique visitors, counted per day. Someone who returns on another day counts again.
daily[]object[]- One entry per day with
date(YYYY-MM-DD),viewsandclicks.
Objects
The Page object
Returned by Retrieve, Create and Update. Keys missing from theme, social_style, settings or seo fall back to Tapzy’s defaults when the page is displayed. Unknown keys inside these four objects are ignored.
Attributes
iduuid- Unique ID of the page. Use it in
/pages/{id}URLs. slugstring- The page’s link name. The page lives at
/{slug}, and on a connected custom domain. type"landing" | "direct"- Full landing page, or a direct link behind an 18+ confirmation.
publishedboolean- Whether the page is live.
title · bio · locationstring- Profile text shown at the top of the page.
avatar_urlstring | null- Profile picture URL.
direct_urlstring | null- Destination of a direct page.
themeobjecttemplateheaderTypebannerImagebannerColoravatarShapeavatarSizeavatarRingavatarRingColoravatarRingColor2avatarRingWidthavatarRingGapavatarRingGradientavatarGlowOnavatarGlowavatarGlowColoravatarAnimationbackgroundTypebackgroundColorgradientFromgradientTogradientAnglebackgroundImagebackgroundOverlaybackgroundBlurheroFadeoverlayColortitleFontbodyFonttitleColortextColorbuttonStylebuttonColorbuttonTextColorbuttonBorderColorbuttonBorderWidthbuttonBorderOnbuttonHoverbuttonRadiusbuttonShadowshadowColorshadowSizeshadowBlurshadowOpacityshadowPositioncontentAlignspacingbuttonSizebuttonTextAlignnameSizepageWidthlinkIconsblocksBlock[]- Links and content, in display order. See Block.
socialsSocial[]- Social icons. See Social.
social_styleobjectpositionsizebrandColorsiconColorshowBackgroundbrandBackgroundbackgroundColorsettingsobjectonlineStatusonlineShowonlineLabelonlineColorverifiedverifiedColorverifiedCheckColorsmartLocationdeeplinkopenInBrowserButtoniabScreensensitivehideBrandingdirectAgeGatecountdownpixelsseoobjecttitledescriptionimagenoindexgroup_iduuid | null- The workspace group the page belongs to, if any. Read-only: groups are managed in the dashboard.
created_at · updated_atstring- ISO 8601 timestamps.
The Block object
Blocks make up a landing page. Every block has id, type and enabled. When you send blocks, each one must be complete, with all the fields of its type.
Link block
idstringrequired- Unique within the page, up to 64 characters.
type"link"required- The block type.
enabledbooleanrequired- Hidden from visitors when false.
titlestringrequired- Button label, up to 120 characters.
subtitlestringrequired- Second line, up to 160 characters. Use an empty string for none.
badgestringrequired- Small label on the corner, up to 24 characters. Use an empty string for none.
urlstringrequired- Destination, up to 2,000 characters.
layout"classic" | "card" | "featured" | "mini"required- Shape of the link: Button, Card, Featured or Tile in the editor.
thumbnailstring | nullrequired- Full URL of the image or icon, up to 1,000 characters.
autoIconbooleanrequired- Show the destination’s own icon when there is no thumbnail.
animation"none" | "shake" | "pulse" | "bounce" | "wobble"required- Attention animation for the button.
highlightbooleanrequired- Adds a shine effect that draws the eye.
ageGatebooleanrequired- Visitors confirm they are 18+ before the link opens. Always on for links to 18+ platforms.
smartRedirectbooleanrequired- Resolve the destination on Tapzy’s server so it never appears in the page HTML. Always on for links to 18+ platforms.
routingobjectrequired- A different URL per traffic source. Keys:
instagram,tiktok,x,reddit,telegram,snapchat,youtube,facebook,threads,direct. Use{}for none. scheduleStart · scheduleEndstring | nullrequired- ISO 8601 date-times. The link is only shown inside this window.
afterEndstring- What the link does after
scheduleEnd:hide(default) ordim, which keeps it on the page greyed out with an Ended label.
{
"id": "b7e1c2d4-9f3a-4c6b-8e21-5a0d7f9c3b18",
"type": "link",
"enabled": true,
"title": "My exclusive page",
"subtitle": "",
"badge": "",
"url": "https://example.com/mia",
"layout": "classic",
"thumbnail": null,
"autoIcon": true,
"animation": "pulse",
"highlight": false,
"ageGate": true,
"smartRedirect": true,
"routing": {
"instagram": "https://example.com/mia?src=ig",
"tiktok": "https://example.com/mia?src=tt"
},
"scheduleStart": null,
"scheduleEnd": null,
"afterEnd": "hide"
}The other block types:
"header"
title, lines
A section heading up to 120 characters. lines is a boolean that adds thin lines on each side.
"text"
text, align
A paragraph up to 1,000 characters. align is "left" or "center".
"image"
image, url, caption
image is a full URL or null. url is the link when tapped, or an empty string for none. caption is up to 160 characters.
"embed"
url, title
A YouTube, Spotify, SoundCloud or Vimeo player. title is up to 120 characters.
"countdown"
label, style, mode, minutes, seconds, unit, endsAt, endText, showProgress, accent
A timer. style is "minimal" | "tiles" | "compact". mode is "evergreen" (per visitor) or "date". For "evergreen", send minutes (1–1440) or seconds (1–86400). seconds wins when you send both, and unit is what the editor shows it in. For "date", send endsAt, an ISO 8601 date-time or null. accent is a hex color.
"faq"
items
Up to 20 questions, each { "q": string, "a": string }. q is up to 200 characters and a up to 1,000.
"email"
title, description, buttonLabel, placeholder, successMessage, askName
An email signup form. title is up to 80 characters, description up to 200, buttonLabel up to 30, placeholder up to 60 and successMessage up to 160. askName adds an optional first name field. Shown on Pro and Agency.
"music"
url, title, artist, kind, cover, links, matchedAt
A song or album on several streaming services. url is the link it was made from. kind is "song" | "album" and cover an https image URL or null. links lists each service once, in page order, as { "platform": string, "url": string, "hidden": boolean }, where platform is "spotify" | "appleMusic" | "youtubeMusic" | "youtube" | "amazonMusic" | "deezer" | "tidal" | "soundcloud" | "pandora" | "audiomack" and url is an https link on that service. The API doesn't match links for you: send the services you want. matchedAt is an ISO 8601 date-time or null.
"divider"
style
style is "line" | "dots" | "space".
Build with the API
Create a key in your dashboard and make your first call in minutes.
The Social object
A social icon is
{ "platform": string, "value": string }. Thevalueis a username, handle or full URL of up to 300 characters, a phone number forwhatsappand an address foremail. It can’t be empty.Supported platforms (27)
instagramtiktokxsnapchatfacebookyoutuberedditthreadswhatsapptelegramtwitchkickdiscordlinkedinpatreononlyfansfanvuestackedmyywispotifysoundcloudpinterestblueskygithubpaypalemailwebsite