Skip to main content

White-label branding (Enterprise)

White-label branding lets you replace LeonAI's identity with your own on the public pages your audience sees — link-in-bio pages and shared analytics pages. Set a logo, a brand color, a brand name, and hide the "Powered by LeonAI" footer.

Reading branding is available on any tier (it returns sensible defaults). Writing branding is an Enterprise feature — a PUT from a lower tier returns 403.

Read your branding​

curl https://api.short.leonai.io/api/v1/branding \
-H "X-API-Key: $LEONAI_API_KEY"

Response (200 OK):

{
"success": true,
"data": {
"logoUrl": null,
"brandColor": "#14b8a6",
"brandName": null,
"hidePoweredBy": false
}
}

REST: GET /api/v1/branding. On tiers below Enterprise this returns the defaults shown above.

Update your branding (Enterprise)​

curl -X PUT https://api.short.leonai.io/api/v1/branding \
-H "X-API-Key: $LEONAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"logoUrl": "https://cdn.example.com/logo.svg",
"brandColor": "#ff5722",
"brandName": "Acme Links",
"hidePoweredBy": true
}'

Response (200 OK):

{
"success": true,
"data": {
"logoUrl": "https://cdn.example.com/logo.svg",
"brandColor": "#ff5722",
"brandName": "Acme Links",
"hidePoweredBy": true
}
}

REST: PUT /api/v1/branding. All fields are optional — send only what you want to change.

FieldNotes
logoUrlAbsolute http/https URL of your logo
brandColorHex color in #RRGGBB form
brandNameText used in place of "LeonAI" on public pages
hidePoweredBytrue removes the "Powered by LeonAI" footer

Where branding shows up​

Public payloads carry a branding object (or null when none is set), so the pages can theme themselves and optionally drop the LeonAI footer:

Error codes​

StatusWhen
400brandColor is not #RRGGBB, or logoUrl is not a valid URL
403Writing branding on a tier below Enterprise (feature gated)