# Get the Lynkow branding badge

**Publié le** : 2026-05-12
**Catégorie** : Content

## `GET /branding/badge`

**Get the Lynkow branding badge**

Return the Made-with-Lynkow badge as a JSON envelope `{ data: { html, css } }`.
The `html` field is the full anchor tag with the SVG embedded; the
`css` field is the matching scoped CSS. Insert both into the host
page (a `<div>` placeholder plus a `<style>` tag). Returns JSON,
not SVG, despite the route name.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |


> **Notes:** Returns JSON, not SVG. The SVG markup is embedded inside the `html`
> field along with the wrapper anchor tag. Cache:
> `Cache-Control: public, max-age=86400`. Rate-limit bucket: general.

### Examples

```curl
curl "https://api.lynkow.com/public/{siteId}/branding/badge"
```

```javascript
const res = await fetch(`https://api.lynkow.com/public/${siteId}/branding/badge`)
const { data } = await res.json()
document.getElementById('lynkow-badge-slot').outerHTML = data.html
const style = document.createElement('style'); style.textContent = data.css; document.head.appendChild(style)
```

### Response Example

```json
"{\n  \"data\": {\n    \"html\": \"<a id=\\\"lynkow-badge\\\" href=\\\"https://www.lynkow.com?ref=badge\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" aria-label=\\\"Made with Lynkow\\\"><svg>...</svg></a>\",\n    \"css\": \"#lynkow-badge{position:fixed;bottom:16px;right:16px;...}\"\n  }\n}\n"
```

---