# Branding

Update partner branding settings including logo, colors, and company name. These settings affect the white-labeled experience for your organizations.

## Update Branding

Update logo, primary and secondary colors, and company name. All fields are optional; only include fields you want to change.

**Request:**

```
PUT /partner/branding
```

**Body:**

```json
{
  "logoUrl": "https://example.com/logo.png",
  "primaryColor": "#0066cc",
  "secondaryColor": "#333333",
  "companyName": "Your Company Name"
}
```

| Field            | Type   | Description                                            |
| ---------------- | ------ | ------------------------------------------------------ |
| `logoUrl`        | string | URL to your logo image (used in dashboards and emails) |
| `primaryColor`   | string | Primary brand color (hex format, e.g., #0066cc)        |
| `secondaryColor` | string | Secondary brand color (hex format)                     |
| `companyName`    | string | Company name displayed to end users                    |

**Response:**

```json
{
  "partner": {
    "id": "uuid",
    "name": "Partner Name",
    "slug": "partner-slug",
    "logoUrl": "https://example.com/logo.png",
    "primaryColor": "#0066cc",
    "secondaryColor": "#333333",
    "companyName": "Your Company Name"
  }
}
```

**Example:**

```bash
curl -X PUT "https://api.app.bullseye.so/api/v1/partner/branding" \
  -H "X-Partner-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "logoUrl": "https://cdn.example.com/logo.png",
    "primaryColor": "#0066cc",
    "secondaryColor": "#333333",
    "companyName": "Acme Analytics"
  }'
```

***

## Branding Guidelines

* **Logo**: Use a high-resolution image (minimum 200x200px). PNG or SVG recommended. Ensure the URL is publicly accessible.
* **Colors**: Use hex format (#RRGGBB). Primary color is used for buttons, links, and accents. Secondary is used for text and backgrounds.
* **Company Name**: This appears in the white-labeled dashboard header, emails, and support references.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bullseye.so/partner-api/branding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
