---
title: "Get a theme"
method: GET
path: "/appearance/themes/{code}"
tags: ["Admin Appearance: Themes"]
---

# Get a theme

`GET /appearance/themes/{code}`

## Request

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

Get a theme

## Path parameters

- `code` string, required

## Response `200`

The theme.

## Other responses

- `404`: Theme not found.

## Changes

- **2026-09-09** `2e6fdf8f57c9`: 1 breaking
  - removed the media type `text/html` for the response with the status `200`
- **2026-08-26** `a34d6835b19b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/appearance/themes/:code/get.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)
