---
title: "show details for a page"
method: GET
path: "/api/pages/{id}"
tags: ["pages"]
---

# show details for a page

`GET /api/pages/{id}`

Retrieve details for a single Page object specified by ID.

## Path parameters

- `id` integer, required

## Response `200`

successful

- Page — Representation of a page object
  - `title` string, required — Title of the page
  - `slug` string, required — Used to link to this page in URLs, must be unique and URL-safe
  - `description` string, required — For internal use, helps similar pages from one another
  - `body_markdown` string, nullable — The text (in markdown) of the ad (required)
  - `body_json` string, nullable — For JSON pages, the JSON body
  - `is_top_level_path` boolean — If true, the page is available at '/{slug}' instead of '/page/{slug}', use with caution
  - `social_image` object, nullable
  - `template` 'contained' | 'full_within_layout' | 'nav_bar_included' | 'json' | 'css' | 'txt', required — Controls what kind of layout the page is rendered in

## Changes

> 59 revisions in range; 8 could not be searched.

- **2026-03-03** (v1) `c9e7662755c2` — 2 warning
  - added the new `css` enum value to the `template` response property for the response status `200`
  - added the new `txt` enum value to the `template` response property for the response status `200`
- **2023-01-25** (v1) `637471fbe1bd` — 1 info
  - endpoint added
- **2023-01-10** (v1) `754f8b25f815` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/forem/apis/forem-api-v1/changes/api/pages/:id/get.md)

---

[API](https://skmtc.dev/forem/apis/forem-api-v1.md) · [All operations](https://skmtc.dev/forem/apis/forem-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/forem/forem-api-v1/revisions/1f64f71fc2a7/schema)
