Hi
Product
Features
Security
Difference
Limits
FAQ
Pricing
Doc & Api
Get started free
NEXT-GEN LINK INFRASTRUCTURE

Stop guessing.
Start improving.

Deploy custom domains, ISO country routing, A/B split testing, PathLock™ PIN gates, and deterministic revenue attribution in under two minutes.

Get startedAccess our plans
Platform
  • Country & Device Routing
  • Weighted A/B Testing
  • Revenue Attribution (EPC)
  • Dynamic QR Studio
Security & Access
  • PathLock™ PIN Protection
  • Branded URL Masking
  • Click Limits & Expiration
  • Custom OpenGraph Cards
Developers
  • REST API & SDK Quickstart
  • Real-Time Click Telemetry
  • Signed Webhooks & Events
  • Full Documentation Hub
Legal & Trust
  • Privacy Policy (GDPR)
  • Terms of Service
  • No-Refund Policy
  • Dashboard Overview
LShorter Logo
LShorter© 2026 LShorter Inc.
Built on Cloudflare Edge Network
All 310+ Cloudflare Edge PoPs Operational
Privacy•Terms•Refunds
LShorter Logo
LShorter
HiHiProductProductFeaturesFeaturesSecuritySecurityDifferenceDifferenceLimitsLimitsFAQFAQPricingPricing
Doc & ApiDoc & Api
SDK & API Reference
Endpoints REST, clés Bearer et SDK TypeScript
Routage intelligent & Géo
Ciblage pays, OS mobile et redirection Edge
PathLock™ & Sécurité
Protection par code PIN, expiration et masquage
Télémétrie & Analytics
Flux de clics en direct, attribution et webhooks
RESSOURCESDocumentation

Documentation

Get started
LShorter Logo
LShorter
All guides & documentation

Branded URL Masking & White-Label Embedding

Preserve brand consistency and mask complex affiliate or third-party destination URLs in the browser address bar.

3 min read•Official Edge Documentation
Branded URL Masking & White-Label Embedding

Overview & Architecture

Branded URL Masking displays destination page content while keeping your branded domain in the visitor's browser address bar.

This technique is widely used for forms hosted on third-party SaaS platforms (Typeform, Notion, Airtable), and white-label enterprise client portals.

Key Principles

Core architectural pillars ensuring high performance, isolation, and security.

01Brand Preservation
Visitors constantly see your clean brand domain instead of a lengthy technical URL.
02Dynamic Titles & Favicons
Customize browser tab titles and favicons to perfectly match your brand identity.
03Secure Sandboxing
Safe containerization with strict Content-Security-Policy (CSP) headers protecting visitor privacy.
SDK Integration

Implementation & SDK Examples

Ready-to-use TypeScript code snippets and configuration examples for your integrations.

1. Creating a Masked Link

Set the maskUrl flag to true during link creation:

create-masked-link.ts
typescript
1234567891011
import { lshorter } from "@/lib/lshorter";
const maskedLink = await lshorter.links.create({
url: "https://partner-affiliate-network.com/ref?aff_id=992834&campaign=summer",
slug: "partner-deal",
maskUrl: true,
pageTitle: "Exclusive Partner Offer | LShorter",
});
console.log("Masked short link generated:", maskedLink.shortUrl);
// Output: https://lsho.cc/partner-deal
REST API Specification

API Endpoints & Reference

Direct HTTP request methods, parameters schema, authentication, and responses.

PATCH

Enable URL Masking

Bearer <API_KEY>60 to 1,400 req/min (by plan)
https://lsho.cc/api/v1/links/:id/masking

Enables or disables branded URL masking and configures the embedded page title and favicon metadata.

Path Parameters

ParameterTypeRequiredDescriptionExample
idstringRequiredShort link slug or ID.partner-deal

Request Body Parameters

ParameterTypeRequiredDescriptionExample
maskUrlbooleanRequiredSet to true to enable branded masking.true
pageTitlestringOptionalCustom HTML title displayed in the browser tab.Exclusive Partner Offer | LShorter
faviconUrlstring (url)OptionalCustom favicon image URL.https://my-brand.com/favicon.ico

Request Examples

bash
12345678
curl -X PATCH "https://lsho.cc/api/v1/links/partner-deal/masking" \
-H "Authorization: Bearer $LSHORTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"maskUrl": true,
"pageTitle": "Exclusive Partner Offer | LShorter",
"faviconUrl": "https://my-brand.com/favicon.ico"
}'

Response Payload

200 OKMasking parameters configured successfully.
response-200.json
json
123456789
{
"id": "link_msk_1029481",
"slug": "partner-deal",
"shortUrl": "https://lsho.cc/partner-deal",
"maskUrl": true,
"pageTitle": "Exclusive Partner Offer | LShorter",
"faviconUrl": "https://my-brand.com/favicon.ico",
"status": "active"
}

Recommended Best Practices

Expert tips to maximize performance, resilience, and link security.

Recommendation 01

Ensure target destination websites allow iframe embedding (verify they do not send strict X-Frame-Options: DENY headers).

Recommendation 02

Set a clear pageTitle so the browser tab accurately reflects presented content.

Recommendation 03

Test responsive viewports on mobile devices to ensure embedded iframe content scrolls smoothly.

Previous guideClick Limits & Scheduled ExpirationNext guideDynamic QR Code Generation API

Related Guides & APIs

Quickstart & REST API Reference
Quickstart & REST API Reference
Integrate intelligent edge link shortening, real-time analytics, and conversion tracking with our high-performance REST API and TypeScript SDK.
Read guide & API
Dynamic Routing & Edge Geolocation
Dynamic Routing & Edge Geolocation
Redirect visitors to contextual URLs based on their origin country or continent with ultra-low latency.
Read guide & API