---
title: "Get Whitelabel Icon"
method: GET
path: "/api/branding/icon"
tags: ["Branding"]
---

# Get Whitelabel Icon

`GET /api/branding/icon`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/branding/icon`
- Auth: none declared

Return favicon bytes for the advisory mapped to this host.

Sync handler so FastAPI runs blocking Supabase/GCS I/O in the threadpool.
Fallback chain when this returns 404 is handled by the frontend proxy:
favicon_gcs_path → logo_gcs_path → Flagpost default.

## Query parameters

- `host` string, nullable: Override Host, e.g. acme.flagpost.ai

## Headers

- `Host` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
