---
title: "Create a status page (unpublished)"
method: POST
path: "/status-pages"
tags: ["Status Page"]
---

# Create a status page (unpublished)

`POST /status-pages`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/status-pages`
- Auth: HTTP bearer

Its components may come from several projects; the caller needs
`status_page:create` on every one of them.

## Request body

- CreateStatusPageRequest
  - `appearance` StatusPageAppearanceInput, nullable: Changes to how a public page looks. Every field is optional: omit it to keep the current value. For the text fields an empty string clears it.
    - `accent_color` string, nullable: Brand color as `#rrggbb`, used for the header and links.
    - `logo_url` string, nullable: `https://` URL of a logo shown in the header instead of the title.
    - `show_response_times` boolean, nullable: Show average response times (per day on hover, and a 90-day trend).
    - `show_uptime_percentage` boolean, nullable: Show uptime percentages next to the daily bars.
    - `theme` 'auto' | 'light' | 'dark', nullable: Color scheme of a public page.
    - `website_url` string, nullable: `https://` URL of your site, linked from the header.
  - `description` string, nullable: Optional short text shown under the title.
  - `monitors` StatusPageMonitorInput[], required: Monitors to show, in display order; at least one. They may come from several projects: the page is authorized against all of them.
    - `display_name` string, required: Public name shown instead of the monitor's internal name, e.g. "API".
    - `group_name` string, nullable: Public name of the group to show the component in, e.g. "Temps Cloud". Components with the same group name are shown together, in the position of the group's first component. Omit (or send an empty string) to show it on its own.
    - `monitor_id` integer, required
  - `title` string, required: Public page title, e.g. "Acme status".

## Response `201`

Status page created, not yet published

- StatusPageResponse
  - `appearance` StatusPageAppearance, required: How a public page looks, as stored.
    - `accent_color` string, nullable
    - `logo_url` string, nullable
    - `show_response_times` boolean, required
    - `show_uptime_percentage` boolean, required
    - `theme` 'auto' | 'light' | 'dark', required: Color scheme of a public page.
    - `website_url` string, nullable
  - `created_at` string, date-time, required
  - `description` string, nullable
  - `has_password` boolean, required: Visitors need a password to read the page (ADR 108 D2). The password itself is never returned.
  - `id` integer, required
  - `is_published` boolean, required
  - `monitors` StatusPageMonitorResponse[], required
    - `display_name` string, required: The name shown on the public page.
    - `environment_id` integer, nullable: Environment the monitor checks, `None` for a project-level monitor.
    - `environment_name` string, nullable
    - `group_name` string, nullable: Group the component is shown in, `None` when on its own.
    - `monitor_id` integer, required
    - `monitor_name` string, required: The monitor's internal name. Shown to project members only; never published.
    - `position` integer, required
    - `project_id` integer, required: Project the monitor belongs to.
    - `project_name` string, required
  - `projects` StatusPageProject[], required: Projects the page's components belong to, by name. Managing the page needs the matching permission on every one of them.
    - `id` integer, required
    - `name` string, required
    - `slug` string, required
  - `public_feed_url` string, nullable: Atom feed of the page's public updates. `None` when `public_url` is, or while the page is password-protected (it has no feed then).
  - `public_json_path` string, required: Path of the machine-readable form (`/api/status/{slug}/summary.json`); always present, like `public_path`.
  - `public_json_url` string, nullable: Machine-readable form of the public page. `None` exactly when `public_url` is.
  - `public_path` string, required: Path of the public HTML page (`/api/status/{slug}`), on any address this install's public listener is reachable at. Always present, so a client can build the link itself when `public_url` is `None` because no public URL is configured.
  - `public_url` string, nullable: Public HTML page. Serves 404 while the page is unpublished. `None` when this install has no public address to build it from; see `public_url_status` for why and where to fix it. Temps never invents a host for it.
  - `public_url_status` PublicUrlStatus, required: Whether `public_url` exists, and if not (or if it will not open from outside this network) what to do about it.
    - `configured` boolean, required: `true` when `public_url` is present on the page.
    - `reason` string, nullable: Why there is no public URL, or why the one there will not open from outside this network (for example a loopback address). `None` when nothing is known to be wrong.
    - `setup_path` string, nullable: Console path where the operator sets it. Present whenever `reason` is.
  - `published_at` string, date-time, nullable
  - `slug` string, required: Unguessable token in the public URL.
  - `title` string, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid request, no components, or a monitor that does not exist
- `401`: Unauthorized
- `403`: Insufficient permissions on a project of a selected monitor
- `409`: The instance already has the maximum number of status pages
- `500`: Internal server error

## Changes

- **2026-11-25** `cd6cbc9c9868`: 1 breaking, 2 info
  - the `monitors` request property's minItems was increased to `1`
  - added the required property `public_json_path` to the response with the `201` status
  - added the required property `public_path` to the response with the `201` status
- **2026-11-21** `d57a37c13a27`: 2 info
  - added the optional property `public_feed_url` to the response with the `201` status
  - added the required property `has_password` to the response with the `201` status
- **2026-10-30** `f6acc7f7403e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/status-pages/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
