---
title: "Upload the dark-mode favicon"
method: POST
path: "/accounts/favicon-dark"
tags: ["Branding"]
---

# Upload the dark-mode favicon

`POST /accounts/favicon-dark`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/favicon-dark`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/favicon-dark/post.ts> (a function with typed inputs; its response is checked against the schema)

Root and administrators. Sets the favicon shown in dark mode, from a file already uploaded to the account's profile-image storage. Accepted extensions match the light favicon. The stored name is reduced to URL-safe characters and prefixed `dark_`.

## Request body

- ImageKeyRequest
  - `key` string, required: Key of the uploaded file in the account's workspace storage

## Response `200`

Success

- object
  - `data` ImageKeyResponse, required
    - `key` string: Stored key

## Other responses

- `400`: Bad request
- `401`: Unauthorized

## Changes

- **2026-11-12** `700eb1ace61a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/favicon-dark/post.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
