---
title: "List the sections of a theme"
method: GET
path: "/appearance/themes/{code}/sections"
tags: ["Admin Appearance: Sections"]
---

# List the sections of a theme

`GET /appearance/themes/{code}/sections`

## Request

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

Sections of the given theme for one channel, in render order with footer links pinned last. Scope with `?channel=` and `?locale=`; both fall back the way the appearance editor does.

## Path parameters

- `code` string, required

## Query parameters

- `channel` integer
- `locale` string

## Response `200`

Sections of the theme.

## Other responses

- `404`: Theme not installed.

## Changes

- **2026-08-26** `a34d6835b19b`: 1 info
  - endpoint added

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