Bio Pages (Link in Bio)

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List Bio Pages

API endpoint:

GET
https://2if.net/api/v1/bio-pages

Request example:

curl --location --request GET 'https://2if.net/api/v1/bio-pages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Create Bio Page

API endpoint:

POST
https://2if.net/api/v1/bio-pages

Request example:

curl --location --request POST 'https://2if.net/api/v1/bio-pages' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name=Personal Portfolio' \
--data-urlencode 'slug=alex' \
--data-urlencode 'title=Alex Developer' \
--data-urlencode 'description=Welcome to my official links'
Parameter
Type
Description
name
required string
Internal name for the bio page.
slug
required string
Unique URL slug (e.g. "alex" -> domain.com/@alex).
title
optional string
Display title rendered at the top of the page.
description
optional string
Short biography or description text.
theme
optional array
Custom theme styles (preset, layout, colors, font).
socials
optional array
Social profile links (e.g. {"instagram": "...", "x": "..."}).
Show Bio Page

API endpoint:

GET
https://2if.net/api/v1/bio-pages/{id}
Publish Bio Page

Takes an atomic snapshot of current builder settings and makes the page live on its public URL.

API endpoint:

POST
https://2if.net/api/v1/bio-pages/{id}/publish
Add Link Block to Bio Page

API endpoint:

POST
https://2if.net/api/v1/bio-pages/{id}/links

Request example:

curl --location --request POST 'https://2if.net/api/v1/bio-pages/{id}/links' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'title=My Latest Video' \
--data-urlencode 'url=https://youtube.com/watch?v=...' \
--data-urlencode 'is_pinned=1'
Parameter
Type
Description
title
required string
Title text for the button/card.
url
required url
Target destination URL.
description
optional string
Subtitle or descriptive note.
icon
optional string
Icon name or emoji.
is_pinned
optional boolean
Pin link to the top (1 or 0).
is_active
optional boolean
Whether the link is active and visible (1 or 0).
Bio Page Analytics Stats

Returns aggregated view counts, link clicks, top referrers, devices, browsers, and countries.

API endpoint:

GET
https://2if.net/api/v1/bio-pages/{id}/stats