/Docs
Search docs or ask a question⌘K
DocsAgent
Changelog
API Reference Get Brand Asset

Get Brand Asset

Serve an uploaded logo or favicon. Public, cached forever.

GET/v1/brand-assets/{projectId}/{file}Try it

Serves a logo or favicon stored by Upload Brand Asset. These are the URLs your doc site and the dashboard load. No authentication required.

You don't build this URL yourself: use the url the upload returned.

Path Parameters

NameDescription
projectId:stringpathRequired
The project ID.
file:stringpathRequired
The stored file name: 12 hex characters of the content hash and the extension, such as 3f9a1c2b7d4e.svg. .svg, .png or .ico.

Response

The image bytes, 200 OK, with these headers:

HeaderValue
Content-Typeimage/svg+xml, image/png or image/x-icon
Cache-Controlpublic, max-age=31536000, immutable — the name is the content hash, so the file never changes
X-Content-Type-Optionsnosniff
Content-Security-Policydefault-src 'none'; style-src 'unsafe-inline'; sandbox — an SVG opened directly can't run anything

Error Responses

StatusCodeWhen
404not_foundNo such file for this project, or the name isn't in the stored form
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl -O https://api.syntext.dev/v1/brand-assets/b4c5d6e7-f8a9-4b0c-9d1e-2f3a4b5c6d7e/3f9a1c2b7d4e.svg
Product
Resources
Company
© 2026 SyntextBuilt with Syntext