Public Branding
Returns the branding configuration for a dock identified by its verified domain. This endpoint does not require authentication — it is used by the recipient portal to load visual theming.
GET /v1/docks/branding/public
Query Parameters
| Parameter | Type | Required | Description |
|---|
domain | string | Required | The verified domain of the dock |
Example Request
curl "https://api.docyard.io/v1/docks/branding/public?domain=acme-insurance.com"
Response
{
"id": "dock_01HQ3K...",
"name": "Acme Insurance",
"logoUrl": "https://storage.docyard.io/logos/dock_01HQ3K.../logo.png",
"primaryColor": "#003366",
"secondaryColor": "#e6f0ff",
"faviconUrl": null,
"customCss": ".portal-header { border-bottom: 2px solid #003366; }"
}
Error Handling
| Status | Condition |
|---|
404 | No dock found with a verified domain matching the query |
This endpoint only returns branding for docks with a verified domain. Unverified domains return 404.