---
title: "Upload the channel favicon"
method: POST
path: "/settings/channels/{id}/favicon"
tags: ["Admin Settings: Channels"]
---

# Upload the channel favicon

`POST /settings/channels/{id}/favicon`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/settings/channels/{id}/favicon`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/settings/channels/:id/favicon/post.ts> (a function with typed inputs; its response is checked against the schema)

Send multipart/form-data with `favicon` (bmp, jpeg, jpg, png, webp, ico). Replaces the current favicon. Optional `file_name` names the stored file. Returns the channel detail.

## Path parameters

- `id` integer, required

## Request body `multipart/form-data`

- object
  - `favicon` string, binary, required
  - `file_name` string

## Response `200`

Stored. Returns the channel detail.

## Other responses

- `400`: Invalid input
- `403`: Missing settings.channels.edit permission.
- `404`: Channel not found.
- `422`: Missing or invalid file.

## Changes

- **2026-10-28** `3198f11be70f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/settings/channels/:id/favicon/post.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
