---
title: "Stream an uploaded white-label webmail branding image asset"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.hostedez.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Hosted EZ REST API

`GET /v1/email/domains/{id}/branding/assets/{kind}`

## Authentication

- `sessionCookie`, apiKey, in cookie

## Path parameters

- `getEmailBrandingAsset.path.id` (string, required) — Email domain ID (emd_...).
- `getEmailBrandingAsset.path.kind` (string, required) — Branding asset kind: logo, logo_dark, favicon, or login_bg.
  - one of `"logo"`, `"logo_dark"`, `"favicon"`, `"login_bg"`

## Code samples

### cURL

```curl
curl --request GET \
  --url https://api.hostedez.com/v1/email/domains/string/branding/assets/logo \
  --header '__Secure-better-auth.session_token: <value>'
```

### TypeScript

```typescript
const url = 'https://api.hostedez.com/v1/email/domains/string/branding/assets/logo';
const options = {method: 'GET', headers: {'__Secure-better-auth.session_token': '<value>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.hostedez.com/v1/email/domains/string/branding/assets/logo"

headers = {"__Secure-better-auth.session_token": "<value>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Raw image asset bytes

### 401

Unauthenticated

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string"
  }
}
```

- `getEmailBrandingAsset.response.401.error` (object, required)
  - `getEmailBrandingAsset.response.401.error.code` (string, required)
  - `getEmailBrandingAsset.response.401.error.message` (string, required)
  - `getEmailBrandingAsset.response.401.error.issues` (array<object>, optional)
    - `getEmailBrandingAsset.response.401.error.issues.message` (string, required)
    - `getEmailBrandingAsset.response.401.error.issues.path` (string, required)

### 404

Branding asset not found

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string"
  }
}
```

- `getEmailBrandingAsset.response.404.error` (object, required)
  - `getEmailBrandingAsset.response.404.error.code` (string, required)
  - `getEmailBrandingAsset.response.404.error.message` (string, required)
  - `getEmailBrandingAsset.response.404.error.issues` (array<object>, optional)
    - `getEmailBrandingAsset.response.404.error.issues.message` (string, required)
    - `getEmailBrandingAsset.response.404.error.issues.path` (string, required)


Source: https://docs.hostedez.com/api/getEmailBrandingAsset/index.md
