Quick Duplication This endpoint copies all content, styling, links, and settings from an existing website. Perfect for creating variations, client sites, or campaign-specific pages without rebuilding from scratch.
Request
Path Parameters
The identifier of the source website to duplicate. Can be a slug, custom domain, or document ID. Example: johndoe
Body
URL slug for the new website. Required if no domain is provided, or when using a system domain. Example: johndoe-v2
Domain for the new website. The API automatically detects the domain type:
Bouncy domain (bouncy.ai): Uses the slug as the path — bouncy.ai/{slug}
System domain (e.g. bouncy.link, spicyl.ink): Requires a slug — {domain}/{slug}
Custom domain (any other domain): Deploys to your custom domain — {domain}
Example: bouncy.link
You must provide at least a slug or a domain. If only slug is provided, the website is created on bouncy.ai/{slug}.
Response
Unique ID of the newly created website
Full URL to the new website Example: https://bouncy.ai/johndoe-v2
ID of the source website that was duplicated
cURL — Bouncy.ai slug
cURL — System domain
cURL — Custom domain
JavaScript
Python
curl -X POST https://api.bouncy.ai/v1/websites/johndoe/duplicate \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "johndoe-v2"
}'
201 Created
201 Created (System Domain)
404 Not Found
400 Bad Request
403 Forbidden
{
"message" : "Website duplicated successfully" ,
"id" : "johndoe-v2" ,
"url" : "https://bouncy.ai/johndoe-v2" ,
"sourceId" : "johndoe"
}