Skip to main content
POST
/
api
/
v1
/
status-pages
Create status page
curl --request POST \
  --url https://app.larm.dev/api/v1/status-pages \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "theme": "<string>",
  "primary_color": "<string>",
  "logo_light_url": "<string>",
  "logo_dark_url": "<string>",
  "show_theme_switcher": true,
  "enabled": true,
  "subscribers_enabled": true
}
'
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Acme Status",
    "slug": "acme",
    "description": "Current status of Acme services",
    "theme": "system",
    "primary_color": null,
    "enabled": true,
    "subscribers_enabled": false,
    "custom_domain": null,
    "domain_status": "none",
    "logo_light_url": null,
    "logo_dark_url": null,
    "url": "https://acme.status.larm.dev",
    "components": [],
    "inserted_at": "2025-03-01T12:00:00Z",
    "updated_at": "2025-03-01T12:00:00Z"
  }
}
Requires status_pages:read_write permission. Creates the page itself. To add components and groups, use the Components and Component groups endpoints, or replace the entire structure in one call with PUT structure.
name
string
required
Page name (1–255 characters)
slug
string
required
URL identifier (3–63 characters, lowercase alphanumeric and hyphens; cannot start or end with a hyphen)
description
string
Brief description (up to 1000 characters)
theme
string
default:"system"
system, light, or dark
primary_color
string
Brand color in hex format (e.g. #4F46E5)
logo_light_url
string
URL of the logo to use on light backgrounds
logo_dark_url
string
URL of the logo to use on dark backgrounds
show_theme_switcher
boolean
default:false
Show a light/dark theme switcher on the public page
enabled
boolean
default:false
Whether the page is publicly visible
subscribers_enabled
boolean
default:false
Allow email subscriptions
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Acme Status",
    "slug": "acme",
    "description": "Current status of Acme services",
    "theme": "system",
    "primary_color": null,
    "enabled": true,
    "subscribers_enabled": false,
    "custom_domain": null,
    "domain_status": "none",
    "logo_light_url": null,
    "logo_dark_url": null,
    "url": "https://acme.status.larm.dev",
    "components": [],
    "inserted_at": "2025-03-01T12:00:00Z",
    "updated_at": "2025-03-01T12:00:00Z"
  }
}