curl https://api.bouncy.ai/v1/websites/johndoe \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY"
const response = await fetch(
'https://api.bouncy.ai/v1/websites/johndoe',
{
headers: {
'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'
}
}
);
const website = await response.json();
console.log(website.templateId, website.data.links.length);
import requests
response = requests.get(
'https://api.bouncy.ai/v1/websites/johndoe',
headers={'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'}
)
website = response.json()
print(website['templateId'], len(website['data']['links']))
{
"id": "johndoe",
"data": {
"profile": { "name": "John Doe", "bio": "Digital creator" },
"links": [
{ "id": "l1", "type": "simple", "title": "My Website", "url": "https://johndoe.com" }
],
"socials": [
{ "id": "social_instagram", "platform": "instagram", "url": "https://instagram.com/johndoe" }
],
"settings": { "deepLinkBehavior": "conservative", "geoRules": [] }
},
"customDomain": null,
"customSlug": "johndoe",
"customPath": null,
"isSystemDomain": false,
"systemDomain": null,
"templateId": "simple-stack-v2",
"isActive": true,
"createdAt": { "_seconds": 1768471200, "_nanoseconds": 0 },
"updatedAt": { "_seconds": 1770302400, "_nanoseconds": 0 },
"behavior": "conservative",
"abTestEnabled": false,
"twoStepEnabled": false
}
{
"error": "Website not found or you do not have permission to access it"
}
Websites
Get Website
Retrieve the content and settings of a link-in-bio page
GET
/
v1
/
websites
/
{websiteId}
curl https://api.bouncy.ai/v1/websites/johndoe \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY"
const response = await fetch(
'https://api.bouncy.ai/v1/websites/johndoe',
{
headers: {
'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'
}
}
);
const website = await response.json();
console.log(website.templateId, website.data.links.length);
import requests
response = requests.get(
'https://api.bouncy.ai/v1/websites/johndoe',
headers={'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'}
)
website = response.json()
print(website['templateId'], len(website['data']['links']))
{
"id": "johndoe",
"data": {
"profile": { "name": "John Doe", "bio": "Digital creator" },
"links": [
{ "id": "l1", "type": "simple", "title": "My Website", "url": "https://johndoe.com" }
],
"socials": [
{ "id": "social_instagram", "platform": "instagram", "url": "https://instagram.com/johndoe" }
],
"settings": { "deepLinkBehavior": "conservative", "geoRules": [] }
},
"customDomain": null,
"customSlug": "johndoe",
"customPath": null,
"isSystemDomain": false,
"systemDomain": null,
"templateId": "simple-stack-v2",
"isActive": true,
"createdAt": { "_seconds": 1768471200, "_nanoseconds": 0 },
"updatedAt": { "_seconds": 1770302400, "_nanoseconds": 0 },
"behavior": "conservative",
"abTestEnabled": false,
"twoStepEnabled": false
}
{
"error": "Website not found or you do not have permission to access it"
}
Request
Headers
Path Parameters
string
required
The website’s id, slug or custom domain. GET /v1/links?type=website lists your websites.Example:
johndoeResponse
string
Website ID
object
The page’s editor data (profile, links, socials, background, advanced settings, …). Edit it and send it back with Update Website.
string
The design
string
Slug, or
nullstring
Custom domain, or
nullstring
Path on the custom domain, or
nullboolean
Whether the page is on a system domain
string
The system domain, or
nullboolean
Whether the page is live
string
Redirect behavior of the page’s links
boolean
Whether a design A/B test is running. Update Website then saves the main design (variation A) only
boolean
Whether the page is a two-step page: its address shows an intro page, and the full page opens at the same address plus
?bouncy_step=2. Update Website then saves the full page only and never changes the intro page, which is edited in the editorstring
Timestamp of creation
string
Timestamp of the last save
curl https://api.bouncy.ai/v1/websites/johndoe \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY"
const response = await fetch(
'https://api.bouncy.ai/v1/websites/johndoe',
{
headers: {
'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'
}
}
);
const website = await response.json();
console.log(website.templateId, website.data.links.length);
import requests
response = requests.get(
'https://api.bouncy.ai/v1/websites/johndoe',
headers={'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'}
)
website = response.json()
print(website['templateId'], len(website['data']['links']))
{
"id": "johndoe",
"data": {
"profile": { "name": "John Doe", "bio": "Digital creator" },
"links": [
{ "id": "l1", "type": "simple", "title": "My Website", "url": "https://johndoe.com" }
],
"socials": [
{ "id": "social_instagram", "platform": "instagram", "url": "https://instagram.com/johndoe" }
],
"settings": { "deepLinkBehavior": "conservative", "geoRules": [] }
},
"customDomain": null,
"customSlug": "johndoe",
"customPath": null,
"isSystemDomain": false,
"systemDomain": null,
"templateId": "simple-stack-v2",
"isActive": true,
"createdAt": { "_seconds": 1768471200, "_nanoseconds": 0 },
"updatedAt": { "_seconds": 1770302400, "_nanoseconds": 0 },
"behavior": "conservative",
"abTestEnabled": false,
"twoStepEnabled": false
}
{
"error": "Website not found or you do not have permission to access it"
}